
/* ================================== 
Animazione Testi Wrapper dei Template 
===================================== */

.custom-auth-anim {

    animation: float 4s ease-in-out infinite;

    

}

@keyframes float {

        0%   { transform: translate(0, 0); }

        25%  { transform: translate(2px, -2px); }

        50%  { transform: translate(0, -3px); }

        75%  { transform: translate(-2px, -1px); }

        100% { transform: translate(0, 0); }

}

    

/* =================================

Password Reset Link Confirm Template

==================================== */

.reset-confirm-wrapper {

    margin: 60px auto;
    z-index: 10;    

    max-width: 420px;

    padding: 20px 20px 40px 20px;

    background: rgba(0,0,0,0.05);

    border-radius: 16px;

    border: solid 1px #222;

    text-align: center;

    box-shadow: 0 4px 25px rgba(0,0,0,0.07);

    font-family: 'Helvetica Neue', sans-serif;

}



.reset-confirm-wrapper h2 {

    color: #222 !important;

    margin-bottom: 25px;

    font-weight: 600;

}



.reset-confirm-wrapper p {

    font-size: 18px;

    line-height: 1.6;

    color: #444;

}



.reset-confirm-wrapper .back-login {

    margin-top: 35px;

    display: inline-block;

    padding: 12px 28px;

    background: #222;

    color: #fff;

    border-radius: 6px;

    text-decoration: none;

    transition: 0.25s ease;

}



.reset-confirm-wrapper .back-login:hover {

    opacity: 0.7;

}



/* --- Mobile Portrait Adjustments --- */

@media (max-width: 768px) and (orientation: portrait) {

    .reset-confirm-wrapper {

        min-width: 250px;

        max-width: 350px;

        margin: 100px auto 30px auto;

        

    }

}





/* =====================

Lost Password Template

===================== */

.lostpassword-container {

    margin: 60px auto;

    z-index: 10;    

    max-width: 420px;

    padding: 30px;

    border-radius: 16px;

    border: solid 1px #222;

    background: rgba(0,0,0,0.05);

    box-shadow: 0 4px 25px rgba(0,0,0,0.07);

    font-family: 'Helvetica Neue', sans-serif;

}



.lostpassword-container h2 {

    color: #222 !important;

    text-align: center;

    margin-bottom: 20px;

    font-weight: 600;

}



.errors-resetpsw {

    color: #555;

    text-align: center;

    position: fixed;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 100vw;

    max-width: 100%;

    background: rgba(0,0,0,0.08);

    font-weight: 600;

    padding: 14px 18px;

    z-index: 999999;

    text-shadow: 0 2px 3px rgba(0,0,0,0.45);

    transition: opacity 1.2s ease;

}

.errors-resetpsw.fadeout {

    opacity: 0;

    pointer-events: none;

}


.errors, .reset-error {
    color: #555;
    text-align: center;
    margin: 15px 0;
    font-weight: 600;
}

