/*==============================
    RESET
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

    font-family:"Segoe UI",sans-serif;

    overflow:hidden;

}

/*==============================
    FONDO
==============================*/

body{

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#0056b3,#1285d9);

    position:relative;

}

.background{

    position:absolute;

    inset:0;

    overflow:hidden;

}

.circle{

    position:absolute;

    border-radius:50%;

    background:rgba(255,255,255,.07);

}

.circle1{

    width:600px;

    height:600px;

    left:-200px;

    bottom:-250px;

}

.circle2{

    width:500px;

    height:500px;

    right:-180px;

    top:-180px;

}

/*==============================
    TARJETA
==============================*/

.login-container{

    position:relative;

    z-index:5;

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

}

.login-card{

    width:100%;

    max-width:470px;

    background:rgba(255,255,255,.97);

    border-radius:22px;

    padding:45px;

    box-shadow:0 20px 50px rgba(0,0,0,.18);

    animation:fade .6s ease;

}

/*==============================
    LOGO
==============================*/

.logo{

    text-align:center;

}

.logo img{

    width:130px;

    max-width:100%;

    margin-bottom:20px;

    display:block;

    margin-left:auto;

    margin-right:auto;

}

.logo h1{

    font-size:34px;

    color:#0056b3;

    margin-bottom:6px;

}

.logo p{

    color:#666;

    font-size:16px;

}

/*==============================
    SUBTITULO
==============================*/

.subtitle{

    text-align:center;

    margin:30px 0;

    color:#666;

    font-size:15px;

}

/*==============================
    ERROR
==============================*/

.error{

    background:#ffe6e6;

    color:#b00020;

    padding:14px;

    border-radius:12px;

    margin-bottom:25px;

    text-align:center;

    font-size:15px;

}

/*==============================
    INPUTS
==============================*/

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    font-weight:600;

    margin-bottom:8px;

    color:#333;

}

.form-group label i{

    color:#0056b3;

    margin-right:8px;

}

.form-group input{

    width:100%;

    height:52px;

    border:1px solid #d7d7d7;

    border-radius:12px;

    padding:0 16px;

    font-size:15px;

    transition:.25s;

}

.form-group input:focus{

    outline:none;

    border-color:#1285d9;

    box-shadow:0 0 0 4px rgba(18,133,217,.15);

}

/*==============================
    PASSWORD
==============================*/

.password-wrapper{

    position:relative;

}

.password-wrapper input{

    padding-right:60px;

}

.toggle-password{

    position:absolute;

    right:12px;

    top:50%;

    transform:translateY(-50%);

    border:none;

    background:none;

    width:38px;

    height:38px;

    cursor:pointer;

    color:#666;

    font-size:18px;

    transition:.2s;

}

.toggle-password:hover{

    color:#0056b3;

}

/*==============================
    BOTON
==============================*/

.login-btn{

    width:100%;

    height:54px;

    border:none;

    border-radius:12px;

    background:#0056b3;

    color:white;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.login-btn:hover{

    background:#1285d9;

    transform:translateY(-2px);

}

.login-btn i{

    margin-right:8px;

}

/*==============================
    FOOTER
==============================*/

.footer-card{

    margin-top:30px;

    text-align:center;

    color:#666;

    font-size:14px;

}

.footer-card i{

    color:#0056b3;

    margin-right:5px;

}

.back-link{

    display:block;

    margin-top:20px;

    text-align:center;

    text-decoration:none;

    color:#0056b3;

    font-weight:600;

}

.back-link:hover{

    color:#1285d9;

}

/*==============================
    RESPONSIVE
==============================*/

@media(max-width:600px){

.login-card{

padding:30px;

}

.logo h1{

font-size:28px;

}

.logo img{

width:100px;

}

}

/*==============================
    ANIMACION
==============================*/

@keyframes fade{

from{

opacity:0;

transform:translateY(30px);

}

to{

opacity:1;

transform:translateY(0);

}

}