/* ===================================
   Booking Transfer - Frontend Styles
   Diseño Elegante y Minimalista
   =================================== */

/* Container Principal */
.bt-booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
}

/* Pasos del Formulario */
.bt-step {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bt-step-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9e9e9;
}

.bt-step-header h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Layout: Formulario + Mapa (Lado a Lado) */
.bt-form-map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.bt-form-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.bt-map-column {
    position: relative;
}

.bt-map-wrapper {
    position: sticky;
    top: 20px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9e9e9;
}

/* Grid del Formulario */
.bt-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bt-form-group {
    display: flex;
    flex-direction: column;
}

.bt-form-group.bt-full-width {
    grid-column: 1 / -1;
}

/* Labels - Estilo Elegante */
.bt-form-group label {
    font-weight: 400;
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 11px;
}

/* Inputs - Estilo Minimalista */
.bt-form-group input,
.bt-form-group select,
.bt-form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
    background: #fff;
    color: #1a1a1a;
}

/* Placeholders */
.bt-form-group input::placeholder,
.bt-form-group textarea::placeholder {
    color: #cccccc;
    opacity: 1;
}

.bt-form-group input:focus,
.bt-form-group select:focus,
.bt-form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}

/* Mapa */
#bt-map {
    width: 100%;
    height: 500px;
    min-height: 400px;
}

/* Información de Ruta */
.bt-route-info {
    display: flex;
    gap: 20px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 0px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bt-route-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.bt-route-item .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    opacity: 0.8;
}

.bt-route-item strong {
    opacity: 0.8;
    margin-right: 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.bt-route-item span:last-child {
    font-weight: 300;
    font-size: 22px;
}

/**
 * Booking Transfer - Estilos para tarjetas de vehículos HORIZONTALES
 * Diseño: Imagen izquierda | Información centro | Botón derecha
 */

/* ========================================
   CONTENEDOR DE VEHÍCULOS
   ======================================== */
.bt-vehicles-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

/* ========================================
   TARJETA DE VEHÍCULO - DISEÑO HORIZONTAL
   ======================================== */
.bt-vehicle-card-horizontal {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bt-vehicle-card-horizontal:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.15);
    transform: translateY(-2px);
}

.bt-vehicle-card-horizontal.selected {
    border-color: #4a90e2;
    background: #f0f7ff;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.25);
}

/* ========================================
   COLUMNA IZQUIERDA - IMAGEN
   ======================================== */
.bt-vehicle-image-container {
    flex: 0 0 300px;
    min-width: 300px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bt-vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bt-vehicle-card-horizontal:hover .bt-vehicle-image {
    transform: scale(1.05);
}

/* ========================================
   COLUMNA CENTRO - INFORMACIÓN
   ======================================== */
.bt-vehicle-info-container {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.bt-vehicle-name {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.bt-vehicle-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bt-vehicle-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.bt-vehicle-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #555;
}

.bt-vehicle-spec .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: #4a90e2;
}

.bt-spec-label {
    font-weight: 500;
    color: #777;
}

.bt-spec-value {
    font-weight: 600;
    color: #333;
}

/* ========================================
   COLUMNA DERECHA - PRECIO Y BOTÓN
   ======================================== */
.bt-vehicle-action-container {
    flex: 0 0 200px;
    min-width: 200px;
    padding: 24px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-left: 1px solid #e0e0e0;
}

.bt-vehicle-card-horizontal.selected .bt-vehicle-action-container {
    background: #ffffff;
}

.bt-vehicle-price-box {
    text-align: center;
}

.bt-price-label {
    display: block;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bt-vehicle-price {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #4a90e2;
    line-height: 1;
}

.bt-button-select {
    width: 100%;
    padding: 12px 24px;
    background: #1a1a1a;    /* ← NEGRO */
    color: #ffffff;         /* ← TEXTO BLANCO */
    border: none;
    border-radius: 0px;     /* ← SIN BORDES REDONDEADOS */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bt-button-select:hover {
    background: #000000;    /* ← NEGRO MÁS OSCURO AL HOVER */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bt-button-select:active {
    transform: translateY(0);
}

.bt-vehicle-card-horizontal.selected .bt-button-select {
    background: #28a745;
}

.bt-vehicle-card-horizontal.selected .bt-button-select:hover {
    background: #218838;
}

/* ========================================
   MENSAJE SIN VEHÍCULOS
   ======================================== */
.bt-no-vehicles {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #999;
    background: #f9f9f9;
    border-radius: 8px;
}

/* ========================================
   RESPONSIVE - TABLETS
   ======================================== */
@media (max-width: 992px) {
    .bt-vehicle-image-container {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    .bt-vehicle-action-container {
        flex: 0 0 180px;
        min-width: 180px;
        padding: 20px;
    }
    
    .bt-vehicle-name {
        font-size: 20px;
    }
    
    .bt-vehicle-description {
        font-size: 14px;
    }
    
    .bt-vehicle-price {
        font-size: 28px;
    }
}

/* ========================================
   RESPONSIVE - MÓVILES
   ======================================== */
@media (max-width: 768px) {
    .bt-vehicle-card-horizontal {
        flex-direction: column;
    }
    
    .bt-vehicle-image-container {
        flex: 0 0 200px;
        min-width: 100%;
        max-height: 200px;
    }
    
    .bt-vehicle-info-container {
        padding: 20px;
    }
    
    .bt-vehicle-action-container {
        flex: 0 0 auto;
        min-width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }
    
    .bt-vehicle-price-box {
        text-align: left;
    }
    
    .bt-button-select {
        width: auto;
        padding: 10px 30px;
    }
    
    .bt-vehicle-specs {
        gap: 15px;
    }
}

/* ========================================
   ANIMACIÓN DE CARGA
   ======================================== */
.bt-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}

.bt-loading::after {
    content: '...';
    display: inline-block;
    animation: bt-dots 1.5s infinite;
}

@keyframes bt-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ========================================
   AJUSTES ADICIONALES
   ======================================== */

/* Estado de hover mejorado */
.bt-vehicle-card-horizontal:hover .bt-vehicle-name {
    color: #4a90e2;
}

/* Indicador visual de selección */
.bt-vehicle-card-horizontal.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 10;
}

/* Asegurar posición relativa para el indicador */
.bt-vehicle-card-horizontal {
    position: relative;
}

/* Lista de Extras */
#bt-extras-list {
    margin: 20px 0;
}

.bt-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    margin-bottom: 15px;
    background: #fff;
    transition: all 0.3s;
}