.lostpassword-container input[type="text"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 2px solid #555;
    background: #fff;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.lostpassword-container button {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    background: #222;
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.lostpassword-container button:hover {
    background: #555;
}

.lostpassword-container p {
    text-align: center;
    margin-top: 20px;
}

.lostpassword-container a {
    color: #555;
    font-weight: 600;
}
/* --- Mobile Portrait Adjustments --- */
@media (max-width: 768px) and (orientation: portrait) {
    .lostpassword-container {
        width: 85vw;
        max-width: 100%;
        margin: 30px auto 30px auto;
        padding: 20px;
        font-size: 15px;
    }

    .lostpassword-container input[type="text"] {
        padding: 12px;
        font-size: 15px;
    }

    .lostpassword-container button {
        padding: 12px;
        font-size: 16px;
    }
}
/* =====================
 ACCOUNT REGISTER
 ======================= */
     label.required::after {
        content: " *";
        color: #c00;
        font-weight: bold;
    }

    .register-container {
        max-width: 500px;
        margin: 60px auto;
        padding: 30px;
        border-radius: 16px;
        border: solid 1px #222;
        background: rgba(0,0,0,0.05);
        box-shadow: 0 4px 25px rgba(0,0,0,0.07);
        font-family: 'Helvetica Neue', sans-serif;
    }

    .register-container h2 {
        color: #222 !important;
        text-align: center;
        margin-bottom: 25px;
        font-weight: 600;
    }

    .register-container input[type="text"],
    .register-container input[type="email"],
    .register-container input[type="password"] {
        width: 100%;
        padding: 14px;
        margin-bottom: 18px;
        border: 2px solid #555;
        border-radius: 10px;
        font-size: 16px;
        box-sizing: border-box;
        background: #fafafa;
    }

    .register-container button {
        width: 100%;
        margin-top: 10px;
        padding: 14px;
        background: #222;
        border: none;
        color: #fff;
        font-size: 18px;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
    }

    .register-container button:hover {
        background: #555;
    }

    .register-container .errors {
        background: #f2f2f2;
        border: 1px solid #ccc;
        color: #555;
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .register-container p {
        text-align: center;
        margin-top: 20px;
    }

    .register-container a {
        color: #555;
        font-weight: 600;
    }
    
    .register-container input[type="checkbox"] {
    margin-right: 8px;
    }
    
    .register-container label{
        color: #222;
    }
    .register-container label a {
    color: #222;
    text-decoration: underline;
    }

    
    /* --- Mobile Portrait Adjustments --- */
@media (max-width: 768px) and (orientation: portrait) {
    .register-container {
        width: 85vw;
        max-width: 100%;
        margin: 30px auto 30px auto;
        padding: 20px;
        font-size: 15px;
    }

    .register-container input[type="text"],
    .register-container input[type="email"],
    .register-container input[type="password"] {
        padding: 12px;
        font-size: 15px;
    }

    .register-container button {
        padding: 12px;
        font-size: 16px;
    }
}
 
 /* =====================
 ACCOUNT LOGIN
 ======================= */
 
 .login-container {
        margin: 60px auto;
        max-width: 500px;
        padding: 30px;
        border-radius: 16px;
        border: solid 1px #222;
        background: rgba(0,0,0,0.05);
        box-shadow: 0 4px 25px rgba(0,0,0,0.07);
        font-family: 'Helvetica Neue', sans-serif;
    }

    .login-error{
        color: #555;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .login-container h2 {
        color: #222 !important;
        text-align: center;
        margin-bottom: 25px;
        font-weight: 600;
    }
    .login-container h4 {
        font-size: 0.9em;
        color: #777!important;
        text-align: center;
        margin-bottom: 25px;
        font-weight: 200;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 14px;
        margin-bottom: 18px;
        border: 2px solid #555;
        border-radius: 10px;
        font-size: 16px;
        box-sizing: border-box;
        background: #fafafa;
    }

    .login-container button {
        width: 100%;
        margin-top: 10px;
        padding: 14px;
        background: #222;
        border: none;
        color: #fff;
        font-size: 18px;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
    }

    .login-container button:hover {
        background: #555;
    }

    .login-container label {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
    }

    .login-container p {
        text-align: center;
        margin-top: 20px;
    }

    .login-container a {
        color: #555;
        font-weight: 600;
    }
    
    /* --- Mobile Portrait Adjustments --- */
@media (max-width: 768px) and (orientation: portrait) {
    .login-container {
        width: 85vw;
        max-width: 100%;
        margin: 30px auto;
        padding: 20px;
        font-size: 15px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        padding: 12px;
        font-size: 15px;
    }

    .login-container button {
        padding: 12px;
        font-size: 16px;
    }
}

.custausu-login-greet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.custausu-login-greet-icon__image {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

#custausu-passkey-login {
  display: none;
  margin-top: 10px;
}

/* Password Visibility Toggle */
/* CONTENITORE */
.pwd-wrap{
    position: relative;
    width: 100%;
}

/* INPUT PASSWORD: aggiungo spazio a destra per l'occhio */
.pwd-wrap input#pwd{
    width: 100%;
    padding-right: 46px !important; /* spazio riservato */
    box-sizing: border-box;
}

#pwd-toggle{
    touch-action: manipulation;
    position: absolute;
    top: 37%;
    right: 14px;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color:#555;
}

#pwd-toggle svg{
    pointer-events: none; /* evita click sullo svg anziché sul toggle */
}

#pwd-toggle:hover{ opacity:.6; }

/* inizialmente l’occhio hide è invisibile */
#eye-hide{ display:none; }

/* Stile Greeting */
.custausu-menu-greeting > a {
    color: #c83588 !important;
    cursor: default;
    font-weight: 600 !important;
    opacity: 0.9;
    margin-bottom: 25px;
}

/*.custausu-menu-greeting > a:hover {
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}*/

/* CAS + CF7: visible validation messages */
.wpcf7-form .custausu-cf7-math-error,
.wpcf7-form .custausu-math-error,
.wpcf7-form .custausu-recaptcha-error,
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  clear: both;
  margin: 6px 0 0;
  color: #b00020 !important;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid {
  border-color: #b00020 !important;
}

/* CF7 global response box */
.wpcf7 form .wpcf7-response-output,
.wpcf7 .wpcf7-response-output {
  display: block;
  clear: both;
  margin: 18px 0 0 !important;
  padding: 12px 16px !important;
  border-width: 2px !important;
  border-style: solid !important;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  opacity: 1 !important;
  visibility: visible !important;
}

/* CF7 error / invalid */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 .invalid .wpcf7-response-output,
.wpcf7 .unaccepted .wpcf7-response-output,
.wpcf7 .payment-required .wpcf7-response-output {
  border-color: #d63638 !important;
  color: #b00020 !important;
  background: #fff5f5 !important;
}

/* CF7 success */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 .sent .wpcf7-response-output,
.wpcf7 form.sent div.wpcf7-response-output,
.wpcf7 .wpcf7-form.sent .wpcf7-response-output {
  border-color: #00a32a !important;
  color: #006b1f !important;
  background: #f0fff4 !important;
}

/* Ensure inner text inherits the readable color */
.wpcf7 form.sent .wpcf7-response-output *,
.wpcf7 .wpcf7-form.sent .wpcf7-response-output * {
  color: #006b1f !important;
}

/* CAS registration required-field legend. */
.custausu-register-required-legend__marker {
  color: #c00;
}

.custausu-register-required-legend__text {
  color: #888;
}

/* CAS lost-password confirmation image. */
.custausu-reset-confirm__check-image {
  display: block;
  margin: 0 auto 25px;
}

