body {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.2), transparent),
        radial-gradient(ellipse 50% 30% at 80% 20%, rgba(29, 78, 216, 0.15), transparent),
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(0, 212, 255, 0.1), transparent),
        var(--background);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: calc(var(--header-height) + 32px) 24px 32px;
}

.auth-layout {
    max-width: 1100px;
    width: 100%;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.26);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.auth-illustration {
    position: relative;
    background-image: url("/assets/images/LoginRegisterImage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 40px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.auth-illustration::before {
    content: "";
    position: absolute;
    inset: 32px 28px 28px 32px;
    border-radius: 22px;
    border: 1px solid rgba(248, 250, 252, 0.18);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
    pointer-events: none;
    z-index: 1;
}

.auth-illustration::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    pointer-events: none;
    z-index: 0;
}

.auth-illustration-content {
    position: relative;
    z-index: 2;
    color: #f9fafb;
    max-width: 360px;
}

.auth-illustration-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.28);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-illustration-title {
    font-size: 1.95rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 16px;
}

.auth-illustration-text {
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.92);
    margin: 0 0 24px;
}

.auth-illustration-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.8rem;
}

.auth-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.38);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

.auth-meta-item i {
    font-size: 0.7rem;
    color: #bfdbfe;
}

.auth-form-panel {
    background: transparent;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.auth-form-card {
    width: 100%;
    max-width: none;
    background: #ffffff;
    border-radius: 0 24px 24px 0;
    padding: 40px 40px 32px;
    box-shadow: none;
    border-left: 1px solid rgba(226, 232, 240, 0.9);
}

.auth-form-inner {
    max-width: 360px;
    margin: 0 auto;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 8px;
}

.auth-emoji {
    font-size: 1.5rem;
}

.auth-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-google-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.95rem;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
}

.auth-google-btn svg {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 20px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(226, 232, 240, 0.9);
}

.auth-divider span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.auth-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    background: #f8fafc;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4), 0 0 0 8px rgba(37, 99, 235, 0.08);
    background: #ffffff;
}

.auth-submit-btn {
    width: 100%;
    padding: 11px 18px;
    font-size: 0.96rem;
    justify-content: center;
    border-radius: 999px;
    margin-top: 4px;
}

.auth-alert {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-alert-success {
    background: #eff6ff;
    border: 1px solid #2563eb;
    color: #1d4ed8;
}

.auth-alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #b91c1c;
}

.auth-footer-text {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

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

@media (max-width: 900px) {
    .auth-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
    }

    .auth-illustration {
        display: none;
    }

    .auth-form-panel {
        padding: 24px 20px;
    }

    .auth-form-card {
        max-width: 100%;
        border-radius: 18px;
        padding: 24px 22px 22px;
        border: 1px solid rgba(226, 232, 240, 0.9);
    }
}

@media (max-width: 600px) {
    .auth-page {
        padding: calc(var(--header-height) + 16px) 16px 16px;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-illustration {
        display: none;
    }
}

