/* Auth Page */
.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Animated background */
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,200,160,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,160,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,200,160,.2) 0%, transparent 70%);
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
    bottom: -80px; right: -80px;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,.1) 0%, transparent 70%);
    top: 50%; left: 60%;
    animation-delay: -2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(.95); }
}

/* Auth Card */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: rgba(13,20,32,.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(30,45,66,.8);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
    animation: slideUp .5s ease forwards;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}

.logo-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #00c8a0, #007a62);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 0 30px rgba(0,200,160,.4);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.5px;
}
.logo-tagline {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .5px;
}

.auth-form { display: flex; flex-direction: column; gap: 20px; }

.input-wrapper { position: relative; }
.input-wrapper .form-input { padding-right: 44px; }

.toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: color var(--transition);
    padding: 4px;
}
.toggle-pass:hover { color: var(--text-primary); }

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.auth-hints {
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(0,200,160,.06);
    border: 1px solid rgba(0,200,160,.15);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hint-row {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
}
.hint-row i { color: var(--accent); font-size: 11px; width: 12px; }
.hint-row code {
    font-family: var(--font-mono);
    background: var(--bg-border);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 11px;
}
.auth-footer i { color: var(--accent); }
