/* ============================================
   REQUEST TRANSFERS PAGE STYLES
   ============================================ */

.hero-section-results {
    background: #1a1a1a !important;
    /* Force dark bg as requested previously */
    margin-top: 0;
    padding-top: 120px;
    min-height: 200px;
}

.btn-send-request {
    background-color: #4a0d0d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn-send-request:hover {
    background-color: #6a1d1d;
}

/* Updated Confirmation Actions */
.btn-actions-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-action-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-action-outline {
    background-color: transparent;
    color: #4a0d0d;
    border: 2px solid #4a0d0d;
}

.btn-action-outline:hover {
    background-color: #f7fafc;
    border-color: #6a1d1d;
    color: #6a1d1d;
}

.btn-action-primary {
    background-color: #4a0d0d;
    color: white;
    border: 2px solid #4a0d0d;
}

.btn-action-primary:hover {
    background-color: #6a1d1d;
    border-color: #6a1d1d;
}

.unit-features-list {
    padding: 0;
    list-style: none;
    margin-top: 1rem;
}

.unit-features-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.unit-features-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Custom row layout for Destination/Passengers */
.form-row-destination {
    grid-template-columns: 3fr 1fr;
}

@media (max-width: 768px) {
    .form-row-destination {
        grid-template-columns: 1fr;
    }

    .btn-actions-container {
        flex-direction: column;
    }

    .btn-action-small {
        width: 100%;
    }
}

