/* =============================================
   RESERVATION RESULTS - VipTime Design
   ============================================= */

/* Direction Card Container */
.vt-direction-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

/* Direction Headers (1. YÖN / 2. YÖN) */
.vt-direction-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-left: 4px solid var(--primary, #0891b2) !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 1.15rem 1.35rem !important;
    border-radius: 12px 12px 0 0 !important;
}

.vt-direction-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.vt-direction-title i {
    color: var(--primary, #0891b2);
    font-size: 1.15rem;
}

.vt-direction-route {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.vt-direction-route i {
    color: var(--primary, #0891b2);
}

.vt-direction-meta {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: #94a3b8;
    margin-top: .35rem;
}

.vt-direction-meta i {
    color: var(--primary, #0891b2);
    margin-right: .25rem;
}

/* Vehicle Card - Override Bootstrap list-group-item */
.vt-vehicle-card.list-group-item {
    background: #fff;
    border-radius: 0 !important;
    padding: 1.25rem 1.5rem;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    transition: transform .2s, box-shadow .25s, background .2s;
    position: relative;
    overflow: visible;
}

.vt-vehicle-card.list-group-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px !important;
}

.vt-vehicle-card.list-group-item:hover {
    transform: translateX(4px);
    background: #f8fafc;
    box-shadow: inset 4px 0 0 var(--primary, #0891b2);
}

/* Vehicle Type Badge (AracTipiAdi) */
.vt-vehicle-badge {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 16px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: .65rem;
}

.vt-vehicle-badge.standard {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
}

.vt-vehicle-badge.vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.vt-vehicle-badge.minibus {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
}

.vt-vehicle-badge.vip-minibus {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #fff;
}

/* Vehicle Header (Badge + Transfer Type Name side by side) */
.vt-vehicle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .65rem;
    flex-wrap: wrap;
    gap: .5rem;
}

.vt-vehicle-header .vt-vehicle-badge {
    margin-bottom: 0;
}

.vt-vehicle-name {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* =============================================
   Vehicle Content - 2 Column Grid
   Left:  [Image] + [Details]
   Right: [Price + Button] (spans both rows)
   ============================================= */
.vt-vehicle-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: .5rem 1.5rem;
    align-items: start;
}

/* Col 1, Row 1: Vehicle Image */
.vt-vehicle-img {
    grid-column: 1;
    grid-row: 1;
    width: 140px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 10px;
    padding: .5rem;
}

.vt-vehicle-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .08));
}

/* Col 1, Row 2: Vehicle Details (time, capacity) */
.vt-vehicle-details {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem .75rem;
    align-items: center;
    min-width: 0;
}

.vt-vehicle-time-item {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    font-size: .78rem;
}

.vt-vehicle-time-item i {
    color: var(--primary, #0891b2);
    font-size: .95rem;
    margin-top: .1rem;
}

.vt-time-label {
    color: #94a3b8;
    font-size: .7rem;
    line-height: 1.2;
}

.vt-time-value {
    color: #1e293b;
    font-weight: 600;
    font-size: .8rem;
    line-height: 1.2;
}

.vt-vehicle-stat {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: #64748b;
}

.vt-vehicle-stat i {
    font-size: 1rem;
    color: var(--primary, #0891b2);
}

.vt-vehicle-stat strong {
    color: #1e293b;
    font-weight: 600;
}

/* Col 2, Row 1-2: Vehicle Action (Price + Button) */
.vt-vehicle-action {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: .85rem;
    padding-left: 1.5rem;
    border-left: 1px solid #e2e8f0;
    height: 100%;
}

.vt-vehicle-price {
    text-align: right;
}

.vt-vehicle-price-label {
    font-size: .72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: .25rem;
}

.vt-vehicle-price-amount {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary, #0891b2);
    line-height: 1;
}

.vt-vehicle-price-currency {
    font-size: .83rem;
    color: #64748b;
    font-weight: 600;
    margin-left: .25rem;
}

.vt-vehicle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.6rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary, #0891b2), var(--secondary, #0e7490));
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .25s;
    white-space: nowrap;
}

.vt-vehicle-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, .3);
}

.vt-vehicle-btn i {
    margin-left: .4rem;
    transition: transform .2s;
}

.vt-vehicle-btn:hover i {
    transform: translateX(3px);
}

/* Action Buttons (Düzenle, Rota Göster) */
.vt-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: .85rem 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
}

.vt-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1rem;
    border: 2px solid var(--primary, #0891b2);
    border-radius: 7px;
    background: #fff;
    color: var(--primary, #0891b2);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.vt-action-btn:hover {
    background: var(--primary, #0891b2);
    color: #fff;
}

.vt-action-btn i {
    font-size: .9rem;
}

/* Empty State */
.vt-empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.vt-empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.vt-empty-text {
    color: #94a3b8;
    margin: 0;
}

/* Continue / Complete Purchase Section */
.vt-continue-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--primary, #0891b2);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin-top: 1rem;
}

.vt-continue-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vt-continue-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vt-continue-text {
    font-size: .9rem;
    color: #475569;
    margin: 0;
    font-weight: 500;
}

.vt-continue-price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.vt-continue-price-label {
    font-size: .85rem;
    color: #64748b;
    font-weight: 600;
}

.vt-continue-price-amount {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary, #0891b2);
    line-height: 1;
}

.vt-continue-price-currency {
    font-size: .9rem;
    color: #64748b;
    font-weight: 600;
}

.vt-continue-btn {
    padding: .85rem 2rem !important;
    font-size: .95rem !important;
}

/* =============================================
   Responsive - Tablet
   ============================================= */
@media (max-width: 991.98px) {
    .vt-vehicle-content {
        grid-template-columns: 1fr auto;
        gap: .5rem 1rem;
    }

    .vt-vehicle-img {
        width: 120px;
        height: 80px;
    }

    .vt-vehicle-action {
        padding-left: 1rem;
    }

    .vt-vehicle-btn {
        padding: .7rem 1.35rem;
    }
}

/* =============================================
   Responsive - Mobile
   ============================================= */
@media (max-width: 767.98px) {
    .vt-direction-card {
        min-height: auto;
    }

    .vt-direction-title {
        font-size: 1.08rem;
    }

    .vt-vehicle-card.list-group-item {
        padding: 1.15rem 1.25rem;
    }

    .vt-vehicle-badge {
        position: static;
        margin-bottom: .8rem;
        display: inline-block;
    }

    .vt-vehicle-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: .75rem;
    }

    .vt-vehicle-img {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        max-width: 160px;
        height: 85px;
        margin: 0 auto;
    }

    .vt-vehicle-details {
        grid-column: 1;
        grid-row: auto;
    }

    .vt-vehicle-action {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: .85rem;
    }

    .vt-vehicle-price {
        text-align: left;
    }

    .vt-vehicle-price-amount {
        font-size: 1.4rem;
    }

    .vt-action-bar {
        flex-direction: column;
        gap: .65rem;
        padding: .8rem 1.1rem;
    }

    .vt-action-btn {
        width: 100%;
        justify-content: center;
    }
}
