/* ============================================================
   AURA AI — Auth Page Styles
   ============================================================ */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

/* Animated Orbs */
.auth-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .4;
    animation: drift 8s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #007AFF, transparent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #5856D6, transparent);
    bottom: -80px;
    left: -80px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #30D158, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
    opacity: .2;
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -20px) scale(1.1);
    }
}

/* Card */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    animation: cardIn .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--surface2);
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 24px rgba(0, 122, 255, .3);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
}

.logo-sub {
    font-size: .85rem;
    color: var(--text2);
    margin-top: 4px;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: var(--bg3);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    padding: 9px;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--text2);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.tab-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text3);
    font-size: .8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Google Button */
.btn-google {
    width: 100%;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background: var(--surface2);
    border-color: rgba(255, 255, 255, .15);
}

/* Error */
.auth-error {
    background: rgba(255, 55, 95, .12);
    border: 1px solid rgba(255, 55, 95, .3);
    color: var(--error);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: .85rem;
    margin-top: 8px;
}

/* Terms */
.auth-terms {
    text-align: center;
    font-size: .75rem;
    color: var(--text3);
    margin-top: 16px;
}

.auth-terms a {
    color: var(--blue);
    text-decoration: none;
}

@media (max-width: 460px) {
    .auth-card {
        padding: 24px 20px;
    }
}