/* ==========================================================================
   iLesso Admin Panel — Auth/Login Views (auth.css)
   ========================================================================== */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Background Glowing Orbs */
.auth-wrapper::before, .auth-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.15;
}

.auth-wrapper::before {
    background-color: var(--color-accent);
    top: -100px;
    left: -100px;
}

.auth-wrapper::after {
    background-color: var(--color-info);
    bottom: -100px;
    right: -100px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    z-index: 2;
    backdrop-filter: blur(8px);
    animation: fadeIn var(--transition-slow) ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.auth-logo svg {
    color: var(--color-accent);
    width: 32px;
    height: 32px;
}

.auth-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
}

.auth-footer a {
    color: var(--color-accent);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth Alerts */
.auth-alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
    border: 1px solid transparent;
}

.auth-alert-danger {
    background-color: #fef2f2;
    border-color: #fee2e2;
    color: var(--color-danger);
}

.auth-alert-success {
    background-color: #ecfdf5;
    border-color: #d1fae5;
    color: var(--color-success);
}

.auth-alert-warning {
    background-color: var(--color-creme);
    border-color: #fde8d0;
    color: #c27813;
}
