/* ===================================
   FLIGHT CARDS STYLES
   =================================== */
.vro-flight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.vro-flight-card {
    background: #F9FAFB;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vro-flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.vro-flight-card-header {
    background: linear-gradient(135deg, #1AA3FF, #0d47a1);
    color: white;
    padding: 15px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vro-flight-airline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.vro-flight-airline-logo-container {
    width: 70px;
    height: 45px;
    background: white;
    border-radius: 6px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vro-flight-airline-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vro-flight-airline-info {
    flex: 1;
}

.vro-flight-information {
    font-size: 0.85em;
    opacity: 0.9;
}



.vro-flight-airline-name {   
    color: #fff !important;
    margin: 0;
}

.vro-flight-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 8px;
    border-radius: 100px;

    font-weight: 500;
    font-size: 15px;

}

.vro-flight-type.transit {
    background: #ff9800;
    color: white;
}

.vro-flight-type.langsung {
    background: #1AA3FF;
    color: white;
}

.vro-flight-route {
    padding: 15px;
}

.vro-route-simple {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

.vro-route-airport {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vro-route-airport:first-child {
    align-items: flex-start;
    text-align: left;
}

.vro-route-airport:last-child {
    align-items: flex-end;
    text-align: right;
}

.vro-airport-code {
    font-size: 1.2em;
    font-weight: 700;
    color: #111827;
}

.vro-airport-name {
    font-size: 0.8em;
    color: #9CA3AF;
    white-space: nowrap;
}

.vro-route-separator {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.vro-route-dash {
    height: 1px;
    background: transparent;
    border-top: 1px dashed #c2c2c2;
    flex: 1;
    margin: 0 5px;
}

/* Ikon pesawat sudah dihapus */

.vro-flight-duration {
    text-align: center;
    font-size: 0.8em;
    color: #9CA3AF;
    margin: 10px 0;
    padding: 5px 0;
    border-top: 1px dashed #e0e0e0;
    border-bottom: 1px dashed #e0e0e0;
}

.vro-flight-footer {
    background: #F9FAFB;
    padding: 15px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #ddd;
}

.vro-ticket-status {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vro-ticket-status i {
    font-size: 12px;
}

.vro-ticket-confirmed {
    color: #1AA3FF;
}

.vro-ticket-tentative {
    color: #9CA3AF;
}

.vro-flight-date {
    font-size: 12px;
    color: #9CA3AF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vro-flight-cards {
        grid-template-columns: 1fr;
    }
    .vro-route-simple {
        /* Tetap horizontal di mobile */
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 8px 0;
    }
    .vro-route-airport {
        width: auto;
        align-items: center !important;
        text-align: center !important;
    }
    .vro-route-separator {
        width: auto;
        padding: 0 5px;
    }
}
