body.login {
    background: #f5f7fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    flex-direction:column;
}

.wp-login-lost-password{
    display:none;
}

#login {
    width: 560px;
    padding: 20px;
    background:transparent;
}

@media screen and (max-width:991px) {
    #login {
        width: calc(100% - 80px);
        margin:20px;
}
}


#login h1 a {
width:200px;
background-image: url('./assets/logo-dark.svg');
background-size:contain;
padding-bottom:0;
}

#registerform p:first-child {
    display: none;
}




.login form {
    margin-top: 25px;
    border:1px solid #ececec;
    border-radius:10px;
}

.login label {
    font-weight: 500;
    color: #333;
}

.login input[type="text"],
.login input[type="email"],
.login input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.login input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,.2);
    outline: none;
}

.login .button-primary {
    background: #043F62;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    margin-top:10px;
}

.login .button-primary:hover {
    background: #2563eb;
}

.login #nav,
.login #backtoblog {
    text-align: center;
}

#language-switcher {
    display:none;
}

/* Nome + Cognome affiancati (WordPress-safe) */
.login p.half-field {
    width: calc(50% - 5px);
    float: left;
}

.half-field label {
     width:100%;
}

.login p.first-name {
    margin-right: 10px;
}

.login p.last-name {
    margin-right: 0;
}

/* clearfix */
.login form::after {
    content: "";
    display: block;
    clear: both;
}







/* NOTIFICHE LOGIN / REGISTRAZIONE */
#login .message,
#login .error,
#login .notice {
    border: none;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    border:1px solid #ececec;
}

/* SUCCESS */
#login .message {
    background: #ecfdf5;
    color: #065f46;
}

/* ERROR */
#login .error {
    background: #fef2f2;
    color: #991b1b;
}

/* WARNING / NOTICE */
#login .notice {
    background: #eff6ff;
    color: #1e40af;
}

/* LINK DENTRO LE NOTIFICHE */
#login .message a,
#login .error a,
#login .notice a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}


#backtoblog{
    display:none;
}


