.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 4rem; /* Top padding for fixed header */
    background: radial-gradient(circle at 10% 20%, rgba(79, 209, 197, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(159, 122, 234, 0.05) 0%, transparent 40%);
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    width: 100%;
    max-width: 440px;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
}

.auth-logo img {
    height: 48px;
    width: auto;
}

.auth-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--glass-border);
}

.auth-tab {
    flex: 1;
    border: none;
    background: none;
    padding: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--primary-color);
    color: black;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.3);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-desc {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.auth-form button[type="submit"] {
    margin-top: 1rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i,
.input-wrapper svg {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1.2rem 1rem 3.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.1);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.auth-social .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
}
