
/* 覧覧覧 RESPONSIVE 覧覧覧 */
@media screen and (max-width: 768px) {

    /* [Stili per controllo sicurezza password] */
    .password-strength-container {
        position: relative;
        margin-top: 0.5rem;
    }

    .password-strength-bar {
        height: 4px;
        margin-top: 5px;
        border-radius: 2px;
        background-color: #e9ecef;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid #dee2e6;
    }

    .password-strength-fill {
        height: 100%;
        transition: all 0.3s ease;
        border-radius: 1px;
        width: 0%;
    }

    /* [Livelli di sicurezza password] */
    .strength-weak {
        background-color: #dc3545;
        width: 33% !important;
    }

    .strength-medium {
        background-color: #ffc107;
        width: 66% !important;
    }

    .strength-strong {
        background-color: #28a745;
        width: 100% !important;
    }

    /* [Stili per elenco requisiti password] */
    .password-requirements {
        font-size: 0.75rem;
        margin-top: 0.5rem;
        line-height: 1.3;
    }

    .requirement {
        color: #dc3545;
        transition: color 0.3s ease;
        display: block;
        margin-bottom: 0.25rem;
    }

        .requirement.met {
            color: #28a745;
        }

        .requirement i {
            margin-right: 0.5rem;
            font-size: 0.7rem;
        }

    /* [Stili per form floating con indicatori sicurezza] */
    .form-floating .password-field {
        padding-bottom: 2rem;
    }

    /* [Responsive per mobile] */
    @media (max-width: 768px) {
        .password-requirements {
            font-size: 0.7rem;
        }

        .requirement {
            margin-bottom: 0.2rem;
        }
    }
    /* [Stili per evidenziare campi password in modifica] */
    .form-floating.password-update label {
        color: #6c757d;
        font-style: italic;
    }

    /* [Override per campi password non obbligatori in modifica] */
    .form-floating input[type="password"]:not(.required) {
        border-color: #ced4da;
    }

        .form-floating input[type="password"]:not(.required):focus {
            border-color: #86b7fe;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

    /* [/Stili per evidenziare campi password in modifica] */

    /* [/Stili per controllo sicurezza password] */

    /* [NUOVO: Stile per banner accesso limitato /] */
    .alert-accesso-limitato {
        background-color: #fff3cd;
        border-color: #ffc107;
        color: #856404;
    }

    /* [Disabilita hover su elementi non modificabili /] */
    .planner-readonly .draggable {
        cursor: not-allowed !important;
        opacity: 0.6;
    }
}
/* ============================================
   MODALITﾀ REGISTRAZIONE PUBBLICA
   ============================================ */

.public-registration-mode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 15px;
}

    .public-registration-mode .card {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        overflow: hidden;
        animation: slideUp 0.5s ease-out;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.public-registration-mode .alert-info {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea;
    border-radius: 10px;
}

.public-registration-mode #btnRegistrazione {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .public-registration-mode #btnRegistrazione:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }