
body.login {
    background-image: url('../images/login-mato.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#login {
    width: 100%;
    max-width: 380px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.44);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Estilo do Logo */
#login h1 {
    padding: 0;
    margin-bottom: 20px;
}

#login h1 a {
    background-image: url('../images/logo-aquelemato.svg'); /* Você precisará adicionar seu logo aqui */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 80px;
    display: block;
    text-indent: -9999px;
}

/* Formulário */
#loginform {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
}

.login label {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.login input[type="text"],
.login input[type="password"] {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus {
    border-color: #0f766e; /* Cor primária do theme.json */
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
    background: #fff;
}

/* Botão de Login */
.wp-core-ui .button-primary {
    background: #0f766e; /* Cor primária */
    border-color: #0f766e;
    width: 100%;
    padding: 12px;
    height: auto;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.2);
    transition: all 0.3s ease;
}

.wp-core-ui .button-primary:hover {
    background: #0d665f;
    border-color: #0d665f;
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.3);
    transform: translateY(-2px);
}

/* Links "Perdeu a senha?" e "Voltar para" */
.login #nav,
.login #backtoblog {
    text-align: center;
    padding: 10px 0 0;
}

.login #nav a,
.login #backtoblog a {
    color: #0f766e;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #f59e0b; /* Cor secundária */
}

/* Mensagens de erro ou sucesso */
.login .message,
.login #login_error {
    border-radius: 8px;
    border-left-width: 4px;
}
