.sf-auth-page {
    min-height: 100vh;
    background:
        radial-gradient(1000px 520px at 100% -12%, rgba(37, 99, 235, 0.22), transparent 60%),
        radial-gradient(720px 380px at -8% 100%, rgba(59, 130, 246, 0.24), transparent 58%),
        linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
}

.sf-auth-scene {
    position: relative;
    overflow: hidden;
}

.sf-auth-scene::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    top: -130px;
    right: -140px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.32), rgba(37, 99, 235, 0.08));
    filter: blur(6px);
    pointer-events: none;
}

.sf-auth-scene::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    bottom: -180px;
    left: -130px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.24), rgba(14, 165, 233, 0.04));
    pointer-events: none;
}

.sf-auth-logo img {
    filter: drop-shadow(0 14px 24px rgba(37, 99, 235, 0.22));
}

.sf-auth-card {
    position: relative;
    z-index: 1;
    border: 1px solid #d8e6ff;
    border-radius: 24px;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.sf-auth-card h1 {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 800;
}

.sf-auth-card .text-gray-500,
.sf-auth-card .text-gray-400 {
    color: #5f6f8d !important;
}

.sf-auth-tabs {
    margin-bottom: 1rem;
}

.sf-auth-tabs .nav-link {
    border: 1px solid #cfe0ff;
    border-radius: 12px;
    background: #f9fbff;
    color: #315185;
    transition: all 0.2s ease;
}

.sf-auth-tabs .nav-link.active,
.sf-auth-tabs .nav-link:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.sf-auth-card .form-control.form-control-solid {
    background: #f8fbff !important;
    border: 1px solid #ccdcfb !important;
    border-radius: 13px;
    color: #0f172a;
}

.sf-auth-card .form-control.form-control-solid:focus {
    border-color: #7fa9f9 !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.14);
}

.sf-auth-card .btn.btn-primary {
    border-radius: 12px;
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.sf-auth-card .btn.btn-primary:hover {
    background: linear-gradient(135deg, #1f5bdd, #1e40af);
}

.sf-auth-note {
    border: 1px dashed #c6d8fd;
    border-radius: 12px;
    background: #f7faff;
    color: #4a6084;
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
}

.sf-auth-footer-links a {
    color: #5f6f8d !important;
}

.sf-auth-footer-links a:hover {
    color: #1d4ed8 !important;
}

@media (max-width: 991.98px) {
    .sf-auth-card {
        border-radius: 18px;
    }
}

@media (max-width: 767.98px) {
    .sf-auth-page .p-10 {
        padding: 1rem !important;
    }

    .sf-auth-card {
        border-radius: 16px;
        padding: 1rem !important;
    }

    .sf-auth-tabs .nav-link {
        padding: 0.55rem 0.75rem !important;
        font-size: 0.84rem;
    }
}
