/* Glassmorphism Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.25), transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 213, 115, 0.15), transparent 70%);
    bottom: -80px;
    left: -80px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

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

.auth-card {
    background: rgba(20, 20, 40, 0.35);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.auth-card .logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card .logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.auth-card .logo h1 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-card .logo p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 4px;
}

.auth-card .form-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    padding: 14px 18px;
    color: white;
    border-radius: 12px;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s;
}

.auth-card .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.auth-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.auth-card .btn-primary {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, var(--primary), #8B7CF7);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.auth-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.4);
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-card .auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

.auth-card .auth-footer a:hover {
    text-decoration: underline;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card .form-group label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

/* Error message */
.auth-error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--danger);
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

.auth-error.show {
    display: block;
}

@media (max-width:480px) {
    .auth-container { padding:12px; }
    .auth-card { padding:28px 20px;border-radius:16px; }
    .auth-card .logo-icon { width:44px;height:44px; }
    .auth-card .logo h1 { font-size:18px; }
    .auth-card .form-input { padding:12px 14px;font-size:13px; }
}
