/* Estilos específicos del login */
body.login-page {
    background-image: url('../image/fondo_login.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'inter' !important;
    color: #113463;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    font-family: 'inter';
    color: #113463;
    text-align: left;
    line-height: 28px;
    margin-bottom: 10px;
}

h5 {
    font-size: 16px;
    font-weight: 500;
    font-family: 'inter';
    color: #113463;
    text-align: left;
    line-height: 23px;
    margin-bottom: 20px;
}

.remember-me {
    font-size: 14px;
    font-weight: 500;
    font-family: 'inter';
    color: #0066EE;
    text-align: left;
    line-height: 20px;
}

.company-logo {
    max-width: 133.32px;
    height: auto;
    max-height: 100px;
    animation: bounceIn 1s ease-in-out;
}

.login-box {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 450px;
    background: #ffffff;
    box-shadow: 0px 0px 12px #00000014;
    border-radius: 15px;
    overflow: hidden;
    transform: scale(0.8);
    animation: popIn 0.5s ease-in-out forwards;
    margin: 50px auto 50px;
}

.login-logo {
    display: flex;
    align-items: start !important;
    justify-content: start !important;
    padding-left: 40px;
    margin: 0 0 0px 0;
}

.login-logo a {
    display: block;
    text-align: center !important;
    justify-content: center !important;
    align-items: center;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-top: 44px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: none !important;
    margin-bottom: 0px !important;
}

.card-body {
    padding: 30px;
}

.login-card-body {
    padding: 40px;
}

.login-box-msg {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

#boton-ingresar {
    max-width: 370px;
    margin-bottom: -10px;
    margin-top: 30px;
    margin-left: 5px;
    box-shadow: none;
}

.iniciar-sesion {
    padding-top: 34px;
}

.fichaje-rapido {
    border-radius: 16px;
    border: 6px solid #91e8ff;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    background-color: #f9fafb;
    border-radius: 8px;
    height: 40px;
    padding: 10px 20px;
    font-size: 13px;
    border: 2px solid #e4e4e4;
    transition: all 0.3s ease;
}

.form-control:focus {
    /* border-color: #007bff; */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    transform: scale(1.03);
}

.btn-block {
    display: block;
    width: 100%;
    padding: 0px;
}

.btn-primary {
    background-color: #0066EE;
    border-radius: 8px;
    height: 40px;
    font-family: 'inter';
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #004fb8;
    transform: scale(1.03);
}

.btn-primary:focus {
    box-shadow: none !important;
}

.btn-primary:disabled {
    background-color: #7fb2f6;
}

.icheck-primary {
    display: flex;
    align-items: center;
}

.icheck-primary input[type="checkbox"] {
    margin-right: 10px;
}

.icheck-primary label {
    margin: 0;
    font-size: 14px;
}

.alert-info {
    background-color: #e9f7fd;
    color: #31708f;
    border: 1px solid #bce8f1;
    border-radius: 30px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    0% {
        opacity: 0;
        transform: scale(0.3) translate3d(0, -3000px, 0);
    }
    20% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(0.9);
    }
    60% {
        opacity: 1;
        transform: scale(1.03);
    }
    80% {
        transform: scale(0.97);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn-google {
    background-color: #ffffff;
    color: #0066EE;
    border: 2px solid #0066EE;
    border-radius: 8px;
    height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn-google:hover {
    background-color: #ffffff;
    transform: scale(1.03);
    color: #0066EE;
}

.google-logo {
    height: 20px;
    margin-right: 10px;
}

.error-message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    display: none;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */

@media (max-width: 768px) {
    .login-box {
        width: 95%;
        margin: 30px auto;
        transform: scale(1);
    }

    .login-logo {
        justify-content: center !important;
        padding-left: 0;
    }

    .company-logo {
        max-width: 100px;
    }

    .card-body, .login-card-body {
        padding: 20px;
    }

    h3 {
        font-size: 18px;
        text-align: center;
    }

    h5 {
        font-size: 14px;
        text-align: center;
    }

    .remember-me {
        font-size: 13px;
        text-align: center;
        line-height: 1em;
    }

    #boton-ingresar {
        margin: 20px auto 0;
    }

    .btn-google {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .google-logo {
        margin: 0 0 10px 0;
    }
}

@media (max-width: 480px) {
    .form-control {
        font-size: 14px;
        height: 45px;
        padding: 8px 16px;
    }

    .btn-primary {
        font-size: 12px;
        height: 38px;
    }

    .fichaje-rapido {
        border-width: 4px;
        padding: 20px;
    }
}
