/* =============================================================
   Page-specific styles for the car generation page
   (/cars/{brand}/{model}/{generation}).
   Extracted from views/cars/generation.php inline <style> block.
   ============================================================= */

.cars-generation-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px 0px;
}

/* Editorial reviews (pros / cons / summary) per modification */
.mod-reviews-section {
    margin: 20px 0;
}

.mod-reviews-section > h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.mod-review {
    padding: 16px;
    border: 1px solid #eceff3;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
}

.mod-review-title {
    font-size: 15px;
    font-weight: 600;
    color: #0b73fe;
    margin: 0 0 6px 0;
}

.mod-review-summary {
    margin: 0 0 12px 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.mod-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mod-review-col {
    border-radius: 10px;
    padding: 12px 14px;
}

.mod-review-col.pros {
    background: #f0f9f2;
    border: 1px solid #d6efdd;
}

.mod-review-col.cons {
    background: #fdf1f1;
    border: 1px solid #f6d9d9;
}

.mod-review-col .mrc-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.mod-review-col.pros .mrc-title {
    color: #1e874b;
}

.mod-review-col.cons .mrc-title {
    color: #c0392b;
}

.mod-review-col ul {
    margin: 0;
    padding-left: 18px;
}

.mod-review-col li {
    font-size: 14px;
    color: #3a4453;
    line-height: 1.5;
    margin-bottom: 3px;
}

@media (max-width: 640px) {
    .mod-review-grid {
        grid-template-columns: 1fr;
    }
    .mod-reviews-section {
        margin: 0;
    }
}

/* Column layout (.page-layout / .page-sidebar-left /
   .page-main / .page-sidebar-right) is defined in the
   shared /css/page-layout.css */

/* .page-sidebar-left column styles are defined in /css/page-layout.css */

.sidebar-section {
    /* background: white; */
    /* border: 1px solid #e8e8e8; */
    border-radius: 10px;
    /* padding: 12px; */
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b8b8b;
    margin: 0 0 16px 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: #f8f9fa;
    color: var(--brand_primary_500, #0c73fe);
    transform: translateX(2px);
}

.sidebar-back:hover {
    transform: translateX(-2px);
}

.sidebar-link i {
    font-size: 16px;
    color: #8b8b8b;
}

.sidebar-link:hover i {
    color: var(--brand_primary_500, #0c73fe);
}

/* Minimalist table of contents (right sidebar) */
.sidebar-toc .sidebar-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9aa1ab;
    margin: 0 0 10px 0;
}

.sidebar-toc .sidebar-nav {
    gap: 0;
    border-left: 2px solid #eceff3;
}

.sidebar-toc .sidebar-link {
    padding: 7px 0 7px 14px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    border-radius: 0;
    color: #5b6472;
    font-size: 14px;
}

.sidebar-toc .sidebar-link:hover,
.sidebar-toc .sidebar-link.active {
    background: transparent;
    color: #0b73fe;
    border-left-color: #0b73fe;
    transform: none;
}

.sidebar-toc .sidebar-link.active {
    font-weight: 600;
}

.sidebar-generations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-generation-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-generation-link:hover {
    background: #e8e8e8;
    transform: translateX(2px);
}

.sidebar-generation-link .gen-thumb {
    width: 60px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-generation-link .gen-info {
    flex: 1;
    min-width: 0;
}

.sidebar-generation-link .gen-name {
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-generation-link .gen-years {
    font-size: 12px;
    color: #8b8b8b;
}

.similar-models-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.similar-model-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.similar-model-item:hover {
    background: #e8e8e8;
    transform: translateX(2px);
}

.similar-model-thumb {
    width: 60px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.similar-model-info {
    flex: 1;
    min-width: 0;
}

.similar-model-name {
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-model-class {
    font-size: 11px;
    color: #8b8b8b;
}

.page-main {
    min-width: 0;
}

/* .page-sidebar-right column styles are defined in /css/page-layout.css */

.page-sidebar-right .sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
}

.page-sidebar-right .sidebar-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b8b8b;
    margin: 0 0 16px 0;
}

.generation-header {
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-back:hover {
    border-color: var(--brand_primary_500, #0c73fe);
    color: var(--brand_primary_500, #0c73fe);
    background: #f5f9ff;
}

.generation-detail-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 120px;
}

.generation-detail-content {
    padding: 20px;
}

.generation-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 8px;
}

.breadcrumb-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    color: #666;
    margin-bottom: 0;
}

.breadcrumb-link {
    color: var(--brand_primary_500, #0c73fe);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #0960d9;
    text-decoration: underline;
}

.breadcrumb-text i {
    font-size: 12px;
}

.generation-detail-content h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0px 0;
}

.generation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* padding: 20px 0; */
    /* border-bottom: 1px solid #e8e8e8; */
    /* margin-bottom: 30px; */
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-label i {
    font-size: 16px;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.production-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.production-badge i {
    font-size: 13px;
}

.generation-description-section {
    margin-bottom: 30px;
}

.generation-description-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.generation-description-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.no-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.no-description-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-height: 300px;
}

.no-description-image img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.no-description-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.no-description-text i {
    font-size: 24px;
    color: #6c757d;
}

.no-description-text p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.generation-specs {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.platform-info {
    margin-top: 40px;
    padding: 0;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.platform-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 20px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #e8e8e8;
}

.platform-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    padding: 20px 24px 16px;
}

.platform-description strong {
    color: var(--brand_primary_500, #0c73fe);
    font-weight: 600;
    font-size: 15px;
}

.shared-models {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 24px 24px;
}

.shared-model-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.2s ease;
    text-decoration: none;
}

.shared-model-badge:hover {
    background: white;
    border-color: var(--brand_primary_500, #0c73fe);
    color: var(--brand_primary_500, #0c73fe);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(12, 115, 254, 0.15);
    cursor: pointer;
}

.shared-model-badge .badge-image {
    width: 50px;
    height: 35px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
}

.shared-model-badge:hover .badge-image {
    border-color: var(--brand_primary_500, #0c73fe);
}

.shared-model-badge .badge-text {
    white-space: nowrap;
}

.generation-specs h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.spec-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.detailed-specifications {
    margin-top: 40px;
}

.detailed-specifications > h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

.specifications-table-wrapper {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table thead {
    background: #f8f9fa;
}

.specifications-table .category-header {
    padding: 16px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #e8e8e8;
    text-transform: none;
}

.specifications-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.specifications-table tbody tr:hover {
    background: #f8f9fa;
}

.specifications-table tbody tr:last-child {
    border-bottom: none;
}

.specifications-table td {
    padding: 12px 20px;
    vertical-align: middle;
}

.specifications-table .spec-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    width: 40%;
}

.specifications-table .spec-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
}

/* Modification specification categories (collapsible) */
.spec-category {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.spec-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.spec-category-title:hover {
    background: #e9ecef;
}

.spec-category-title i {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.spec-category.open .spec-category-title i {
    transform: rotate(90deg);
    color: var(--brand_primary_500, #0c73fe);
}

.spec-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.spec-category.open .spec-category-content {
    max-height: 2000px;
}

.specs-table {
    padding: 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:hover {
    background: #f8f9fa;
}

.spec-row-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.spec-row-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
}

.no-specifications {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    margin-top: 30px;
}

.no-specifications i {
    font-size: 24px;
    color: #856404;
}

.no-specifications p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

.modifications-section {
    margin-top: 40px;
}

.modifications-section > h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.modifications-table-wrapper {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.modifications-table {
    width: 100%;
    border-collapse: collapse;
}

.modifications-table thead {
    background: #f8f9fa;
}

.modifications-table th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: #8b8b8b;
    border-bottom: 2px solid #e8e8e8;
}

.modifications-table tbody tr.mod-row {
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.2s ease;
    cursor: pointer;
}

.modifications-table tbody tr.mod-row:hover {
    background: #f8f9fa;
}

.modifications-table td {
    padding: 16px;
    font-size: 14px;
    color: #2c3e50;
}

.modifications-table td.mod-name {
    font-weight: 500;
    color: #1a1a1a;
}

.modifications-table td.mod-engine {
    font-size: 13px;
    color: #666;
}

.modifications-table td.mod-engine .engine-code-badge {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 6px;
    display: inline-block;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.modifications-table td.mod-type {
    font-size: 13px;
    color: #666;
}

.modifications-table td.mod-engine .engine-code-link {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 6px;
    display: inline-block;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modifications-table td.mod-engine .engine-code-link:hover {
    background: var(--brand_primary_500, #0c73fe);
    color: white;
}

.modifications-table td.mod-power strong {
    color: var(--brand_primary_500, #0c73fe);
}

.modifications-table td.mod-power .text-muted {
    font-size: 12px;
    color: #8b8b8b;
    margin-left: 4px;
}

.modifications-table td.mod-toggle {
    width: 50px;
    text-align: center;
}

.btn-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #8b8b8b;
    transition: all 0.2s ease;
}

.btn-toggle:hover {
    color: var(--brand_primary_500, #0c73fe);
    transform: scale(1.1);
}

.btn-toggle i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-toggle.active i {
    transform: rotate(180deg);
}

.mod-details {
    background: #f8f9fa;
}

.mod-details td {
    padding: 0 !important;
}

.mod-details-content {
    padding: 24px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modifications-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.modification-tab {
    flex: 1;
    min-width: 200px;
    padding: 16px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.modification-tab:hover {
    border-color: var(--brand_primary_500, #0c73fe);
    box-shadow: 0 4px 12px rgba(12, 115, 254, 0.1);
}

.modification-tab.active {
    border-color: var(--brand_primary_500, #0c73fe);
    background: #f5f9ff;
}

.mod-tab-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.mod-tab-power {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand_primary_500, #0c73fe);
    margin-bottom: 4px;
}

.mod-tab-trans {
    font-size: 13px;
    color: #666;
}

.modification-content {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.modification-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.modification-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.modification-quick-specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.quick-spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
}

.quick-spec i {
    font-size: 16px;
    color: var(--brand_primary_500, #0c73fe);
}

@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-sidebar-left {
        position: static;
        order: 2;
    }

    .page-main {
        order: 1;
    }

    .generation-detail-content {
        padding: 30px 20px;
    }

    .generation-detail-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .page-sidebar-right {
        display: none;
    }
    
    .cars-generation-page {
        padding: 0px 0px;
    }

    .placeholder-image {
        font-size: 80px;
    }
    
    .no-description-image {
        min-height: 250px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .btn-back {
        width: 100%;
        justify-content: center;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .spec-row-value {
        text-align: left;
    }

    .specifications-table-wrapper {
        overflow-x: auto;
        border-radius: 8px;
    }
    
    .specifications-table {
        min-width: 600px;
    }
    
    .specifications-table .spec-label {
        font-size: 13px;
    }
    
    .specifications-table .spec-value {
        font-size: 13px;
    }
    
    .specifications-table td {
        padding: 10px 12px;
    }
    
    .specifications-table .category-header {
        padding: 12px;
        font-size: 14px;
    }

    .modifications-tabs {
        flex-direction: column;
    }

    .modification-tab {
        min-width: 100%;
    }

    .modifications-table-wrapper {
        overflow-x: auto;
    }
    
    .modifications-table {
        min-width: 600px;
    }
    
    .modifications-table th,
    .modifications-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .modifications-table td.mod-name {
        font-size: 12px;
    }
    
    .modifications-table td.mod-engine .engine-code {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Search Form Styles */
/* .search-form-section, .search-section, .search-form and .form-group
   are defined in the shared /css/search-form.css */

.form-group:has(#generation) {
    flex: 1;
    min-width: auto;
}

.form-input {
    width: 100%;
    height: 56px;
    padding: 6px 40px 8px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 15px;
    background: white;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #fa742d;
}

input#make {
    border-radius: 10px 0 0 10px;
}

input#generation {
    border-radius: 0 10px 10px 0;
}

.dropdown-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #666;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.form-group:has(.dropdown-list.active) .dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 4px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 12px;
    color: #fa742d;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.dropdown-list.active {
    display: block;
}

.dropdown-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.search-button {
    padding: 0px 32px;
    background: #fa742d;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 56px;
    white-space: nowrap;
}

.search-button:hover {
    background: #e8671f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 116, 45, 0.3);
}

.search-button .btn-icon {
    display: none;
}

@media (max-width: 768px) {
    .search-form {
        width: 100%;
        display: grid;
        grid-template-columns: 30% 30% 27% 10%;
        gap: 1%;
        justify-content: space-between;
    }

    .form-group {
        min-width: 0;
    }

    .form-input {
        height: 40px;
    }

    .form-label {
        top: 7px;
    }

    .search-button {
        margin-left: 0;
        width: auto;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .search-button .btn-text {
        display: none;
    }

    .search-button .btn-icon {
        display: block;
        width: 22px;
        height: 22px;
    }
}
