/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* FUNDO */
body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background: linear-gradient(135deg, #1fa2b8, #0d6efd);
    padding:20px;
}

/* CONTAINER */
.login-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* CARD */
.login-box{
    width:100%;
    max-width:420px;
    background:rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding:40px 30px;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
    text-align:center;
    animation: fadeIn 0.6s ease;
}

/* LOGO */
.logo{
    width:110px;
    margin-bottom:20px;
}

/* TÍTULO */
.login-box h2{
    font-size:22px;
    margin-bottom:8px;
    color:#222;
}

.subtitulo{
    font-size:14px;
    color:#666;
    margin-bottom:30px;
}

/* FORM */
form{
    text-align:left;
}

/* LABEL */
label{
    font-size:13px;
    font-weight:600;
    color:#333;
}

/* INPUT */
input{
    width:100%;
    height:50px;
    padding:12px;
    margin-top:6px;
    margin-bottom:20px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:15px;
    transition:0.3s;
}

input:focus{
    outline:none;
    border:1px solid #1fa2b8;
    box-shadow:0 0 0 3px rgba(31,162,184,0.15);
}

/* BOTÃO */
.btn-login{
    width:100%;
    height:50px;
    background: linear-gradient(90deg, #1fa2b8, #178c9e);
    border:none;
    border-radius:12px;
    color:white;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    transition:0.3s;
}

.btn-login:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

/* ERRO */
.erro{
    margin-top:15px;
    color:#d9534f;
    font-size:14px;
    text-align:center;
}
/* GRUPO DO INPUT COM ÍCONE */
.input-group{
    position:relative;
}

.input-group input{
    padding-right:45px;
}

/* BOTÃO OLHO */
.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:18px;
    color:#666;
    user-select:none;
    transition:0.2s;
}

.toggle-password:hover{
    color:#1fa2b8;
}
/* RESPONSIVO EXTRA PARA CELULAR PEQUENO */
@media (max-width:480px){

    .login-box{
        padding:30px 20px;
        border-radius:18px;
    }

    .logo{
        width:90px;
    }

    .login-box h2{
        font-size:20px;
    }

    input{
        height:48px;
        font-size:14px;
    }

    .btn-login{
        height:48px;
        font-size:14px;
    }
}

/* ANIMAÇÃO */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}