/* ======================================================
SAFÌRA BOAT CHARTER — CHECKOUT & CONFERMA
====================================================== */

.safira-checkout-layout {
    background: #F8F8F6; /* Stesso sfondo elegante e pulito delle experiences */
    padding: 100px 0;
}

.safira-checkout-layout .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Allineamento Titolo Principale "Your Charter" */
.checkout-header {
    text-align: center;
    margin-bottom: 50px;
}

/* ======================================================
   UNIFORMITÀ TIPOGRAFICA TITOLO "IL TUO CHARTER"
   Allineato al 100% sullo stile di Privacy, Cookie e Terms
====================================================== */

.checkout-header h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    color: #081C2C !important; /* Il nero fumo ufficiale del brand */
    
    /* 🛡️ EFFETTO NATURAL: Rimuove il vecchio uppercase forzato per avere la formattazione elegante delle pagine legali */
    text-transform: none !important; 
    letter-spacing: 0px !important;
    margin: 0 0 10px 0;
}

/* 💻 DIMENSIONI SU PC DESKTOP */
@media (min-width: 993px) {
    .checkout-header h1 {
        font-size: 48px !important; 
    }
}

/* 📱 💾 DIMENSIONI SU TABLET E SMARTPHONE (Adattamento fluido portatili a 34px) */
@media (max-width: 1024px) {
    .checkout-header h1 {
        font-size: 34px !important; 
    }
}

/* Stile Form ed Elementi di Input */
#safira-custom-booking-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 0px; /* Layout squadrato e minimale, addio bordi arrotondati standard */
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); /* Ombra accennata, quasi invisibile */
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #444444;
}

/* Input, Select e DatePicker uniformi ed eleganti */
#safira-custom-booking-form input[type="text"],
#safira-custom-booking-form input[type="email"],
#safira-custom-booking-form input[type="tel"],
#safira-custom-booking-form input[type="date"],
#safira-custom-booking-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E5E5E5;
    background: #ffffff;
    font-size: 16px;
    color: #222222;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: inherit;
}

#safira-custom-booking-form input:focus,
#safira-custom-booking-form select:focus {
    outline: none;
    border-color: #d4af37; /* Evidenziazione in oro SAFÌRA al clic */
}

/* Pulsante Principale di Azione */
#safira-submit-btn {
    width: 100%;
    background: #d4af37;
    color: #ffffff;
    padding: 18px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

#safira-submit-btn:hover {
    background: #bfa032;
}

/* Blocco Grigio Note Legali e Cancellazioni in fondo */
.safira-contractual-notice {
    margin-top: 40px;
    padding: 24px;
    background: #ffffff;
    border-left: 2px solid #d4af37;
    border-right: 0;
}

/* Adattamento nativo per la lingua Araba (RTL) */
main[dir="rtl"] .safira-contractual-notice {
    border-left: 0;
    border-right: 2px solid #d4af37;
}

.safira-contractual-notice p {
    font-size: 14px;
    line-height: 1.8;
    color: #666666;
    font-style: italic;
    margin: 0;
}

/* ======================================================
PAGINA DI RINGRAZIAMENTO FINALE (THANK YOU PAGE)
====================================================== */

.safira-thankyou-box {
    background: #ffffff;
    padding: 60px 40px;
    border-top: 3px solid #d4af37; /* Dettaglio superiore color Oro Safìra */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02); /* Ombra ultra-leggera e sfumata */
    text-align: center;
}

.safira-thankyou-box .anchor-icon {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: inline-block;
    animation: smoothFloat 4s ease-in-out infinite; /* Effetto galleggiamento impercettibile dell'ancora */
}

.safira-thankyou-box h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
    margin-bottom: 24px;
}

.thankyou-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Forzatura ed Eleganza dei Pulsanti Finali */
.safira-thankyou-box a {
    display: block;
    width: 100%;
    padding: 16px 25px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Bottone WhatsApp (Verde Assistenza) */
.safira-thankyou-box a[href*="wa.me"],
.safira-thankyou-box a[href*="whatsapp.com"] {
    background: #25D366;
    color: #ffffff;
    border: 1px solid #25D366;
}

.safira-thankyou-box a[href*="wa.me"]:hover {
    background: #1ebd52;
    border-color: #1ebd52;
}

/* Bottone Torna alla Home (Minimalista Nero/Trasparente) */
.safira-thankyou-box a:not([href*="wa.me"]):not([href*="whatsapp.com"]) {
    background: transparent;
    color: #111111;
    border: 1px solid #111111;
    margin-top: 5px;
}

.safira-thankyou-box a:not([href*="wa.me"]):not([href*="whatsapp.com"]):hover {
    background: #111111;
    color: #ffffff;
}

/* Animazione Galleggiamento Dolce dello Stile Marittimo */
@keyframes smoothFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}