/* ==============================
   SeatFlow Passenger Engine
============================== */

.vh-sf-wrapper{
    width:100%;
}

/* Wrapper principale */
#vh-sf-passenger-engine{
    width:100%;
    margin-top:18px;
    padding:20px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:12px;
}

/* Titolo se presente */
#vh-sf-passenger-engine h3{
    margin:0 0 8px;
    font-size:18px;
    font-weight:800;
    letter-spacing:.2px;
}

/* ==============================
   GRID PASSEGGERI DESKTOP
============================== */

@media (min-width:1024px){

    #vh-sf-passenger-engine{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:20px;
        align-items:start;
    }

    #vh-sf-passenger-engine h3{
        grid-column:1 / -1;
    }

    .vh-sf-edit-actions{
        grid-column:1 / -1;
    }

    #vh-sf-passenger-engine .vh-sf-card{
        margin-top:0;
    }

}

/* Card passeggero */
.vh-sf-card{
    border:1px solid #e2e8f0;
    background:#f8fafc;
    border-radius:12px;
    padding:16px;
    margin-top:14px;

    display:flex;
    flex-direction:column;
    gap:8px;

    transition:all .2s ease;
}

.vh-sf-card:hover{
    box-shadow:0 6px 18px rgba(15,23,42,.06);
}

/* Header card */
.vh-sf-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:8px;
    font-size:14px;
    font-weight:700;
}

/* Badge ADULT / CHILD */
.vh-sf-badge{
    display:inline-flex;
    align-items:center;
    padding:4px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    background:rgba(15,118,110,.12);
    color:#0f766e;
    text-transform:uppercase;
    letter-spacing:.5px;
}

/* Campo */
.vh-sf-field{
    margin-top:12px;
}

/* Label */
.vh-sf-field label{
    display:block;
    margin-bottom:6px;
    font-size:13px;
    font-weight:700;
    color:#0f172a;
}

/* Asterisco required */
.vh-sf-field label .required,
.vh-sf-field label span{
    color:#b91c1c;
    font-weight:900;
}

/* Input */
#vh-sf-passenger-engine input[type="text"],
#vh-sf-passenger-engine input[type="email"],
#vh-sf-passenger-engine input[type="tel"],
#vh-sf-passenger-engine input[type="number"],
#vh-sf-passenger-engine input[type="date"],
#vh-sf-passenger-engine select{
    width:100%;
    height:44px;
    padding:0 14px;
    border-radius:8px;
    border:1px solid rgba(15,23,42,.15);
    background:#ffffff;
    font-size:14px;
    transition:all .15s ease;
    box-sizing:border-box;
}

/* Focus */
#vh-sf-passenger-engine input:focus,
#vh-sf-passenger-engine select:focus{
    border-color:rgba(13,148,136,.55);
    box-shadow:0 0 0 3px rgba(13,148,136,.12);
    outline:none;
}

/* Required highlight laterale */
#vh-sf-passenger-engine input[required],
#vh-sf-passenger-engine select[required]{
    border-left:4px solid rgba(185,28,28,.35);
}

/* Textarea */
#vh-sf-passenger-engine textarea{
    width:100%;
    min-height:80px;
    padding:10px 14px;
    border-radius:8px;
    border:1px solid rgba(15,23,42,.15);
    resize:vertical;
    box-sizing:border-box;
}

/* ==============================
   Responsive Passenger Engine
============================== */

@media (max-width:1023px){

    #vh-sf-passenger-engine{
        padding:16px;
    }

    .vh-sf-card{
        padding:14px;
    }

}

@media (max-width:767px){

    #vh-sf-passenger-engine{
        padding:14px;
    }

    .vh-sf-card{
        padding:12px;
    }

}

/* ==============================
   Icons
============================== */

.sf-ico svg{
    stroke:currentColor;
    fill:none;
    stroke-width:2;
}

/* ==============================
   Hidden elements
============================== */

.vh-sf-hidden{
    display:none !important;
}

.variation-DettagliPrenotazione{
    display:none !important;
}

/* ==============================
   Edit actions
============================== */

.vh-sf-edit-actions{
    margin-top:25px;
    text-align:right;
}

.vh-sf-save-edit{
    background:#c7a64b;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:6px;
    font-weight:600;
    cursor:pointer;
    transition:.2s ease;
}

.vh-sf-save-edit:hover{
    background:#b28f32;
}

/* =====================================================
   SeatFlow – Premium Seat Selector
===================================================== */

.vh-sf-premium{
    margin-bottom:14px;
    padding:12px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:8px;
}

.vh-sf-premium-title{
    font-size:13px;
    font-weight:600;
    margin-bottom:8px;
    color:#334155;
}

.vh-sf-premium-options{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.vh-sf-premium-opt{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    cursor:pointer;
}

.vh-sf-premium-opt input[type="radio"]{
    accent-color:#0f172a;
    cursor:pointer;
}

.vh-sf-premium-opt span{
    line-height:1.3;
}

.vh-sf-premium-opt--premium span{
    font-weight:600;
    color:#92400e;
}

.vh-sf-premium-opt--premium::before{
    content:"★";
    color:#f59e0b;
    margin-right:4px;
}

/* Hover effect */
.vh-sf-premium-opt:hover span{
    text-decoration:underline;
}

/* Responsive */
@media (max-width:768px){

    .vh-sf-premium{
        padding:10px;
    }

    .vh-sf-premium-opt{
        font-size:13px;
    }

}

/* =====================================================
   Premium Total Live
===================================================== */

.vh-sf-premium-total{
    margin-top:16px;
}

.vh-sf-premium-total-inner{
    padding:14px;
    background:#fff7ed;
    border:1px solid #fdba74;
    border-radius:8px;
    font-size:15px;
    font-weight:500;
    color:#7c2d12;
}

.vh-sf-premium-total strong{
    margin-left:6px;
    font-weight:700;
}

/* ==============================
   Seat availability colors
============================== */

.seats-available.sf-normal{
    color:#1e7e34;
    font-weight:600;
}

.seats-available.sf-low{
    color:#dc3545;
    font-weight:700;
}

.seats-available.sf-soldout{
    color:#6c757d;
    opacity:.6;
}

/* =====================================================
   WBTM SEARCH FORM RESPONSIVE
===================================================== */

@media (max-width:991px){

    .wbtm_input_fields_holder{
        flex-direction:column !important;
        width:100%;
    }

    .wbtm_input_start_end_location{
        flex-direction:column !important;
        width:100%;
    }

    .wbtm_input_start_end_date{
        width:100%;
    }

    .wtbm_inputList{
        width:100%;
    }

    .wtbm_inputList input,
    .wtbm_inputList select{
        width:100% !important;
        max-width:100%;
    }

}

/* mobile */

@media (max-width:767px){

    .wbtm_search_btn,
    .mpBtn{
        width:100% !important;
    }

}