.airports-page {
    padding: 34px 0 46px;
    background: #f7f9fb;
}

.airports-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.airports-hero h1 {
    margin: 0;
    color: #101828;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.airports-hero p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #5f6b7a;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 15px;
    line-height: 24px;
}

.airports-count {
    min-width: 128px;
    padding: 14px 18px;
    border: 1px solid #d9e6f2;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.airports-count strong {
    display: block;
    color: #0b74c8;
    font-size: 24px;
    line-height: 1.1;
}

.airports-count span {
    color: #667085;
    font-size: 13px;
}

.airports-filter {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
}

.airports-filter-main {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px) auto;
    gap: 12px;
}

.airports-search-input,
.airports-select {
    width: 100%;
    height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 14px;
    color: #101828;
    background: #fff;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 14px;
}

.airports-country-picker {
    position: relative;
    min-width: 0;
}

.airports-country-button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 12px;
    color: #101828;
    background: #fff;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 14px;
    text-align: left;
}

.airports-country-button span[data-airports-country-label] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airports-country-button .ms-auto {
    margin-left: auto;
    color: #667085;
}

.airports-country-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 18px;
    color: #667085;
}

.airports-country-icon img,
.airports-country-option img {
    display: block;
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .08);
}

.airports-country-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(16, 24, 40, .16);
}

.airports-country-picker.is-open .airports-country-menu {
    display: block;
}

.airports-country-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    padding: 7px 8px;
    color: #1d2939;
    background: transparent;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 13px;
    text-align: left;
}

.airports-country-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airports-country-option:hover,
.airports-country-option.is-active {
    background: #f2f4f7;
}

.airports-submit {
    height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    background: #d90000;
    color: #fff;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.airports-filter-options {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: #475467;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 13px;
}

.airports-filter-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
}

.airports-filter-options a {
    color: #0b74c8;
    font-weight: 700;
}

.airports-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.airport-card {
    position: relative;
    overflow: hidden;
    min-height: 286px;
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(217, 0, 0, .055) 0%, rgba(255, 255, 255, 0) 34%),
        linear-gradient(315deg, rgba(11, 116, 200, .075) 0%, rgba(255, 255, 255, 0) 38%),
        #fff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.airport-card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #d90000 0%, #0b74c8 58%, #17a673 100%);
}

.airport-card:hover {
    border-color: #c8d8ea;
    box-shadow: 0 18px 38px rgba(16, 24, 40, .11);
    transform: translateY(-2px);
}

.airport-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.airport-code {
    color: #d90000;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.airport-icao {
    margin-top: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.airport-service {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.airport-service.is-on {
    background: #e7f7ef;
    color: #087443;
}

.airport-card h2 {
    min-height: 48px;
    margin: 0 0 14px;
    color: #101828;
    font-family: 'open_sans_new', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
}

.airport-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.airport-meta div {
    min-width: 0;
}

.airport-meta dt {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.airport-meta dd {
    margin: 3px 0 0;
    color: #1d2939;
    font-size: 13px;
    line-height: 19px;
    word-break: break-word;
}

.airport-country-flag {
    display: inline-block;
    margin-right: 6px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .08);
    vertical-align: -2px;
}

.airport-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.airport-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #344054;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.airports-empty,
.airports-source-note {
    padding: 20px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
}

.airports-empty h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.airports-empty p,
.airports-source-note {
    color: #667085;
    font-size: 14px;
    line-height: 22px;
}

.airports-pagination {
    margin: 28px 0;
}

@media (max-width: 991px) {
    .airports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .airports-filter-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .airports-hero {
        flex-direction: column;
    }

    .airports-count {
        width: 100%;
        text-align: left;
    }

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

    .airport-meta {
        grid-template-columns: 1fr;
    }
}

.ts-airports-hero {
    background: #f7f8fb;
    padding: 18px 0 2px;
}

.ts-airports-hero .ts-v2-dashboard-hero-copy,
.ts-airports-hero .ts-v2-dashboard-stat {
    border-color: #e7edf4 !important;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.055);
}

.ts-airports-hero .ts-v2-dashboard-hero-copy .card-body {
    min-height: 160px;
    padding: 20px !important;
}

.ts-airports-hero .ts-v2-dashboard-hero-copy h1 {
    font-size: 21px !important;
    line-height: 1.22;
}

.ts-airports-hero .ts-v2-dashboard-hero-copy p {
    max-width: 760px;
    font-size: 13px !important;
    line-height: 1.55;
}

.ts-airports-hero .ts-v2-dashboard-stat {
    min-height: 82px;
    padding: 13px !important;
}

.ts-airports-hero .ts-v2-dashboard-stat strong {
    font-size: 16px !important;
}

.ts-airports-hero .ts-v2-dashboard-stat span {
    font-size: 11px !important;
}

.ts-v2-airports-page {
    background: #f7f8fb;
    color: #667085;
    font-family: var(--ts-v2-readable-font, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif);
    font-synthesis-weight: none;
}

.ts-v2-airports-page * {
    letter-spacing: 0;
}

.ts-v2-airports-page > section {
    padding-top: 8px !important;
    padding-bottom: 42px !important;
}

.ts-v2-airports-page .ts-v2-dashboard-card {
    border-color: #e7edf4 !important;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.055);
}

.ts-v2-airports-page .ts-v2-filter-panel {
    overflow: hidden;
    margin-bottom: 18px !important;
    background: #fff;
}

.ts-v2-airports-page .ts-v2-filter-panel .card-header {
    padding: 12px 16px !important;
    background: #fff !important;
}

.ts-v2-airports-page .ts-v2-filter-panel .icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px !important;
    font-size: 18px;
}

.ts-v2-airports-page .ts-v2-filter-panel h2 {
    margin: 0;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.25;
}

.ts-v2-airports-page .ts-v2-filter-panel p {
    max-width: 780px;
    margin-top: 4px;
    font-size: 12px !important;
    line-height: 1.5;
}

.ts-v2-airports-page .ts-v2-filter-panel .card-body {
    padding: 16px !important;
}

.ts-v2-airports-page .form-label {
    margin-bottom: 6px;
    color: #475467;
    font-size: 12px !important;
    font-weight: 700;
}

.ts-v2-airports-page .form-control,
.ts-v2-airports-page .form-select,
.ts-v2-airports-page .input-group-text {
    min-height: 42px;
    border-color: #dbe3ed;
    color: #101828;
    font-size: 13px !important;
    box-shadow: none;
}

.ts-v2-airports-page .form-control:focus,
.ts-v2-airports-page .form-select:focus {
    border-color: rgba(180, 83, 9, 0.45);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

.ts-v2-airports-page .input-group-text {
    background: #f8fafc;
    color: #8a3b07;
}

.ts-v2-airports-page .btn-primary {
    min-height: 42px;
    font-weight: 700;
}

.ts-v2-airports-page .form-switch {
    min-height: 32px;
    padding: 7px 11px 7px 42px;
    border: 1px solid #edf1f5;
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
    font-size: 12px !important;
    font-weight: 600;
}

.ts-v2-airports-page .form-switch .form-check-input {
    margin-left: -31px;
    margin-top: 2px;
}

.ts-v2-airports-page .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.ts-v2-airports-page .ts-v2-airport-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ts-v2-airports-page .ts-v2-airport-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #b45309 0%, #0f766e 52%, #2163e8 100%);
    content: "";
}

.ts-v2-airports-page .ts-v2-airport-card:hover {
    border-color: #d5dde8 !important;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.09);
    transform: translateY(-2px);
}

.ts-v2-airports-page .ts-v2-airport-card .card-body {
    display: flex;
    min-height: 232px;
    flex-direction: column;
    padding: 14px !important;
}

.ts-v2-airports-page .ts-v2-airport-card .card-body > .d-flex.align-items-start {
    margin-bottom: 10px !important;
}

.ts-v2-airports-page .ts-v2-airport-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 44px;
    padding: 0 9px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-family: var(--ts-v2-readable-font, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif);
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1;
}

