/* ============================
   CONTAINER PRINCIPAL
   ============================ */

/* Área central onde o card de login fica */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* ocupa toda a altura da tela */
    background: linear-gradient(135deg, #003366, #009739); /* fundo premium */
    padding: 20px;
}

/* ============================
   CARD DE LOGIN
   ============================ */

.login-card {
    background: #fff;
    width: 100%;
    max-width: 420px; /* tamanho ideal */
    padding: 40px;
    border-radius: 20px; /* cantos arredondados premium */
    box-shadow: 0 12px 28px rgba(0,0,0,0.15); /* sombra suave */
    text-align: center;
}

/* Título */
.login-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: #003366;
    margin-bottom: 10px;
}

/* Subtítulo */
.login-card p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 30px;
}

/* ============================
   CAMPOS DE INPUT
   ============================ */

.login-card input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    background: #f3f4f6;
    font-size: 15px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.08);
}

/* ============================
   BOTÃO DE LOGIN
   ============================ */

.btn-login {
    width: 100%;
    padding: 14px;
    background: #ff8a00;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #ffb300;
}

/* ============================
   LINK PARA REGISTO
   ============================ */

.link-registo {
    display: block;
    margin-top: 20px;
    color: #003366;
    font-weight: 600;
    text-decoration: none;
}

.link-registo:hover {
    text-decoration: underline;
}

/* ============================
   RESPONSIVO
   ============================ */

@media (max-width: 480px) {
    .login-card {
        padding: 30px;
    }

    .login-card h2 {
        font-size: 24px;
    }
}
/* ============================================================
   ESTILOS GERAIS DO LOGIN / RECUPERAÇÃO / REDEFINIÇÃO
   ============================================================ */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f3f4f6;
}

.login-card {
    background: #fff;
    padding: 30px;
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.login-card h2 {
    margin-bottom: 10px;
    color: #003366;
}

.login-card p {
    color: #555;
    margin-bottom: 20px;
}

/* Inputs */
.login-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/* Botão principal */
.btn-login {
    width: 100%;
    padding: 12px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-login:hover {
    background: #0055aa;
}

/* Links secundários */
.link-esqueci,
.link-registo,
.link-voltar {
    display: block;
    margin-top: 15px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.link-esqueci:hover,
.link-registo:hover,
.link-voltar:hover {
    text-decoration: underline;
    color: #0055aa;
}

/* Barra de força da senha */
.barra {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

.barra #nivel {
    height: 100%;
    width: 0%;
    background: red;
    border-radius: 5px;
    transition: width 0.3s;
}
