/* Airport Dashboard - Compact Design */

.airport-dashboard {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* CSS Grid for responsive layout */
.airport-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* Compact card style */
.airport-card-compact {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    padding: 14px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}

.airport-card-compact:hover {
    text-decoration: none;
}

/* Header row: name + IATA */
.airport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.airport-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.2;
}

.airport-iata {
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: #64748b;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Status pill with dot indicator */
.airport-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Metrics row */
.airport-metrics {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.airport-metrics .metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.airport-metrics .metric-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.airport-metrics .metric-value {
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
}

.airport-metrics .metric-value i {
    font-size: 11px;
    color: #64748b;
    margin-right: 3px;
}

/* View All button */
.airport-dashboard .btn-brand {
    background-color: #FF5231;
    color: white;
    border: none;
    font-size: 14px;
}

.airport-dashboard .btn-brand:hover {
    background-color: #e04527;
    color: white;
}

/* Responsive: tablet */
@media (max-width: 991px) {
    .airport-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive: mobile */
@media (max-width: 767px) {
    .airport-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .airport-card-compact {
        padding: 12px;
    }
    
    .airport-name {
        font-size: 13px;
    }
    
    .airport-status {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .airport-metrics .metric-value {
        font-size: 12px;
    }
    
    .airport-metrics .metric-label {
        font-size: 10px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .airport-grid {
        grid-template-columns: 1fr;
    }
    
    .airport-card-compact {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .airport-header {
        flex: 1;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .airport-status {
        margin-bottom: 0;
        padding: 4px 8px;
    }
    
    .airport-metrics {
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #e2e8f0;
    }
}
