/**
 * Nav & Pilots - Styles page aérodrome
 * NAVS Dark Theme
 */

.airport-page {
    overflow-y: auto;
    background: var(--background-dark);
    color: var(--text-light);
}

.airport-page header {
    position: relative;
}

/* Header Layout */
.airport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-spacer {
    flex: 1;
}

/* Auth Menu */
.auth-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
}

.auth-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.auth-link.auth-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
}

.auth-link.auth-btn:hover {
    background: white;
    color: #1e3c72;
}

/* Hero Section - White Background */
.airport-hero {
    background: white;
    color: #333;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #2a5298;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.airport-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-dark);
    font-weight: 700;
}

.code-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.code-badge.icao {
    background: #e3f2fd;
    border: 2px solid #2a5298;
    color: #2a5298;
}

.code-badge.iata {
    background: #f5f5f5;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.airport-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    color: #666;
}

.meta-item {
    opacity: 0.9;
}

/* ========================================
   QUICK ACTIONS BANDEAU
   ======================================== */

.quick-actions-bandeau {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.quick-actions-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #2a5298;
    background: #2a5298;
    color: white;
}

.action-label {
    letter-spacing: 0.01em;
    font-weight: 500;
}

/* Specific button colors on hover */
.quick-action-btn.metar-btn:hover {
    background: #28a745;
    border-color: #28a745;
}

.quick-action-btn.taf-btn:hover {
    background: #17a2b8;
    border-color: #17a2b8;
}

.quick-action-btn.vac-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.quick-action-btn.notam-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* NOTAM content container */
#notam-content {
    background: white;
    border-top: 2px solid #dc3545;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .quick-actions-bandeau {
        padding: 0.75rem 0;
    }

    .quick-actions-grid {
        gap: 0.5rem;
    }

    .quick-action-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Airport Content */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.airport-content-full {
    max-width: 100%;
}

.main-column {
    min-width: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/* Additional info section (below main content) */
.airport-additional-info {
    margin-top: 2rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.info-card {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.info-card:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.section-title {
    font-size: 1.1rem;
    color: #2a5298;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ========================================
   ESSENTIAL INFO GRID
   ======================================== */

.essential-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.essential-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #2a5298;
    border-radius: 6px;
    padding: 1rem;
    transition: all 0.3s;
    position: relative;
}

.essential-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left-color: #1e3c72;
    border-color: #2a5298;
    background: white;
}

.essential-card-wide {
    grid-column: span 2;
}

.essential-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    font-weight: 600;
    display: block;
}

.essential-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.25rem;
    display: block;
}

.essential-detail {
    font-size: 0.85rem;
    color: #666;
    display: block;
}

.essential-coords {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
}

.copy-coords-btn {
    margin-top: 0.6rem;
    padding: 0.4rem 0.9rem;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.copy-coords-btn:hover {
    background: #1e3c72;
    transform: translateY(-2px);
}

.copy-coords-btn:active {
    transform: translateY(0);
}

/* Weather Section (kept for legacy) */
.weather-grid {
    display: grid;
    gap: 1.5rem;
}

.weather-box {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
}

.weather-box h3 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metar-raw, .taf-raw {
    font-family: 'Courier New', monospace;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Runways */
.runways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.runway-card {
    background: #f8f9fa;
    padding: 0.9rem;
    border-radius: 6px;
    border-top: 3px solid #2a5298;
    border: 1px solid #e0e0e0;
}

.runway-designation {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2a5298;
    margin-bottom: 0.65rem;
    text-align: center;
    font-family: var(--font-mono);
}

.runway-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.runway-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.runway-detail:last-child {
    border-bottom: none;
}

.runway-detail .label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.85rem;
}

.runway-detail .value {
    color: #333;
    font-size: 0.9rem;
}

/* Frequencies */
.frequencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.freq-item {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 0.9rem;
    border-radius: 6px;
    text-align: center;
}

.freq-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.freq-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a5298;
    font-family: var(--font-mono);
}