.bt-extra-item:hover {
    border-color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bt-extra-info {
    flex: 1;
    padding-right: 20px;
}

.bt-extra-name {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.bt-extra-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 300;
}

.bt-extra-price {
    font-size: 16px;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.bt-extra-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bt-quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #1a1a1a;
}

.bt-quantity-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.bt-quantity-input {
    width: 50px;
    text-align: center;
    padding: 8px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
}

/* Resumen de Reserva */
.bt-booking-summary {
    background: #fafafa;
    padding: 30px;
    border-radius: 0px;
    margin: 25px 0;
    border: 1px solid #e9e9e9;
}

.bt-booking-summary h3 {
    margin-top: 0;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.bt-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9e9e9;
}

.bt-summary-row:last-child {
    border-bottom: none;
}

.bt-summary-label {
    font-weight: 300;
    color: #999;
    font-size: 14px;
}

.bt-summary-value {
    font-weight: 400;
    color: #1a1a1a;
    font-size: 14px;
}

.bt-summary-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #1a1a1a;
}

.bt-summary-total .bt-summary-label,
.bt-summary-total .bt-summary-value {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 300;
}

/* Método de Pago */
.bt-payment-method {
    margin: 25px 0;
}

.bt-payment-method h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bt-payment-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    background: #fff;
}

.bt-payment-option:hover {
    border-color: #1a1a1a;
    background: #fafafa;
}

.bt-payment-option input[type="radio"] {
    margin-right: 15px;
    width: 18px;
    height: 18px;
}

.bt-payment-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    font-size: 15px;
    color: #1a1a1a;
}

.bt-payment-label .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #1a1a1a;
}

/* Botones - Negro Elegante */
.bt-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9e9e9;
}

.bt-button {
    padding: 14px 32px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bt-button-primary {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.bt-button-primary:hover {
    background: #000;
    border-color: #000;
}

.bt-button-secondary {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e9e9e9;
}

.bt-button-secondary:hover {
    background: #fafafa;
    border-color: #1a1a1a;
}

.bt-button-large {
    padding: 16px 40px;
    font-size: 15px;
}

.bt-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Confirmación */
.bt-confirmation {
    text-align: center;
    padding: 60px 20px;
}

.bt-confirmation-icon {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.bt-confirmation-icon .dashicons {
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: #fff;
}

.bt-confirmation h2 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 300;
}

.bt-confirmation p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-weight: 300;
}

#bt-confirmation-details {
    background: #fafafa;
    padding: 25px;
    border-radius: 0px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e9e9e9;
}

/* Indicador de Progreso - Negro */
.bt-progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.bt-progress-indicator::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9e9e9;
    z-index: 0;
}

.bt-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
}

.bt-progress-step span {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #ccc;
    border: 1px solid #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.bt-progress-step.active span {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.bt-progress-step.completed span {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.bt-progress-step label {
    font-size: 11px;
    color: #999;
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bt-progress-step.active label {
    color: #1a1a1a;
}

/* Loading */
.bt-loading {
    text-align: center;
    padding: 60px;
    color: #999;
    font-size: 16px;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 1200px) {
    .bt-form-map-layout {
        grid-template-columns: 1fr;
    }
    
    .bt-map-wrapper {
        position: relative;
    }
    
    #bt-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .bt-booking-container {
        padding: 15px;
    }
    
    .bt-step {
        padding: 25px;
    }
    
    .bt-form-grid {
        grid-template-columns: 1fr;
    }
    
    .bt-vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .bt-route-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .bt-extra-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bt-extra-quantity {
        margin-top: 15px;
        width: 100%;
        justify-content: flex-end;
    }
    
    .bt-form-actions {
        flex-direction: column;
    }
    
    .bt-button {
        width: 100%;
    }
    
    .bt-progress-indicator {
        padding: 0 5px;
    }
    
    .bt-progress-step {
        padding: 0 5px;
    }
    
    .bt-progress-step span {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .bt-progress-step label {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .bt-step-header h2 {
        font-size: 22px;
    }
    
    .bt-vehicle-name {
        font-size: 18px;
    }
    
    .bt-vehicle-price {
        font-size: 20px;
    }
}
/* Formato de fecha en mayúsculas */
.bt-form-group input[type="date"] {
    text-transform: uppercase;
}

/* Placeholder del input date */
.bt-form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    text-transform: uppercase;
}

.bt-form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0);
    opacity: 0.6;
}

.bt-form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}