* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
}

#login {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/wp-content/themes/woffice-child-theme-conecta/login/img/bg-desk.jpg') center center / cover no-repeat;
    border-top: 5px solid #BDC915;
    border-bottom: 5px solid #BDC915;
}

#login-form-loading {
    display: none;
    text-align: center;

}
#login-form-loading img { width: 48px; }

#login-form {
    background: #fff;
    border-radius: 12px;
    padding: 40px 44px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    position: relative;
    border: 4px solid #bdc915;
}

#login-logo { margin-bottom: 24px; }
#login-logo img { width: 160px; }

#login-form h1 {
    font-size: 1.6rem;
    color: #214549;
    margin-bottom: 16px;
}

.login-notice {
    background: #fff8e1;
    border-left: 2px solid #e2ab3b26;
    padding: 10px 14px;
    font-size: .8em;
    color: #5a4000;
    border-radius: 4px;
    margin-bottom: 20px;
}

#login-erro {
    display: none;
    background: #ffeded;
    border-left: 4px solid #e00;
    color: #c00;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: .88em;
    margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: .8em;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: .5px;
}
.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color .15s;
}
.form-group input:focus {
    outline: none;
    border-color: #214549;
    box-shadow: 0 0 0 3px rgba(33,69,73,.12);
}

.forgot-link {
    font-size: .82em;
    color: #8d9e13;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}
.forgot-link:hover { text-decoration: underline; }

.form-actions { display: flex; justify-content: flex-end; }

#btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #214549;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
#btn-login:hover { background: #8d9e13; }

#esqueci-senha-box {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
    z-index: 10;
}
#esqueci-senha-box.hide { display: none; }
#esqueci-senha-box h1 { font-size: 1.2rem; color: #214549; margin-bottom: 16px; }
#esqueci-senha-box p { font-size: .88em; color: #555; margin-bottom: 12px; line-height: 1.6; }
#esqueci-senha-box .btn-senior {
    display: inline-block;
    background: #214549;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: .9em;
    margin-bottom: 14px;
}
#esqueci-senha-box .btn-senior:hover { background: #8d9e13; }

#esqueci-senha-fechar {
    position: absolute;
    top: 12px; right: 12px;
    background: none; border: none;
    font-size: 1.4rem; color: #888; cursor: pointer;
}
#esqueci-senha-fechar:hover { color: #214549; }

@media (max-width: 480px) {
    #login-form { padding: 28px 20px; border-radius: 0; }
    #login { align-items: flex-start; }
}
