/* ========================================
   PÁGINA
======================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: linear-gradient(
        135deg,
        #2ecc71,
        #27ae60
    );

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


/* ========================================
   ÁREA DO LOGIN
======================================== */

.pagina-login {
    flex: 1;

    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 30px 15px;
}


/* ========================================
   CAIXA DE LOGIN
======================================== */

.login-box {
    background: white;

    padding: 30px;

    border-radius: 12px;

    width: 300px;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.login-box h1 {
    margin-top: 0;
    margin-bottom: 10px;
}


.login-box p {
    color: #666;
    margin-bottom: 20px;
}


/* ========================================
   INPUTS E BOTÃO
======================================== */

.login-box input,
.login-box button {
    width: 100%;

    padding: 10px;

    margin: 10px 0;

    box-sizing: border-box;
}


.login-box input {
    border: 1px solid #ccc;

    border-radius: 5px;

    outline: none;
}


.login-box input:focus {
    border-color: #2ecc71;
}


/* ========================================
   BOTÃO
======================================== */

.login-box button {
    background: #2ecc71;

    color: white;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-weight: bold;

    transition: background 0.2s;
}


.login-box button:hover {
    background: #27ae60;
}


/* ========================================
   ERRO
======================================== */

.erro {
    background: #ffdddd;

    color: #c0392b;

    padding: 10px;

    border-radius: 6px;

    margin-top: 10px;
}


/* ========================================
   RODAPÉ
======================================== */

.footer-login {
    width: 100%;
    padding: 8px 15px;

    background: #219653;
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    color: rgba(255, 255, 255, 0.85);

    text-align: center;
    font-size: 10px;
    line-height: 1.4;
}

.footer-empresa,
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;
}

.footer-links {
    margin-top: 2px;
}

.footer-login strong {
    color: white;
}

.footer-login a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.footer-login a:hover {
    text-decoration: underline;
}

.footer-copy {
    margin-top: 2px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 9px;
}


/* CELULAR */

@media (max-width: 700px) {

    .footer-login {
        padding: 8px 10px;
    }

    .footer-empresa,
    .footer-links {
        flex-direction: column;
        gap: 1px;
    }

    .footer-login .separador {
        display: none;
    }
}