.geo-code-controls {
    align-items: flex-end;
}

.airport-country-filter {
    position: relative;
}

.airport-country-filter label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.airport-country-combobox {
    position: relative;
    width: 260px;
}

.airport-country-combobox input {
    width: 100%;
    padding: 8px 34px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
}

.airport-country-combobox input:focus {
    border-color: var(--accent-primary, #3b82f6);
}

.airport-country-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.airport-country-clear:hover,
.airport-country-clear:focus {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.airport-country-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    padding: 4px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.airport-country-options[hidden],
.airport-country-clear[hidden],
.airport-country-option[hidden],
.airport-country-empty[hidden] {
    display: none;
}

.airport-country-option {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.airport-country-option:hover,
.airport-country-option.is-active,
.airport-country-option[aria-selected="true"] {
    background: var(--bg-secondary);
}

.airport-country-option[aria-selected="true"] {
    color: var(--accent-primary, #2563eb);
    font-weight: 700;
}

.airport-country-empty {
    padding: 10px;
    color: var(--text-muted);
    font-size: 13px;
}

.geo-code-table .col-code,
.geo-code-table .col-symbol,
.geo-code-table .col-status,
.geo-code-table .col-continent {
    width: 1%;
    white-space: nowrap;
}

.geo-code-table .col-code {
    min-width: 72px;
    font-variant-numeric: tabular-nums;
}

.geo-code-table .col-code strong,
.geo-code-table .col-currency strong,
.geo-code-table .col-currency-name strong,
.geo-code-table .col-countries strong {
    display: block;
    color: var(--text-primary);
}

.geo-code-table .col-currency,
.geo-code-table .col-currency-name,
.geo-code-table .col-countries,
.geo-code-table .col-alias {
    min-width: 220px;
}

.geo-code-table .col-currency span,
.geo-code-table .col-currency-name span,
.geo-code-table .col-countries span {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    max-width: 420px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.geo-code-table .col-alias {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    max-width: 420px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.geo-code-table .col-symbol {
    min-width: 70px;
    color: var(--text-primary);
    font-weight: 700;
}

.geo-code-table .col-status,
.geo-code-table .col-continent {
    color: var(--text-secondary);
}

.geo-code-table .col-number {
    min-width: 90px;
}

.currency-code-table .col-countries {
    min-width: 320px;
}

@media (max-width: 900px) {
    .geo-code-table .col-currency,
    .geo-code-table .col-currency-name,
    .geo-code-table .col-countries,
    .geo-code-table .col-alias {
        min-width: 180px;
    }

    .currency-code-table .col-countries {
        min-width: 260px;
    }
}

@media (max-width: 640px) {
    .airport-country-combobox {
        width: 100%;
    }
}
