* {
    box-sizing: border-box;
}

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    place-items: center;
    background: linear-gradient(135deg, #e8f1eb, #f5f7f5);
    color: #26332b;
    font-family: Arial, sans-serif;
}

.login-card {
    width: min(100%, 410px);
    padding: 32px;
    background: white;
    border: 1px solid #e0e7e2;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(25, 45, 32, 0.14);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    color: #176b3a;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

.brand span:first-child {
    font-size: 28px;
}

h1 {
    margin: 0 0 8px;
    font-size: 23px;
}

.login-card > p {
    margin: 0 0 22px;
    color: #718078;
    line-height: 1.5;
}

form {
    display: grid;
    gap: 9px;
}

label {
    font-size: 14px;
    font-weight: bold;
}

input {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #ccd8cf;
    border-radius: 6px;
    font: inherit;
}

input:focus-visible {
    outline: 3px solid rgba(23, 107, 58, 0.2);
    border-color: #176b3a;
}

.password-hint {
    color: #718078;
    font-size: 12px;
}

button {
    min-height: 44px;
    margin-top: 7px;
    border: 0;
    border-radius: 6px;
    background: #176b3a;
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
}

button:hover {
    background: #0f512b;
}

button:disabled {
    cursor: wait;
    opacity: 0.7;
}

#mensagemLogin {
    margin: 4px 0 0;
    color: #a52b25;
    font-size: 14px;
    line-height: 1.4;
}

.back-link {
    display: inline-block;
    margin-top: 22px;
    color: #176b3a;
    font-size: 14px;
}
