

:root{
    --azul-fundo:#074b96;
    --azul-topo:#0759bd;
    --azul-botao:#0864d1;
    --azul-botao-hover:#0756b6;
    --azul-texto:#0759bd;
    --borda:#cbd5e1;
    --texto:#26384d;
    --cinza:#64748b;
}

*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;

    width:100%;
    min-height:100%;
}

body{
    min-height:100vh;

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

    padding:25px;

    background:
        linear-gradient(
            135deg,
            #06478e,
            #075cb9
        );

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color:var(--texto);
}


/* =========================================================
   CARD
========================================================= */

.login-card{
    width:100%;
    max-width:370px;

    overflow:hidden;

    background:#fff;

    border-radius:12px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.18);
}


/* =========================================================
   CABEÇALHO
========================================================= */

.login-header{
    min-height:155px;

    padding:18px 22px 16px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    background:
        linear-gradient(
            135deg,
            #064ca1,
            #075ec5
        );

    color:#fff;
}

.brasao{
    width:57px;
    height:auto;

    max-height:75px;

    object-fit:contain;

    margin-bottom:7px;
}

.login-header h1{
    margin:0;

    font-size:21px;
    font-weight:700;

    line-height:1.2;
}

.login-header p{
    margin:4px 0 0;

    font-size:11px;
    font-weight:600;

    color:rgba(255,255,255,.95);
}


/* =========================================================
   CORPO
========================================================= */

.login-body{
    padding:19px 24px 18px;
}

.login-title{
    margin-bottom:18px;

    text-align:center;
}

.login-title h2{
    margin:0;

    color:var(--azul-texto);

    font-size:20px;
    font-weight:700;
}

.login-title p{
    margin:7px 0 0;

    color:#52647a;

    font-size:11px;
    line-height:1.45;
}


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

.alerta{
    margin-bottom:15px;

    padding:10px 12px;

    display:flex;
    align-items:flex-start;

    gap:8px;

    background:#fff1f2;

    border:1px solid #fecdd3;

    border-radius:6px;

    color:#b42318;

    font-size:11px;
}


/* =========================================================
   CAMPOS
========================================================= */

.campo{
    margin-bottom:13px;
}

.campo label{
    display:block;

    margin-bottom:5px;

    color:#26384d;

    font-size:11px;
    font-weight:700;
}

.input-box{
    position:relative;
}

.input-icon{
    position:absolute;

    left:12px;
    top:50%;

    transform:translateY(-50%);

    color:#66758a;

    font-size:13px;

    pointer-events:none;
}

.form-control{
    width:100%;
    height:42px;

    padding:
        0 42px
        0 35px;

    outline:none;

    background:#fff;

    border:1px solid var(--borda);

    border-radius:5px;

    color:#26384d;

    font-size:12px;

    transition:.2s;
}

.form-control::placeholder{
    color:#8794a5;
}

.form-control:focus{
    border-color:#0759bd;

    box-shadow:
        0 0 0 2px rgba(7,89,189,.12);
}


/* =========================================================
   OLHO DA SENHA
========================================================= */

.btn-senha{
    position:absolute;

    right:3px;
    top:3px;

    width:36px;
    height:36px;

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

    border:0;

    background:transparent;

    color:#64748b;

    cursor:pointer;
}

.btn-senha:hover{
    color:#0759bd;
}


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

.btn-entrar{
    width:100%;
    height:42px;

    margin-top:2px;

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

    gap:7px;

    border:0;
    border-radius:5px;

    background:
        linear-gradient(
            90deg,
            #0759bd,
            #0868d8
        );

    color:#fff;

    font-size:12px;
    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

.btn-entrar:hover{
    background:#064da5;
}


/* =========================================================
   VOLTAR
========================================================= */

.voltar{
    margin-top:15px;

    text-align:center;
}

.voltar a{
    display:inline-flex;

    align-items:center;

    gap:4px;

    color:#53657b;

    text-decoration:none;

    font-size:10px;
}

.voltar a:hover{
    color:#0759bd;

    text-decoration:underline;
}


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

.login-footer{
    min-height:44px;

    padding:9px 14px;

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

    background:#f4f6f8;

    border-top:1px solid #dfe4ea;

    color:#52647a;

    text-align:center;

    font-size:9px;
    line-height:1.45;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media(max-width:480px){

    body{
        padding:12px;
    }

    .login-card{
        max-width:100%;
    }

    .login-header{
        min-height:145px;
    }

    .login-body{
        padding:
            20px
            18px
            18px;
    }

}


/* padrao-acoes-final */
table th:last-child,table td:last-child{white-space:nowrap}
.acoes{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;width:max-content}
.acoes form{display:inline-flex!important;margin:0!important}
.acoes .btn,.acoes button,.acoes a{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;width:auto!important;margin:0!important}

.login-card{width:100%;max-width:440px;}
