body {
        background-color: #cccccc;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: top;
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        height: 100vh;
        overflow: hidden;
        margin: 0;
        /* Elimina los márgenes predeterminados del navegador */
        backdrop-filter: blur(10px);

}

.container {
        overflow: hidden;
        margin-top: 0;
        /* Elimina cualquier margen superior */
}

.login {
        border-top-right-radius: 60px !important;
        border-bottom-left-radius: 60px !important;
}

.card-container.card {
        max-width: 400px;
        padding: 40px 70px;
        /* Ajusta el padding para mover el contenido hacia abajo */
        height: 570px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Centra verticalmente los elementos */
        align-items: center;
        /* Centra horizontalmente los elementos */
}


.card {
        background: rgba(247, 250, 250, 0.863);
        padding: 25px 46px 9px;
        margin: 0 auto 25px;
        margin-top: 30px;
        background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
        padding: 60px 70px;
        border: 5px solid rgb(255, 255, 255);
        box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
}



.btn {
    position: relative;
    border: 1px solid #f1f1f1 !important;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: var(--color-boton) !important;
    color: #2c3e50 !important;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: var(--color-boton-enfasis) !important;
    background-color: var(--color-boton-hover) !important;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-boton-enfasis);
    transition: width 0.3s ease;
}

.btn:hover::after {
    width: 70%;
}

/* Texto pequeño en botones grandes */
.btn small {
    font-size: 10px;
    color: #4c4c4c;
    display: block;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.btn:hover small {
    color: var(--color-boton-enfasis);
    font-weight: 500;
}

.btn.btn-signin {
        /*background-color: #4d90fe; */
        background-color: rgb(104, 145, 162);
        /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
        padding: 0px;
        font-weight: 700;
        font-size: 14px;
        height: 36px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        border: none;
        -o-transition: all 0.218s;
        -moz-transition: all 0.218s;
        -webkit-transition: all 0.218s;
        transition: all 0.218s;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
        background-color: rgb(12, 97, 33);
}

.forgot-password {
        color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus {
        color: rgb(12, 97, 33);
}

.card {
        -webkit-animation: bounce-in-top 1.1s both;
        animation: bounce-in-top 1.1s both;
}

/* Estilos generales */
body {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
}

body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 0;
}

.login-container {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        padding: 20px;
}

/* Tarjeta de login */
.login-card {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-brand {
        margin-bottom: 2rem;
}

.login-logo {
        max-width: 200px;
        height: auto;
        margin: 0 auto;
        display: block;
}

.login-title {
        color: #2c3e50;
        font-weight: 600;
        font-size: 1.5rem;
        margin-top: 1rem;
}

/* Formulario */
.login-form .form-control {
        height: 50px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        padding-left: 45px;
}

.login-form .form-floating label {
        padding-left: 45px;
        color: #7a7a7a;
}

.login-form .form-floating>.form-control:focus~label {
        padding-left: 45px;
}

.login-form .input-group-text {
        background: transparent;
        border-right: none;
}

/* Iconos de los inputs */
.login-form .form-floating {
        position: relative;
}

.login-form .form-floating label i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #4361ee;
}

/* Botones */
.btn-login {
        background-color: #4361ee;
        border: none;
        border-radius: 8px;
        padding: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
}

.btn-login:hover {
        background-color: #3a56d4;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-recover {
        color: #6c757d;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.2s ease;
}

.btn-recover:hover {
        color: #4361ee;
}

/* Animaciones */
.animated-card {
        animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
        from {
                opacity: 0;
                transform: translateY(30px);
        }

        to {
                opacity: 1;
                transform: translateY(0);
        }
}

/* Footer */
.login-footer {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 576px) {
        .login-card {
                padding: 1.5rem;
        }

        .login-logo {
                max-width: 150px;
        }
}