.ts-v2-airports-page .ts-v2-airport-card .badge {
    max-width: 140px;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 10px !important;
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
}

.ts-v2-airports-page .ts-v2-airport-card h2 {
    display: -webkit-box;
    min-height: 36px;
    margin-bottom: 10px !important;
    overflow: hidden;
    color: #111827;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ts-v2-airports-page .ts-v2-airport-meta {
    display: grid;
    gap: 6px;
    margin-bottom: 10px !important;
}

.ts-v2-airports-page .ts-v2-airport-meta li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #f8fafc;
    color: #475467;
    font-size: 12px !important;
    line-height: 1.35;
}

.ts-v2-airports-page .ts-v2-airport-meta svg {
    color: #8a3b07;
    font-size: 15px;
}

.ts-v2-airports-page .ts-v2-airport-meta span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ts-v2-airports-page .ts-v2-airport-meta img {
    flex: 0 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.1);
}

.ts-v2-airports-page .ts-v2-airport-card .d-flex.flex-wrap.gap-2 {
    margin-top: auto;
    padding-top: 0;
}

.ts-v2-airports-page .ts-v2-airport-card .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px !important;
    font-weight: 700;
}

.ts-v2-airports-page .btn-primary-soft {
    border-color: transparent;
    background: rgba(180, 83, 9, 0.1);
    color: #9a3412;
}

.ts-v2-airports-page .btn-primary-soft:hover,
.ts-v2-airports-page .btn-primary-soft:focus {
    background: #b45309;
    color: #fff;
}

.ts-v2-airports-page .ts-v2-pagination .pagination {
    gap: 5px;
}

.ts-v2-airports-page .ts-v2-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 11px;
    border-color: #e1e7ef;
    border-radius: 999px !important;
    color: #475467;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
}

.ts-v2-airports-page .ts-v2-pagination .page-item.active .page-link {
    min-width: 36px;
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .ts-airports-hero .ts-v2-dashboard-hero-copy .card-body {
        min-height: 0;
    }

    .ts-v2-airports-page .ts-v2-airport-card .card-body {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .ts-airports-hero {
        padding-top: 12px;
    }

    .ts-airports-hero .ts-v2-dashboard-hero-copy h1 {
        font-size: 20px !important;
    }

    .ts-v2-airports-page > section {
        padding-top: 8px !important;
    }

    .ts-v2-airports-page .ts-v2-filter-panel .card-header,
    .ts-v2-airports-page .ts-v2-filter-panel .card-body,
    .ts-v2-airports-page .ts-v2-airport-card .card-body {
        padding: 14px !important;
    }

    .ts-v2-airports-page .ts-v2-airport-card h2 {
        min-height: 0;
    }

    .ts-v2-airports-page .ts-v2-airport-meta span {
        white-space: normal;
    }
}
