﻿body {
    margin: 0;
}

.login-image {
    background: linear-gradient( 135deg, rgba(42, 117, 236, 0.88) 0%, rgba(18, 77, 190, 0.90) 45%, rgba(9, 38, 116, 0.94) 100% ), url('/images/CRM.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

#avisoPrivacidadModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

#avisoPrivacidadModal .modal-header,
#avisoPrivacidadModal .modal-footer {
    border: none;
}

#avisoPrivacidadModal .btn-primary {
    transition: all 0.3s ease;
}

    #avisoPrivacidadModal .btn-primary:hover:enabled {
        background-color: #5a67d8;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

/* Animación bienvenida */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/*====================================================================================*/
/* Authentication Start */
/*====================================================================================*/

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main-bg-color), var(--main-bg-color));
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.auth-logo {
    max-height: 55px;
}

.auth-title {
    text-align: center;
    font-weight: 600;
}

.auth-subtitle {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.auth-input {
    border-radius: 8px;
}

.auth-btn {
    background: var(--main-bg-color) !important;
    color: white;
    border-radius: 8px;
    font-weight: 200;
}

    .auth-btn:hover {
        background: var(--light-bg);
    }

.password-rules .rule {
    font-size: 13px;
    color: #999;
    transition: all .2s;
}

    .password-rules .rule.active {
        color: #198754;
        font-weight: 500;
    }

/*====================================================================================*/
/* Authentication End */
/*====================================================================================*/