@media print {

    .hero-section-results,
    .reservation-summary-column,
    header,
    footer,
    .btn-actions-container {
        display: none !important;
    }

    .reservation-forms-column {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .reservation-form-section {
        box-shadow: none;
        border: none;
        padding: 0;
    }

    body {
        background: white;
    }
}

/* ============================================
   AJUSTES DE TARJETA DE RESUMEN (SIDEBAR)
   ============================================ */
.summary-image-container {
    height: 280px !important;
    /* Aumentamos la altura del contenedor */
    padding-top: 5.5rem !important;
    /* Bajamos la imagen para alejarla del título */
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-vehicle-image {
    width: 95% !important;
    /* Imagen más ancha */
    max-height: 180px !important;
    /* Control de altura */
    object-fit: contain !important;
    transform: scale(1.15);
    /* Zoom sutil para que luzca imponente */
    transition: transform 0.3s ease;
}

.summary-title {
    background: linear-gradient(to bottom, rgba(30, 55, 90, 0.95), rgba(30, 55, 90, 0.8)) !important;
    /* Azul VIP consistente */
    padding: 1.25rem 1.5rem !important;
    font-size: 1.2rem !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.summary-card {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Ajustes para fotos de servicio (540x600) que llegan al resumen */
.summary-image-container.service-photo-mode {
    padding-top: 0 !important;
    height: 300px !important;
    /* Más altura para evitar cortes drásticos */
    background: #000 !important;
}

.summary-vehicle-image.is-service-photo {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 40%;
    /* Ajuste de encuadre para ver más abajo */
    transform: scale(1) !important;
    border-radius: 0;
}

/* ============================================
   SIMETRÍA DE COLUMNAS (Igual altura)
   ============================================ */
.reservation-layout {
    align-items: stretch !important;
}

.reservation-summary-column {
    position: relative !important;
    top: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.reservation-summary-section,
.summary-card,
.reservation-form-section {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
}

.summary-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.summary-group:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .reservation-layout {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ============================================
   CRYSTAL STYLE ADAPTATION (LIGHT MODE)
   Overrides for white background context
   ============================================ */

/* Inputs & Selects Triggers */
.reservation-form .form-group input,
.reservation-form .form-group select,
.reservation-form .vip-custom-select-trigger {
    background: #f8fafc !important;
    /* Light blue-gray background */
    border: 1px solid #e2e8f0 !important;
    /* Visible light border */
    color: #2d3748 !important;
    /* Dark text */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.reservation-form .form-group input:focus,
.reservation-form .vip-custom-select-container.open .vip-custom-select-trigger {
    background: #ffffff !important;
    border-color: #6F4E37 !important;
    /* Gold/Brown accent */
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1) !important;
}

/* Custom Select Arrow - Force Dark */
.reservation-form .vip-custom-select-trigger:after {
    border-top-color: #4a5568 !important;
}

/* Icons within inputs (if any) */
.reservation-form .form-group input::placeholder {
    color: #a0aec0 !important;
}

/* Phone Number Group */
.reservation-form .phone-input-group {
    display: flex !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    /* REMOVED overflow: hidden to allow dropdown to show */
    height: 54px !important;
    transition: all 0.3s ease !important;
    position: relative;
    /* Ensure z-index context */
    z-index: 10;
}

.reservation-form .phone-input-group:focus-within {
    border-color: #6F4E37 !important;
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1) !important;
    z-index: 20;
    /* Bring forward when focused */
}

/* Custom Select Styles (Generated by JS) */
.reservation-form .vip-custom-select-container {
    height: 100%;
    min-width: 120px;
    border-right: 1px solid #e2e8f0;
    position: relative;
}

.reservation-form .vip-custom-select-trigger {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    background: #f8fafc;
    border-radius: 12px 0 0 12px;
    transition: all 0.2s;
}

.reservation-form .vip-custom-select-trigger:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #4a5568;
    margin-left: auto;
    /* Push to right */
    margin-right: -5px;
}

.reservation-form .vip-custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 280px;
    /* Wide enough for content */
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000 !important;
    /* Force on top */
    display: none;
    /* Hidden by default */
    margin-top: 5px;
}

.reservation-form .vip-custom-select-container.open .vip-custom-select-dropdown {
    display: block;
    /* Show when open */
    animation: fadeIn 0.15s ease-out;
}

.reservation-form .vip-custom-select-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.1s;
    font-size: 0.9rem;
    color: #2d3748;
    border-bottom: 1px solid #f7fafc;
}

.reservation-form .vip-custom-select-option:hover,
.reservation-form .vip-custom-select-option.selected {
    background-color: #f0f4f8;
    color: #1a365d;
    font-weight: 500;
}

/* Fallback for Native Selector (hidden by JS usually) */
.reservation-form .country-code-select {
    flex: 0 0 130px !important;
    width: 130px !important;
    min-width: 130px !important;
    border: none !important;
    border-right: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #4a5568 !important;
    font-size: 0.95rem !important;
    padding: 0 25px 0 10px !important;
    /* Space for arrow */
    cursor: pointer !important;
    height: 100% !important;
    border-radius: 0 !important;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Custom Drop Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    z-index: 10;
    position: relative;
    opacity: 1;
}

/* El input de teléfono ocupa el resto */
.reservation-form .phone-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 18px !important;
    font-size: 1.05rem !important;
    height: 100% !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Flatpickr Adjustments for this page */
.reservation-form input[readonly].flatpickr-input {
    background-color: #f8fafc !important;
    cursor: pointer;
}

/* TextArea matching */
.reservation-form textarea {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    padding: 1rem;
    width: 100%;
    color: #2d3748;
    font-family: inherit;
    resize: vertical;
}

.reservation-form textarea:focus {
    border-color: #6F4E37 !important;
    outline: none;
    background: #ffffff !important;
}

/* Inline styles replacements */
.custom-summary-row {
    text-align: left;
    display: block;
}

.custom-summary-value {
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
}

.unit-features-list-style {
    font-size: 0.85rem;
    color: var(--color-text);
}

.info-text-box {
    margin-top: 1rem;
    background-color: #fef5e7;
    border-left: 4px solid #ed8936;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.info-text-content {
    color: #c05621;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0;
}

.help-text-container {
    margin-top: 1rem;
    text-align: center;
}

.help-text {
    font-size: 0.9rem;
    color: #666;
}

.confirmation-section {
    padding: 3rem 2rem;
}

.confirmation-icon-container {
    text-align: center;
    margin-bottom: 2rem;
}

.confirmation-icon-circle {
    width: 80px;
    height: 80px;
    background: #e6fffa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.confirmation-title {
    text-align: center;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.confirmation-desc {
    color: #718096;
    max-width: 400px;
    margin: 0 auto;
}

.order-summary-box {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-summary-title {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #cbd5e0;
}

.no-data-italic {
    color: #a0aec0;
    font-size: 0.9em;
    font-style: italic;
}

.vehicle-highlight {
    font-weight: 700;
    color: #4a0d0d;
}

.print-icon {
    margin-right: 6px;
}

.error-notification-box {
    position: relative;
    margin-bottom: 1.5rem;
    animation: none;
}

.margin-bottom-sm {
    margin-bottom: 0.5rem;
}

.margin-top-none {
    margin-top: 0 !important;
}

.margin-top-1rem {
    margin-top: 1rem;
}