/* Ecrã de acesso ao site reservado. Autónomo: não depende do CSS do site,
   que não é servido a quem não tem sessão iniciada. */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #0b2a4a;
    color: #10243b;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.access-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.access-card__logo {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
}

.access-card h1 {
    margin: 0 0 8px;
    font-size: 20px;
    text-align: center;
}

.access-card__message {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #52606d;
    text-align: center;
}

.access-field {
    margin-bottom: 16px;
}

.access-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.access-field input {
    width: 100%;
    padding: 11px 13px;
    font-size: 15px;
    color: #10243b;
    border: 1px solid #c9d2dc;
    border-radius: 8px;
}

.access-field input:focus {
    outline: 2px solid #0b2a4a;
    outline-offset: 1px;
    border-color: #0b2a4a;
}

.access-button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #0b2a4a;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.access-button:hover {
    background: #133b64;
}

.access-error {
    margin: 0 0 16px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #b3261e;
    background: #fdecea;
    border-radius: 8px;
}

/* Detalhe do erro mostrado apenas em Development, para diagnóstico. */
.access-error--debug {
    font-weight: 400;
    background: #fff4e5;
    color: #8a4b00;
}
