body {
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Background glows for a premium aesthetic */
.bg-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
    transition: all 0.8s ease;
}

.bg-glow-blue {
    top: -10%;
    left: -10%;
    background: var(--neon-blue);
}

.bg-glow-purple {
    bottom: -10%;
    right: -10%;
    background: var(--neon-indigo);
}

/* Glassmorphic card container override for width and premium reflections */
.glass-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 2.75rem 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue) 0%, var(--neon-indigo) 100%);
}

/* Form elements transition styles */
.auth-step {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden-step {
    display: none;
    opacity: 0;
    transform: translateX(40px);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-indigo) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.btn-gradient:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
    color: #fff;
}

.btn-gradient:active:not(:disabled) {
    transform: translateY(0);
}

.btn-gradient:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
}

.error-message {
    font-size: 0.875rem;
    color: #f43f5e;
    margin-top: 0.5rem;
    min-height: 20px;
}

/* Translucent inputs with blur and glow focus transition effect */
.form-control {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-control::placeholder {
    color: rgba(15, 23, 42, 0.4) !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2) !important;
    color: #0f172a !important;
}

.form-control:disabled {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 0.7 !important;
}
