.auth-page {
    min-height: 100vh;
    display: flex;
    background-color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

.auth-sidebar {
    flex: 1;
    background: linear-gradient(145deg, #0b1f38 0%, #0f2b52 50%, #1a3a6e 100%);
    color: #e2e8f0;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Glowing orb effect */
.auth-sidebar::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51,149,255,0.35) 0%, rgba(77,142,255,0.15) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: repeating-linear-gradient(
        -45deg,
        rgba(51, 149, 255, 0.03) 0px,
        rgba(51, 149, 255, 0.03) 20px,
        rgba(0, 0, 0, 0) 20px,
        rgba(0, 0, 0, 0) 60px
    );
    z-index: 1;
    pointer-events: none;
}

.auth-sidebar-top {
    position: relative;
    z-index: 10;
}

.auth-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.auth-sidebar-bottom {
    position: relative;
    z-index: 10;
}

.auth-sidebar h2 {
    font-size: 2.75rem;
    max-width: 500px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.auth-sidebar-features {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    color: rgba(173, 198, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.auth-content {
    flex: 0.8;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    font-family: 'Inter', sans-serif;
}

.auth-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #0b1f38;
    font-weight: 700;
}

.auth-card .subtitle {
    color: #5e6c84;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ebecf0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #3395ff;
    box-shadow: 0 0 0 3px rgba(51, 149, 255, 0.1);
}

.auth-error {
    background: #ffebe6;
    color: #bf2600;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: none;
}

.btn-continue {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.85rem;
    width: 100%;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-continue:hover {
    background: #1d4ed8;
}

.btn-continue:disabled {
    background: #93c5fd;
    cursor: default;
}

.social-btn {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 1px solid #ebecf0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
    color: #42526e;
}

.social-btn:hover {
    background: #f4f5f7;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #8993a4;
    font-size: 0.75rem;
    margin: 1.5rem 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ebecf0;
}

.divider:not(:empty)::before { margin-right: 1rem; }
.divider:not(:empty)::after { margin-left: 1rem; }

.terms-text {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #8993a4;
    line-height: 1.5;
}

.terms-text a {
    color: #2563eb;
    text-decoration: none;
}

.auth-switch-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-switch-link a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch-link a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-page { flex-direction: column; background: #0b1f38; }
    .auth-sidebar { 
        padding: 3rem 2rem;
        flex: none;
        min-height: auto;
        background: radial-gradient(circle at top right, #1a3a6e, #0b1f38);
    }
    .auth-sidebar h2 { font-size: 1.8rem; }
    .auth-sidebar-features { display: none; }
    .auth-sidebar-bottom { margin-top: 1.5rem; }
    .auth-content { 
        padding: 3rem 1.5rem; 
        background: #ffffff;
        border-radius: 24px 24px 0 0;
        margin-top: -20px;
        position: relative;
        z-index: 20;
    }
}
