/* ===================================
   AUTH PAGES CSS
   =================================== */
.auth-body {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-bg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #2D1B4E 0%, #1A1A2E 40%, var(--dark) 100%);
    padding: 20px;
}

.auth-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
}

.auth-card {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(107, 47, 160, 0.4);
    border-radius: 20px;
    padding: 45px 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(107,47,160,0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.auth-om {
    font-size: 2.5rem;
    color: var(--gold);
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow: 0 0 20px var(--gold);
    line-height: 1;
}

.auth-logo-name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--white);
    display: block;
    font-weight: 700;
}

.auth-logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.auth-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form */
.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 7px;
    letter-spacing: 0.03em;
}

.auth-form label i {
    color: var(--primary-light);
    margin-right: 5px;
    width: 14px;
}

.auth-form input[type=text],
.auth-form input[type=email],
.auth-form input[type=password],
.auth-form input[type=tel] {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(107, 47, 160, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Libre Baskerville', serif;
    outline: none;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: var(--primary);
    background: rgba(107, 47, 160, 0.08);
    box-shadow: 0 0 0 3px rgba(107,47,160,0.15);
}

.auth-form input::placeholder { color: rgba(160,144,176,0.6); }

.input-eye {
    position: relative;
}

.input-eye input { padding-right: 45px; }

.eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0;
    transition: color 0.2s;
}

.eye-btn:hover { color: var(--gold); }

.form-row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
}

.checkbox-label input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a { color: var(--primary-light); }

.forgot-link {
    color: var(--primary-light);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.forgot-link:hover { color: var(--gold); }

.btn-auth {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107,47,160,0.5);
}

.btn-auth:active { transform: translateY(0); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(107,47,160,0.2);
}

.auth-footer {
    text-align: center;
}

.auth-footer p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.auth-footer a {
    color: var(--primary-light);
    transition: color 0.2s;
}

.auth-footer a:hover { color: var(--gold); }

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.alert i { flex-shrink: 0; margin-top: 2px; }
.alert a { color: inherit; text-decoration: underline; }
.alert-error { background: rgba(255,71,87,0.12); border: 1px solid rgba(255,71,87,0.4); color: #FF6B7A; }
.alert-success { background: rgba(46,213,115,0.12); border: 1px solid rgba(46,213,115,0.4); color: #2ED573; }
.alert-warning { background: rgba(255,190,11,0.12); border: 1px solid rgba(255,190,11,0.4); color: #FFD32A; }
.alert-info { background: rgba(107,47,160,0.12); border: 1px solid rgba(107,47,160,0.4); color: var(--primary-light); }

@media (max-width: 560px) {
    .auth-card { padding: 30px 20px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-row-flex { flex-direction: column; gap: 10px; align-items: flex-start; }
}
