  /* Richiama lo stesso font usato dalla pagina Joivy */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

   #bookingFormTitle {
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            line-height: 1.2;
            color: #012B32; /* stesso colore del brand */
            margin-bottom: 1.5rem; /* già mb-4, ma lo ribadiamo per coerenza */
        }

        /* Mobile first: testo un po’ più piccolo su schermi stretti */
        #bookingFormTitle {
            font-size: 2rem; /* circa 32px su mobile */
        }

        /* Da tablet in su: aumentiamo la dimensione */
        @media (min-width: 768px) {
            #bookingFormTitle {
                font-size: 2.625rem; /* circa 42px su desktop */
            }
        }

        .site-topbar .navbar {
            border-bottom: 2px solid rgb(1, 89, 98);
            background-color: rgb(1, 89, 98);
        }

        .site-topbar .navbar-brand img {
            height: 36px;
        }

        .site-topbar .nav-link {
            color: rgb(1, 89, 98) !important;
            font-weight: 500;
        }
        /* Stile custom per il pulsante Submit */
        #submitBtn {
            background-color: rgb(1, 89, 98) !important;
            border-color: rgb(1, 89, 98) !important;
            color: #ffffff !important;
        }

            /* Hover / focus leggermente più scuro per feedback */
            #submitBtn:hover,
            #submitBtn:focus {
                background-color: rgb(0, 70, 77) !important;
                border-color: rgb(0, 70, 77) !important;
                color: #ffffff !important;
            }

        .site-topbar .btn-outline-primary {
            border-color: rgb(1, 89, 98);
            color: rgb(1, 89, 98);
        }

        .site-topbar .container-fluid {
            background-color: rgb(1, 89, 98);
            color: #fff;
        }

        .spinner-border {
            color: rgb(1, 89, 98) !important;
        }

        #homeProvinceContainer {
            display: none;
        }
        /* Bootstrap validation styling */
        .was-validated .form-control:invalid {
            border-color: #dc3545;
        }
        /* Stile per tutti gli input readonly */
        .form-control[readonly] {
            background-color: #e9ecef; /* grigio chiaro conforme a Bootstrap */
            border: 1px dashed #adb5bd; /* bordo tratteggiato per differenziarlo */
            color: #6c757d; /* testo leggermente meno contrastato */
            opacity: 1; /* override eventuale opacity di default */
        }
        [data-light-optional].d-none {
        transition: none;
        }
        #loaderOverlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1050; /* sopra tutto, incluso il modal */
        }

        .was-validated .form-control:invalid:focus {
            box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
        }
         #splashScreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,rgb(50, 139, 149) 0%, rgb(1, 89, 98) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }
        
        #splashScreen.fade-out {
            opacity: 0;
            pointer-events: none;
        }
        
        .splash-logo {
            width: 120px;
            height: auto;
            margin-bottom: 2rem;
            animation: pulse 2s ease-in-out infinite;
        }
        
        .splash-title {
            color: white;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .splash-subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.2rem;
            margin-bottom: 3rem;
            text-align: center;
        }
        
        .splash-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }
        
        .splash-status {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1rem;
            text-align: center;
            min-height: 24px;
        }
        
        .login-button {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid white;
            color: white;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }
        
        .login-button:hover {
            background: white;
            color: rgb(50, 139, 149);
            transform: translateY(-2px);
        }
        
        .main-content {
            display: none;
        }
        
        .main-content.show {
            display: block;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        @media (max-width: 768px) {
            .splash-title { font-size: 2rem; }
            .splash-subtitle { font-size: 1rem; }
        }