/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",Arial,sans-serif;
}

/* ==========================
   BODY
========================== */

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    overflow-x:hidden;

    background:#0b2447;

}

/* ==========================
   FUNDO
========================== */

/*.background{

    position:fixed;

    inset:0;

    background:linear-gradient(
        135deg,
        #081b33 0%,
        #0b2447 35%,
        #19376d 70%,
        #2f5ea8 100%
    );

    z-index:-2;

    overflow:hidden;

}
*/

.background{

    position:fixed;

    inset:0;

    background:
        linear-gradient(
            rgba(8,27,51,.15),
            rgba(8,27,51,.15)
        ),
        url("../Image/home.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

    z-index:-2;

}

.background::before{

    content:"";

    position:absolute;

    width:550px;

    height:550px;

    border-radius:50%;

    background:rgba(255,255,255,.02);

    top:-220px;

    left:-150px;

}

.background::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    background:rgba(255,255,255,.015);

    bottom:-180px;

    right:-120px;

}

/* ==========================
   CONTAINER
========================== */

.login-container{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}

/* ==========================
   CARD
========================== */
/*
.login-card{

    width:min(92%,470px);

    padding:45px;

    border-radius:22px;

    background:rgba(255,255,255,.1);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.20);

    box-shadow:

        0 20px 45px rgba(0,0,0,.35),

        inset 0 1px 0 rgba(255,255,255,.15);

}*/

