*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}
.form-control:focus{

transform:scale(1.02);

transition:.3s;

}
.login-card{

animation:flotar 4s ease-in-out infinite;

}

@keyframes flotar{

0%{transform:translateY(0px);}

50%{transform:translateY(-8px);}

100%{transform:translateY(0px);}

}

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#5f0918,#760b1d,#b51f38);

    overflow:hidden;

    position:relative;

}

/* Círculos decorativos */

body::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    background:rgba(255,255,255,.07);

    border-radius:50%;

    top:-180px;

    left:-150px;

}

body::after{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    bottom:-120px;

    right:-120px;

}

.login-container{

    width:100%;

    padding:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:10;

}

.login-card{

    width:100%;

    max-width:430px;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    border-radius:20px;

    padding:40px;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

    animation:fade .7s ease;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.logo{

    width:95px;

    display:block;

    margin:auto;

    margin-bottom:15px;

}

.login-card h2{

    text-align:center;

    color:#760b1d;

    font-weight:bold;

    margin-bottom:5px;

}

.login-card p{

    text-align:center;

    color:#777;

    margin-bottom:30px;

}

.input-group{

    margin-bottom:18px;

}

.input-group-text{

    background:#760b1d;

    color:white;

    border:none;

    width:48px;

    justify-content:center;

}

.form-control{

    height:50px;

    border-radius:0;

}

.form-control:focus{

    border-color:#760b1d;

    box-shadow:none;

}

.btn-outline-secondary{

    border-color:#ced4da;

}

.btn-login{

    width:100%;

    height:50px;

    background:#760b1d;

    color:white;

    border:none;

    border-radius:10px;

    font-weight:bold;

    font-size:17px;

    transition:.3s;

}

.btn-login:hover{

    background:#5b0816;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(118,11,29,.35);

    color:white;

}

.footer{

    text-align:center;

    margin-top:25px;

    color:#777;

    font-size:13px;

}

/* Responsive Tablet */

@media(max-width:768px){

    .login-card{

        max-width:420px;

        padding:35px;

    }

}

/* Responsive Celular */

@media(max-width:576px){

    body{

        padding:15px;

    }

    .login-card{

        padding:25px;

        border-radius:16px;

    }

    .logo{

        width:75px;

    }

    .login-card h2{

        font-size:24px;

    }

    .login-card p{

        font-size:14px;

    }

    .form-control{

        height:48px;

        font-size:15px;

    }

    .btn-login{

        height:48px;

        font-size:16px;

    }

}

/* Celulares pequeños */

@media(max-width:360px){

    .login-card{

        padding:20px;

    }

    .logo{

        width:65px;

    }

    .login-card h2{

        font-size:20px;

    }

}