*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI', sans-serif;
}

body{
height:100vh;
background:linear-gradient(135deg, #145357, #005f46);
display:flex;
align-items:center;
justify-content:center;
}

/* CARD LOGIN */

.login-container{
background:white;
padding:50px 40px;
border-radius:14px;
width:380px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
text-align:center;
}

/* LOGO */

.logo{
margin-bottom:25px;
}

.logo img{
height:70px;
}

.logo h5{
margin-top:6px;
color:#145357;
font-weight:600;
}

h1 {
    color: #145357;
    margin: 10px 0 10px 0;
}

.subtitle{
font-size:14px;
color:#777;
margin-bottom:30px;
}

/* INPUTS */

.form-group{
margin-bottom:18px;
text-align:left;
}

.form-group label{
font-size:14px;
font-weight:600;
color:#145357;
}

.form-group input{
width:100%;
padding:12px;
margin-top:5px;
border-radius:8px;
border:1px solid #ddd;
font-size:14px;
transition:0.2s;
}

.form-group input:focus{
outline:none;
border-color:#145357;
}

.msg-rec{
    margin-top:20px;
    padding:12px;
    background:#d5ebef;
    border-radius:8px;
    font-size:14px;
}

.btn-visivel{
    position: absolute;
    margin-left: -35px;
    margin-top: 14px;
    cursor: pointer;
    font-size: 18px;
}

/* BOTÃO */

#auth-btn{
width:100%;
padding:12px;
margin-top:10px;
background:#145357;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
transition:0.3s;
}

#auth-btn:hover{
background:#0f4144;
}

.btn-text {
    font-size:16px;
    font-weight:600;
    transition: opacity .3s ease;
}

.loader {
    display: none;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,.25);
    border-top-color: white;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    -webkit-animation: spin .7s linear infinite;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.loader-text {
    display: none;
}

#auth-btn.loading {
    background-color: #195047;
    cursor: progress;
}

#auth-btn.loading .btn-text {
    display: none;
}

#auth-btn.loading .loader {
    display: inline-block;
}

#auth-btn.loading .loader-text {
    display: grid;
    margin-top: 3px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

/* ESQUECI SENHA */

.sucesso {
    margin-top: 20px;
    padding: 12px;
    background: #e7f7ef;
    color: #1e9e5a;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.erro {
    margin-top: 20px;
    padding: 12px;
    background: #ffe5e5;
    color: #d34a4a;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.forgot{
margin-top:15px;
font-size:13px;
color:#777;
cursor:pointer;
}

.forgot:hover{
text-decoration:underline;
}

.forgot a{
  color: inherit;
  text-decoration: none;
}

.detalhe{
margin-top:25px;
font-size:12px;
color:#aaa;
}

.required{
    color: red;
}


@media screen and (max-width: 1020px){

    .login-container{
        padding:50px 25px;
        border-radius:14px;
        width:330px;
        }
}