/* ============================================
   Auth Layout (Signup, Login, Verify)
   ============================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(40, 150, 205, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Logo */
.auth-logo {
    margin-bottom: 2.5rem;
    z-index: 1;
}

.logo-signature {
    font-family: 'Italianno', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gray-900);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-text .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Auth Card */
.auth-card {
    background: var(--admin-card-bg);
    border-radius: 28px;
    padding: 3.5rem 2.5rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.04),
        0 20px 80px rgba(40, 150, 205, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--admin-text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: var(--admin-text-secondary);
    font-size: 1rem;
}

/* Form Styles */
.required {
    color: var(--error);
    margin-left: 2px;
}

.optional {
    color: var(--admin-text-muted);
    font-weight: 400;
    font-size: 0.85em;
}

.auth-card-footer {
    border-top: 1px solid var(--admin-input-border);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

/* Back Link inside card */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--admin-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--primary-600);
    transform: translateX(-3px);
}

.back-link i {
    font-size: 0.9rem;
}

/* Verify Email Page */
.verify-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(40, 150, 205, 0.1) 0%, rgba(108, 92, 231, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-ring 2s ease-out infinite;
}

.verify-icon i {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 150, 205, 0.2);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(40, 150, 205, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 150, 205, 0);
    }
}

.verify-email-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-600);
    word-break: break-all;
}

.verify-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.verify-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--admin-text-secondary);
    font-size: 0.9rem;
}

.verify-steps li i {
    color: var(--primary-500);
    margin-top: 0.15rem;
}

.resend-timer {
    font-size: 0.85rem;
    color: var(--admin-text-muted);
    margin-top: 0.5rem;
}

/* Auth Info (Verification notice) */
.auth-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--admin-text-secondary);
    font-size: 0.875rem;
}

.auth-info i {
    color: var(--primary-500);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--admin-text-muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--admin-input-border);
}

.auth-divider:not(:empty)::before {
    margin-right: 1rem;
}

.auth-divider:not(:empty)::after {
    margin-left: 1rem;
}

/* Auth Link (Switch between Login/Signup) */
.auth-link {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--admin-text-secondary);
}

.auth-link a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}