.login-card{

    width:min(92%,470px);

    padding:45px;

    border-radius:22px;

    background:transparent;

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    border:1px solid rgba(255,255,255,.18);

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

/* ==========================
   LOGO
========================== */

.logo{

    width:90px;

    height:90px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:white;

    color:#0b2447;

    font-size:42px;

    box-shadow:0 10px 25px rgba(0,0,0,.20);

}

/* ==========================
   TITULO
========================== */

.login-card h1{

    color:white;

    text-align:center;

    font-size:clamp(26px,4vw,34px);

    margin-bottom:10px;

    font-weight:600;

}

.subtitulo{

    text-align:center;

    color:#e8eef8;

    font-size:15px;

    line-height:1.5;

    margin-bottom:30px;

}

/* ==========================
   ERRO
========================== */

.mensagemErro{

    background:#ffeaea;

    color:#b00020;

    padding:14px;

    border-radius:10px;

    margin-bottom:25px;

    text-align:center;

    font-weight:600;

    border-left:5px solid #d50000;

}

/* ==========================
   CAMPOS
========================== */

.campo{

    margin-bottom:22px;

}

.campo label{

    display:block;

    color:white;

    margin-bottom:8px;

    font-size:15px;

    font-weight:500;

}

.campo label i{

    margin-right:8px;

}

/*.campo input{

    width:100%;

    padding:15px 18px;

    border:none;

    border-radius:12px;

    outline:none;

    font-size:16px;

    background:rgba(255,255,255,.92);

    transition:.30s;

}*/

/*.campo input{

    width:100%;

    padding:15px 18px;

    border:1px solid rgba(255,255,255,.25);

    border-radius:12px;

    outline:none;

    font-size:16px;

    color:#fff;

    background:rgba(255,255,255,.12);

    transition:.3s;

}*/

.campo input{

    width:100%;

    padding:15px 18px;

    border:1px solid rgba(255,255,255,.25);

    border-radius:12px;

    outline:none;

    font-size:19px;

    color:black;

    background:rgba(255,255,255,.10);

    transition:all .30s ease;

}

/*.campo input:focus{

    background:white;

    box-shadow:0 0 0 4px rgba(255,255,255,.18);

}*/

.campo input:focus{

    background:rgba(255,255,255,.18);

    border-color:#6ebcff;

    box-shadow:0 0 15px rgba(110,188,255,.35);

}

/*.campo input:focus{

    background:rgba(255,255,255,.18);

    border:1px solid #6ebcff;

    box-shadow:0 0 12px rgba(110,188,255,.35);

}*/

.campo input:hover{

    background:rgba(255,255,255,.14);

    border-color:rgba(255,255,255,.40);

}

.campo input::placeholder{

    color:rgba(255,255,255,.70);

}

/* ==========================
   CHECKBOX
========================== */

.opcoes{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

    color:white;

    font-size:14px;

}

.opcoes label{

    cursor:pointer;

}

.opcoes input{

    margin-right:6px;

}

/* ==========================
   BOTÃO
========================== */

/*.login-card button{

    width:100%;

    padding:16px;

    border:none;

    border-radius:12px;

    background:#00a8ff;

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.30s;

}*/

.login-card button{

    width:100%;

    padding:16px;

    border:none;

    border-radius:12px;

    background:linear-gradient(90deg,#0095ff,#006fd6);

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.login-card button i{

    margin-right:8px;

}

.login-card button:hover{

    background:#0084d1;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(0,0,0,.30);

}

/* ==========================
   RODAPÉ
========================== */

.rodape{

    margin-top:35px;

    text-align:center;

    color:white;

    opacity:.90;

    font-size:14px;

    line-height:1.6;

}


/* ==========================
   ANIMAÇÃO DE ENTRADA
========================== */

.login-card{

    animation:fadeIn .6s ease;
}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(25px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* ==========================
   PLACEHOLDER
========================== */

/*.campo input::placeholder{

    color:#8c8c8c;

}*/

.campo input::placeholder{

    color:rgba(255,255,255,.75);

}

/* ==========================
   EFEITOS DOS CAMPOS
========================== */

/*.campo input:hover{

    background:#ffffff;

}*/

.campo input:focus{

    transform:translateY(-1px);

}

/* ==========================
   CHECKBOX
========================== */

.opcoes input{

    cursor:pointer;

    accent-color:#00a8ff;

}

/* ==========================
   BOTÃO
========================== */

.login-card button:active{

    transform:scale(.98);

}

.login-card button:disabled{

    cursor:not-allowed;

    background:#8b9fb8;

    box-shadow:none;

}

/* ==========================
   TABLET
========================== */

@media (max-width:768px){

body{

    padding:25px;

}

.login-card{

    width:100%;

    max-width:500px;

    padding:35px 28px;

}

.logo{

    width:80px;

    height:80px;

    font-size:36px;

    margin-bottom:20px;

}

.login-card h1{

    font-size:28px;

}

.subtitulo{

    font-size:14px;

}

.campo{

    margin-bottom:20px;

}

.campo input{

    padding:15px;

}

.login-card button{

    font-size:17px;

}

}

/* ==========================
   SMARTPHONE
========================== */

@media (max-width:480px){

body{

    padding:15px;

}

.login-card{

    width:100%;

    padding:28px 22px;

    border-radius:18px;

}

.logo{

    width:70px;

    height:70px;

    font-size:30px;

    margin-bottom:18px;

}

.login-card h1{

    font-size:23px;

}

.subtitulo{

    font-size:13px;

    margin-bottom:22px;

}

.campo{

    margin-bottom:18px;

}

.campo label{

    font-size:14px;

}

.campo input{

    padding:14px;

    font-size:15px;

}

.opcoes{

    flex-direction:column;

    align-items:flex-start;

    gap:12px;

}

.login-card button{

    padding:15px;

    font-size:16px;

}

.rodape{

    margin-top:25px;

    font-size:13px;

}

}

/* ==========================
   ECRÃS MUITO PEQUENOS
========================== */

@media (max-width:340px){

.login-card{

    padding:20px 16px;

}

.logo{

    width:60px;

    height:60px;

    font-size:26px;

}

.login-card h1{

    font-size:20px;

}

.subtitulo{

    display:none;

}

.campo label{

    font-size:13px;

}

.campo input{

    padding:12px;

    font-size:14px;

}

.login-card button{

    padding:13px;

    font-size:15px;

}

.rodape{

    font-size:12px;

}

}

/* ==========================
   MONITORES GRANDES
========================== */

@media (min-width:1600px){

.login-card{

    max-width:520px;

}

.login-card h1{

    font-size:36px;

}

.logo{

    width:100px;

    height:100px;

    font-size:46px;

}

}

/* ==========================
   REDUZ MOVIMENTO
========================== */

@media (prefers-reduced-motion:reduce){

*{

    animation:none !important;

    transition:none !important;

}

}