/* Map */
.coordinates {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

/* Sidebar */
.sidebar .info-card {
    position: sticky;
    top: 100px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text {
    line-height: 1.5;
    color: #333;
    font-size: 0.9rem;
}

.info-text small {
    color: #666;
    font-size: 0.8rem;
}

.link-btn {
    display: block;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
}

.link-btn:hover {
    background: #2a5298;
    color: white;
    border-color: #2a5298;
    transform: translateX(4px);
}

.contact-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-item a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.alert-card {
    border-left: 3px solid #ff9800;
    background: #fff8f0;
}

.alert-text {
    color: #c65100;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar .info-card {
        position: static;
    }

    .airport-title {
        font-size: 1.8rem;
    }

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

    .auth-menu {
        gap: 0.5rem;
    }

    .auth-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .airport-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .auth-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   WEATHER VISUALIZATION STYLES
   ======================================== */

/* Weather raw section */
.weather-raw-section {
    margin-bottom: 1.5rem;
}

.weather-raw-section h4 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 0.75rem;
}

.metar-raw, .taf-raw {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    border-left: 4px solid #2a5298;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.weather-source {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Weather decoded section */
.weather-decoded-section {
    margin-top: 1.5rem;
}

.weather-decoded-section h4 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 0.75rem;
}

.weather-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.weather-metric-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.weather-metric-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.weather-metric-card.full-width {
    grid-column: 1 / -1;
    text-align: left;
}

.weather-metric-card.alert {
    border-color: #ffc107;
    background: #fff3cd;
}

/* Flight category colors */
.weather-metric-card.category-vfr {
    background: #d4edda;
    border-color: #28a745;
}

.weather-metric-card.category-mvfr {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.weather-metric-card.category-ifr {
    background: #fff3cd;
    border-color: #ffc107;
}

.weather-metric-card.category-lifr {
    background: #f8d7da;
    border-color: #dc3545;
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3c72;
}

.metric-value-large {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
}

.metric-detail {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* TAF Periods */
.taf-periods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.taf-period-card {
    background: #f8f9fa;
    border-left: 4px solid #2a5298;
    padding: 1rem;
    border-radius: 6px;
}

.period-time {
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.period-raw {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #555;
}

/* Resource Buttons */
.resource-btn {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.resource-btn:hover {
    background: #2a5298;
    color: white;
    transform: translateX(4px);
    border-color: #2a5298;
}

.resource-btn.metar-btn:hover {
    background: var(--vfr);
    color: white;
    border-color: var(--vfr);
}

.resource-btn.taf-btn:hover {
    background: var(--mvfr);
    color: white;
    border-color: var(--mvfr);
}

.resource-btn.external-btn:hover {
    background: var(--text-light);
    color: var(--accent-navy);
    border-color: var(--text-light);
}

/* No data / Error states */
.no-data {
    padding: 2rem;
    text-align: center;
    color: #666;
    background: #f8f9fa;
    border-radius: 6px;
    font-style: italic;
}

.error-message {
    padding: 1rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2a5298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive for weather cards */
@media (max-width: 768px) {
    .weather-metrics-grid {
        grid-template-columns: 1fr;
    }

    .metric-value {
        font-size: 1.2rem;
    }

    .metric-value-large {
        font-size: 1.5rem;
    }
}

/* ========================================
   FUEL PRICES STYLES
   ======================================== */

.fuel-prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.fuel-price-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s;
}

.fuel-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #2a5298;
}

.fuel-type {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fuel-price {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.fuel-update {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.fuel-badge {
    display: inline-block;
    background: #17a2b8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.fuel-notes {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.fuel-disclaimer {
    text-align: center;
    color: #856404;
    background: #fff3cd;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.fuel-types-list {
    padding: 1rem;
}

.fuel-types-list ul {
    list-style: none;
    padding-left: 0;
}

.fuel-types-list li {
    padding: 0.5rem;
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border-left: 4px solid #2a5298;
}

.no-data-text {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* Responsive for fuel cards */
@media (max-width: 768px) {
    .fuel-prices-grid {
        grid-template-columns: 1fr;
    }

    .fuel-price {
        font-size: 1.5rem;
    }
}

/* ========================================
   VAC LINKS STYLES
   ======================================== */

.vac-links-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.vac-link {
    display: block;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #1e3c72;
    transition: all 0.2s;
}

.vac-link:hover {
    background: #e3f2fd;
    border-color: #2a5298;
    transform: translateX(4px);
}

.vac-link small {
    color: #666;
    font-size: 0.85rem;
}

.vac-format {
    display: inline-block;
    background: #2a5298;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.vac-info {
    padding: 0.75rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    margin-bottom: 0.5rem;
}

.vac-note {
    padding: 0.5rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    border-top: 1px solid #dee2e6;
}

.resource-btn.vac-btn {
    cursor: pointer;
    user-select: none;
}

.resource-btn.vac-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
}

.resource-btn.notam-btn {
    cursor: pointer;
    user-select: none;
}

.resource-btn.notam-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* ========================================
   NOTAM STYLES
   ======================================== */

.notam-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.notam-header {
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.notam-card {
    background: white;
    border-left: 4px solid #dc3545;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.notam-card:last-of-type {
    margin-bottom: 0.5rem;
}

.notam-id {
    font-weight: 700;
    color: #dc3545;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.notam-validity {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.notam-text {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.notam-schedule {
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.notam-levels {
    font-size: 0.85rem;
    color: #495057;
}

.notam-empty {
    text-align: center;
    padding: 2rem;
    color: #28a745;
    font-weight: 600;
    font-size: 1.1rem;
}

.notam-note {
    text-align: center;
    padding: 0.5rem;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.notam-source {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #dee2e6;
}

/* Responsive for NOTAM */
@media (max-width: 768px) {
    .notam-card {
        padding: 0.75rem;
    }

    .notam-text {
        font-size: 0.85rem;
    }
}

/* ========================================
   NEARBY AIRPORTS STYLES
   ======================================== */

.nearby-airports-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nearby-airport-item {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.85rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.nearby-airport-item:hover {
    background: white;
    border-color: #2a5298;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nearby-header {
    margin-bottom: 0.5rem;
}

.nearby-code {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: #2a5298;
    display: inline-block;
    background: #e3f2fd;
    border: 1px solid #2a5298;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.nearby-name {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.nearby-distance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    flex-wrap: wrap;
}

.nearby-distance .distance {
    font-weight: 700;
    color: #2a5298;
}

.nearby-distance .bearing {
    font-family: var(--font-mono);
    font-weight: 600;
}

.nearby-distance .type-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e0e0e0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: capitalize;
}

/* Responsive for nearby airports */
@media (max-width: 768px) {
    .nearby-airport-item {
        padding: 0.75rem;
    }

    .nearby-distance {
        font-size: 0.8rem;
    }
}

/* Responsive for essential info */
@media (max-width: 768px) {
    .essential-info-grid {
        grid-template-columns: 1fr;
    }

    .essential-card-wide {
        grid-column: span 1;
    }

    .essential-value {
        font-size: 1.2rem;
    }
}
