.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 100px 0;
    color: white;
    margin-bottom: 3rem;
}

.search-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 1rem;
}

.select2-container {
    width: 100% !important;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 0.25rem rgba(42, 82, 152, 0.25);
}

.search-term-description {
    line-height: 1.6;
    color: #555;
    font-size: 1.05rem;
    text-align: justify;
}

.btn-primary {
    background-color: #2a5298;
    border-color: #2a5298;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background-color: #1e3c72;
    border-color: #1e3c72;
}

.select2-container--default .select2-selection--single {
    height: 50px;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

/* Error alert styling */
.alert {
    margin-top: 1rem;
    border-radius: 0.5rem;
    padding: 1rem;
}

/* Inline critical styles to ensure proper rendering */
.business-card {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-card {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.card-header {
    background-color: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
}

.related-term-link {
    display: inline-block;
    margin: 0.3rem 0.3rem 0.3rem 0;
    padding: 0.4rem 0.8rem;
    background-color: #f0f0f0;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
}

.business-rating {
    color: #ffc107;
    margin-bottom: 0.75rem;
}

.rating-stars {
    color: #ffc107;
}

.featured-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #212529;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Add a subtle highlight to featured businesses */
.business-card.featured {
    border-color: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

/* Styles for related businesses in sidebar */
.related-business {
    margin-bottom: 1rem;
}

.related-business-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-business-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
}