/* Login Page Styles */
body.login {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #1a56db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse Animation (legacy support) */
.pulse {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
}

.pulse .circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
}

.pulse .circles .circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse 5s calc(-1s * var(--i)) linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    90% {
        transform: scale(3);
        opacity: 0;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Primary color utility */
.text-primary {
    color: #1a56db;
}

.bg-primary {
    background-color: #1a56db;
}

/* Message alerts */
.message_alert_red {
    background-color: #ffe5e5;
    color: #dd0000;
    padding: 12px 16px;
    border-radius: 8px;
}

.icon_alert_blue {
    width: 20px;
    height: 20px;
    fill: #dd0000;
    margin-right: 8px;
}

/* Main style (legacy support) */
.main_style {
    background-color: #f3f7ff;
}

.main_style:hover {
    background-color: #f3f7ff;
}

.main_background-style {
    background-color: #f3f7ff !important;
}
