/*=============================================
ESTILOS DEL SUBMÓDULO VENTA DE PASAJES (WIREFRAME V2 ITERATION)
Diseño profesional en dos columnas paralelas: Bus y Pasajeros
=============================================*/

.vp-workspace-wf {
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
}

/* =========================================
1. BARRA SUPERIOR Y ESTADO DE CAJA
========================================= */
.vp-wf-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.vp-wf-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vp-wf-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.vp-wf-caja-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.vp-wf-caja-pill.open {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.vp-wf-caja-pill.free {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.vp-wf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #16a34a;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.vp-wf-caja-pill.free .vp-wf-dot {
    background-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.vp-wf-header-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.vp-wf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
GUÍA DE FLUJO (STEPPER HORIZONTAL)
========================================= */
.vp-wf-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.vp-wf-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.vp-wf-step-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.vp-wf-step-bubble .step-check {
    display: none;
}

.vp-wf-step-text {
    display: flex;
    flex-direction: column;
}

.vp-wf-step-text .step-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    line-height: 1.2;
}

.vp-wf-step-text .step-sub {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}

.vp-wf-step-arrow {
    color: #cbd5e1;
    font-size: 13px;
    margin: 0 12px;
}

/* Estados del Stepper */
.vp-wf-step-item.active .vp-wf-step-bubble {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.vp-wf-step-item.active .step-title {
    color: #0284c7;
}

.vp-wf-step-item.completed .vp-wf-step-bubble {
    background: #10b981;
    color: #ffffff;
}

.vp-wf-step-item.completed .step-num {
    display: none;
}

.vp-wf-step-item.completed .step-check {
    display: inline-block;
}

.vp-wf-step-item.completed .step-title {
    color: #10b981;
}

/* =========================================
2. BARRA HORIZONTAL DE BÚSQUEDA Y VIAJE
========================================= */
.vp-wf-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
    overflow: hidden;
}

.vp-wf-search-card {
    padding: 16px;
}

.vp-wf-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.vp-wf-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.vp-wf-field-icon-wrap {
    position: relative;
    width: 100%;
}

.vp-wf-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    font-size: 14px;
    color: #94a3b8;
}

.vp-wf-field-icon-wrap .form-control {
    width: 100%;
    padding-left: 36px;
    padding-right: 12px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    color: #1e293b;
    background-color: #ffffff;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.vp-wf-field-icon-wrap select.form-control {
    cursor: pointer;
    line-height: normal;
}

.vp-wf-field-icon-wrap .form-control:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    outline: none;
}

/* =========================================
ESTILIZACIÓN PROFESIONAL DE SELECT2 CON BUSCADOR (UNIFORME Y ELEGANTE)
========================================== */
.vp-wf-field-icon-wrap select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    display: none !important;
}

.vp-wf-search-col .select2-container,
.vp-wf-field-icon-wrap .select2-container,
.vp-select2-container {
    width: 100% !important;
    display: block !important;
}

