/* =========================================================
   STILE ESCLUSIVO PER RECUPERO PASSWORD UTENTI
   ========================================================= */

/* Sfondo Full-Screen e centratura generale */
html, body {
    background: #0a0e17 url('/images/sfondo_servermail.webp') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Nasconde Header, Footer e Logo di default */
#header, .header, #footer, .footer, img[src*="postfixadmin"] {
    display: none !important;
}

/* Contenitore principale trasparente */
#container, .container, #main {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Scritta "Follow the instructions..." BIANCA e CENTRATA 
#container > p, .instructions, #container > h2, p {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: center !important;
    margin-bottom: 25px !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
    width: 100% !important;
}*/

/* Prende di mira ESATTAMENTE il titolo h2 del template */
h2.h2,
#container > h2,
form ~ h2,
h2 {
    color: #ffffff !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9) !important;
}

/* Prende di mira la navbar in alto */
nav.navbar, 
.navbar-fixed-top {
    display: none !important;
}

/* Card Scura centrata */
form {
    background: rgba(10, 14, 23, 0.88) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 35px 30px !important;
    width: 100% !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    text-align: center !important;
    margin: 0 auto !important;
}

/* Titolo fg-authorized dentro la card */
form::before {
    content: "fg-authorized";
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

/* Etichetta "Nome utente (email):" BIANCA e CENTRATA */
form label, form span, form div {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important; /* Centra l'etichetta sopra il campo */
    display: block !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    background: transparent !important;
}

/* Campo Input per l'email */
input[type="text"], input[type="email"], input[type="password"] {
    background-color: #e8f0fe !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    margin-top: 4px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* Pulsante Send me the code azzurro */
input[type="submit"], button[type="submit"] {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    width: 100% !important;
    cursor: pointer !important;
}

input[type="submit"]:hover {
    background-color: #2563eb !important;
}