/* Marco exterior continuo, limpio e idéntico al input de fecha */
.vp-wf-search-col .select2-container .select2-selection--single,
.vp-wf-field-icon-wrap .select2-container .select2-selection--single,
.vp-select2-container .select2-selection--single {
    height: 42px !important;
    min-height: 42px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding-left: 36px !important;
    padding-right: 32px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.vp-wf-search-col .select2-container:hover .select2-selection--single,
.vp-wf-field-icon-wrap .select2-container:hover .select2-selection--single,
.vp-select2-container:hover .select2-selection--single {
    border-color: #94a3b8 !important;
}

.vp-wf-search-col .select2-container.select2-container--open .select2-selection--single,
.vp-wf-search-col .select2-container.select2-container--focus .select2-selection--single,
.vp-wf-field-icon-wrap .select2-container.select2-container--open .select2-selection--single,
.vp-wf-field-icon-wrap .select2-container.select2-container--focus .select2-selection--single,
.vp-select2-container.select2-container--open .select2-selection--single,
.vp-select2-container.select2-container--focus .select2-selection--single {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* Eliminar completamente el borde interno, fondo y caja de StartUI en el texto */
.vp-wf-search-col .select2-container .select2-selection--single .select2-selection__rendered,
.vp-wf-field-icon-wrap .select2-container .select2-selection--single .select2-selection__rendered,
.vp-select2-container .select2-selection--single .select2-selection__rendered {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    box-shadow: none !important;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Eliminar la caja gris y bordes de StartUI en el contenedor de flecha */
.vp-wf-search-col .select2-container .select2-selection--single .select2-selection__arrow,
.vp-wf-field-icon-wrap .select2-container .select2-selection--single .select2-selection__arrow,
.vp-select2-container .select2-selection--single .select2-selection__arrow {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    width: 28px !important;
    height: 100% !important;
    top: 0 !important;
    right: 6px !important;
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ocultar pseudo-elementos de StartUI (doble flecha y fondo) y elemento b por defecto */
.vp-wf-search-col .select2-container .select2-selection--single .select2-selection__arrow:before,
.vp-wf-field-icon-wrap .select2-container .select2-selection--single .select2-selection__arrow:before,
.vp-select2-container .select2-selection--single .select2-selection__arrow:before,
.vp-wf-search-col .select2-container .select2-selection--single .select2-selection__arrow b,
.vp-wf-field-icon-wrap .select2-container .select2-selection--single .select2-selection__arrow b,
.vp-select2-container .select2-selection--single .select2-selection__arrow b {
    display: none !important;
    content: none !important;
}

/* Flecha chevron moderna, elegante y nítida */
.vp-wf-search-col .select2-container .select2-selection--single .select2-selection__arrow:after,
.vp-wf-field-icon-wrap .select2-container .select2-selection--single .select2-selection__arrow:after,
.vp-select2-container .select2-selection--single .select2-selection__arrow:after {
    content: '' !important;
    display: block !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid #64748b !important;
    border-bottom: 2px solid #64748b !important;
    border-top: none !important;
    border-left: none !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin-top: -5px !important;
    margin-left: -4px !important;
    transform: rotate(45deg) !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.vp-wf-search-col .select2-container.select2-container--open .select2-selection--single .select2-selection__arrow:after,
.vp-wf-field-icon-wrap .select2-container.select2-container--open .select2-selection--single .select2-selection__arrow:after,
.vp-select2-container.select2-container--open .select2-selection--single .select2-selection__arrow:after {
    transform: rotate(-135deg) !important;
    margin-top: -2px !important;
    border-color: #0284c7 !important;
}

/* Menú Desplegable con Caja de Búsqueda Integrada */
.select2-dropdown,
.vp-select2-dropdown {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
    z-index: 99999 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-top: 4px !important;
}

.select2-search--dropdown,
.vp-select2-dropdown .select2-search--dropdown {
    padding: 8px 10px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: relative !important;
}

.select2-search--dropdown:before,
.vp-select2-dropdown .select2-search--dropdown:before {
    content: "\f002" !important;
    font-family: FontAwesome !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    pointer-events: none !important;
}

.select2-search--dropdown .select2-search__field,
.vp-select2-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 6px 12px 6px 28px !important;
    font-size: 13px !important;
    width: 100% !important;
    outline: none !important;
    box-sizing: border-box !important;
    height: 34px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04) !important;
    transition: all 0.15s ease !important;
}

.select2-search--dropdown .select2-search__field:focus,
.vp-select2-dropdown .select2-search--dropdown .select2-search__field:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18) !important;
}

.select2-results,
.vp-select2-dropdown .select2-results {
    padding: 4px !important;
}

.select2-results__options,
.vp-select2-dropdown .select2-results__options {
    max-height: 220px !important;
    overflow-y: auto !important;
}

.select2-results__option,
.vp-select2-dropdown .select2-results__option {
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #334155 !important;
    border-radius: 6px !important;
    margin-bottom: 2px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.1s ease !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[aria-selected],
.vp-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-results__option[aria-selected="true"],
.vp-select2-dropdown .select2-results__option[aria-selected="true"] {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
}

.vp-wf-btn-search {
    height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 13px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.vp-wf-btn-search:hover,
.vp-wf-btn-search:focus {
    background-color: #0369a1;
    border-color: #0369a1;
    color: #ffffff;
}

/* =========================================
BANNER COMPACTO DE VIAJE SELECCIONADO
========================================= */
.vp-wf-trip-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 10px 16px;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.vp-wf-trip-strip-col {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}

.vp-wf-trip-strip-col.route-col {
    font-size: 15px;
    color: #0f172a;
}

.vp-wf-strip-sep {
    width: 1px;
    height: 22px;
    background: #cbd5e1;
}

.badge-libres-strip {
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.vp-wf-trip-strip-action .btn {
    border-radius: 6px;
    font-weight: 600;
}

/* =========================================
3. ÁREA PRINCIPAL EN DOS COLUMNAS PARALELAS
========================================= */
.vp-wf-main-cols {
    margin-left: -8px;
    margin-right: -8px;
}

.vp-wf-col-left,
.vp-wf-col-right {
    padding-left: 8px;
    padding-right: 8px;
}

.vp-wf-card-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.vp-wf-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* LEYENDA EN LÍNEA DEL CROQUIS */
.vp-wf-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.legend-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.dot-libre { background-color: #10b981; }
.dot-seleccionado { background-color: #0284c7; }
.dot-ocupado { background-color: #ef4444; }
.dot-reservado { background-color: #f59e0b; }

/* =========================================
CROQUIS DEL BUS Y PANEL DE ASIENTOS
========================================= */
.vp-wf-bus-body {
    padding: 14px;
}

.vp-wf-bus-split {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.vp-wf-bus-viewport {
    flex: 1;
    max-width: 270px;
}

/* Contorno del Bus */
.bus-container {
    width: 100%;
    margin: 0 auto;
    padding: 14px 10px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Cabina Conductor */
.frontal-bus {
    width: 130px;
    margin: 0 auto 14px auto;
    text-align: center;
    padding: 5px 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
}

.fila-bus {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
}

.pasillo {
    width: 28px;
    height: 38px;
    display: inline-block;
    background: transparent;
    margin: 0 4px;
}

.espacio-vacio {
    width: 40px;
    height: 38px;
    margin: 2px;
    display: inline-block;
}

/* Botones de Asientos */
.asiento-btn {
    width: 40px;
    height: 38px;
    margin: 2px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.asiento-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
    z-index: 10;
}

.asiento-libre {
    background: #10b981;
    border-color: #059669;
}

.asiento-seleccionado {
    background: #0284c7 !important;
    border-color: #0369a1 !important;
    animation: pulsoWf 1.5s infinite;
}

@keyframes pulsoWf {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(2, 132, 199, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.asiento-vendido {
    background: #ef4444 !important;
    border-color: #dc2626 !important;
    cursor: not-allowed !important;
    opacity: 0.9;
}

.asiento-reservado {
    background: #f59e0b !important;
    border-color: #d97706 !important;
    cursor: not-allowed !important;
    opacity: 0.9;
}

/* Panel Lateral de Asientos Seleccionados */
.vp-wf-selected-seats-panel {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
}

.vp-wf-selected-title {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.vp-wf-chips-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 32px;
}

.vp-wf-seat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0284c7;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.2);
}

.vp-wf-seat-chip .btnQuitarChip {
    cursor: pointer;
    opacity: 0.75;
    font-size: 11px;
}

.vp-wf-seat-chip .btnQuitarChip:hover {
    opacity: 1;
}

.vp-wf-selected-summary {
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
}

/* =========================================
LISTA DE PASAJEROS (COLUMNA DERECHA)
========================================= */
.vp-wf-passengers-body {
    padding: 12px 14px;
}

.vp-wf-passengers-list {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Fila de Pasajero Exacta al Wireframe */
.vp-wf-passenger-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    transition: all 0.15s ease;
}

.vp-wf-passenger-row:hover {
    border-color: #cbd5e1;
    background: #fbfcfe;
}

.vp-wf-passenger-seat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 6px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.vp-wf-passenger-seat-badge i {
    color: #2563eb;
    font-size: 14px;
}

.vp-wf-passenger-seat-badge .seat-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-right: 2px;
}

.vp-wf-passenger-seat-badge .seat-num {
    font-size: 14px;
    font-weight: 800;
    color: #1d4ed8;
}

.vp-wf-passenger-field {
    display: flex;
    flex-direction: column;
}

.vp-wf-passenger-field label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
    line-height: 1.1;
}

.vp-wf-passenger-field.doc-type {
    width: 105px;
    flex-shrink: 0;
}

.vp-wf-passenger-field.doc-num {
    width: 145px;
    flex-shrink: 0;
}

.vp-wf-passenger-field.full-name {
    flex: 1;
    min-width: 160px;
}

.vp-wf-passenger-field-actions {
    flex-shrink: 0;
}

.vp-wf-passenger-field-actions .btnQuitarAsiento {
    color: #94a3b8;
    padding: 4px;
    font-size: 14px;
}

.vp-wf-passenger-field-actions .btnQuitarAsiento:hover {
    color: #ef4444;
}

/* =========================================
DATOS DEL COMPRADOR / PAGADOR
========================================= */
.vp-wf-buyer-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    margin: 8px 14px 10px 14px;
}

.vp-wf-buyer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vp-wf-buyer-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.vp-wf-buyer-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.vp-wf-buyer-summary {
    font-size: 12px;
    color: #64748b;
}

.vp-wf-btn-edit-buyer {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none !important;
}

.vp-wf-buyer-form-collapse {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin: 0 14px 10px 14px;
}

.vp-wf-sublabel {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 2px;
}

.vp-wf-info-disclaimer {
    font-size: 11px;
    color: #64748b;
    padding: 0 14px 12px 14px;
}

/* =========================================
RESUMEN Y COBRO (CARD INFERIOR DERECHA)
========================================= */
.vp-wf-checkout-body {
    padding: 14px 16px;
}

.vp-wf-checkout-top-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.vp-wf-checkout-left-pane {
    flex: 1;
    min-width: 280px;
}

.vp-wf-mini-count {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.vp-wf-payment-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.vp-wf-pay-col {
    display: flex;
    flex-direction: column;
}

.vp-wf-pay-col.form-pago-col {
    width: 140px;
}

.vp-wf-pay-col.monto-col {
    width: 120px;
}

.vp-wf-pay-col.vuelto-col {
    width: 110px;
}

.vp-wf-pay-col.operacion-col {
    width: 140px;
}

.vp-wf-input-currency {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
}

.vp-wf-input-currency input {
    padding-left: 24px;
    text-align: right;
    font-weight: 700;
    font-size: 13px;
    border-radius: 6px;
}

.vp-wf-vuelto-display {
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    color: #10b981;
}

.vp-wf-quick-cash {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.quick-cash-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
}

.vp-quick-cash-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vp-quick-cash-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

/* Lado Derecho: Total a Pagar Gigante */
.vp-wf-checkout-right-pane {
    text-align: right;
    flex-shrink: 0;
}

.vp-wf-big-total-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vp-wf-big-total-value {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin: 2px 0;
}

.vp-wf-total-taxes {
    font-size: 11px;
    color: #94a3b8;
}

/* Botón Principal de Acción Verde */
.vp-wf-btn-confirm {
    width: 100%;
    background: #10b981;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 13px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.vp-wf-btn-confirm:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.vp-wf-btn-confirm:active {
    transform: translateY(1px);
}

/* =========================================
RESPONSIVE DESIGN (VENTANILLA & TABLET)
========================================= */
@media (max-width: 991px) {
    .vp-wf-search-grid {
        grid-template-columns: 1fr 1fr;
    }
    .vp-wf-search-col-btn {
        grid-column: span 2;
    }
    .vp-wf-search-col-btn .btn {
        width: 100%;
    }
    .vp-wf-bus-split {
        flex-direction: column;
        align-items: center;
    }
    .vp-wf-selected-seats-panel {
        max-width: 100%;
        width: 100%;
    }
    .vp-wf-checkout-top-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .vp-wf-checkout-right-pane {
        text-align: left;
        border-top: 1px solid #f1f5f9;
        padding-top: 10px;
    }
}

/* =========================================
SOPORTE MODO OSCURO (DARK MODE)
========================================= */
body.dark-mode .vp-wf-card,
body.dark-mode .vp-wf-stepper,
body.dark-mode .bus-container,
body.dark-mode .vp-wf-selected-seats-panel,
body.dark-mode .vp-wf-passenger-row,
body.dark-mode .vp-wf-buyer-box,
body.dark-mode .vp-wf-buyer-form-collapse {
    background-color: #1e1e2d !important;
    background: #1e1e2d !important;
    border-color: #2b2b40 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .vp-wf-page-title,
body.dark-mode .vp-wf-card-title,
body.dark-mode .vp-wf-big-total-value,
body.dark-mode .vp-wf-trip-strip-col.route-col,
body.dark-mode .vp-wf-buyer-title {
    color: #f8fafc !important;
}

body.dark-mode .vp-wf-card-header {
    background-color: #242436 !important;
    border-bottom-color: #2b2b40 !important;
}

body.dark-mode .vp-wf-trip-strip {
    background: #152438 !important;
    border-color: #1e3a5f !important;
    color: #e2e8f0 !important;
}

body.dark-mode .frontal-bus {
    background: #242436 !important;
    border-color: #3b3b55 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .vp-wf-passenger-seat-badge {
    background: #1e3a8a !important;
    border-color: #2563eb !important;
    color: #93c5fd !important;
}

body.dark-mode .vp-wf-passenger-seat-badge .seat-num {
    color: #60a5fa !important;
}

body.dark-mode .vp-wf-quick-cash-btn {
    background: #242436 !important;
    border-color: #3b3b55 !important;
    color: #cbd5e1 !important;
}

body.dark-mode .vp-select2-container .select2-selection--single,
body.dark-mode .vp-wf-search-col .select2-container .select2-selection--single {
    background: #1e1e2d !important;
    background-color: #1e1e2d !important;
    border-color: #2b2b40 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .vp-select2-container .select2-selection--single .select2-selection__rendered,
body.dark-mode .vp-wf-search-col .select2-container .select2-selection--single .select2-selection__rendered {
    color: #f8fafc !important;
}

body.dark-mode .vp-select2-container .select2-selection--single .select2-selection__arrow:after,
body.dark-mode .vp-wf-search-col .select2-container .select2-selection--single .select2-selection__arrow:after {
    border-color: #94a3b8 !important;
}

body.dark-mode .vp-select2-dropdown {
    background: #1e1e2d !important;
    border-color: #2b2b40 !important;
}

body.dark-mode .vp-select2-dropdown .select2-search--dropdown {
    background: #151522 !important;
    border-bottom-color: #2b2b40 !important;
}

body.dark-mode .vp-select2-dropdown .select2-search--dropdown .select2-search__field {
    background: #1e1e2d !important;
    border-color: #2b2b40 !important;
    color: #f8fafc !important;
}

body.dark-mode .vp-select2-dropdown .select2-results__option {
    color: #cbd5e1 !important;
}

body.dark-mode .vp-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

body.dark-mode .vp-select2-dropdown .select2-results__option[aria-selected="true"] {
    background-color: #1e3a8a !important;
    color: #93c5fd !important;
}



