﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* ── Root layout ── */
.sb-root {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ══════════════════════════════
           LEFT PANEL
        ══════════════════════════════ */
.sb-aside {
    width: 480px;
    flex-shrink: 0;
    background: #030712;
    position: relative;
    overflow: hidden;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* aurora glow blobs */
.sb-aurora {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(90px);
}

.sb-aurora-1 {
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, #10b981 0%, transparent 65%);
    top: -250px;
    left: -190px;
    opacity: 0.50;
    animation: af1 13s ease-in-out infinite alternate;
}

.sb-aurora-2 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 65%);
    bottom: -200px;
    right: -150px;
    opacity: 0.38;
    animation: af2 16s ease-in-out infinite alternate;
}

.sb-aurora-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 65%);
    top: 40%;
    left: 32%;
    opacity: 0.22;
    animation: af3 19s ease-in-out infinite alternate;
}

@keyframes af1 {
    from {
        transform: translate(0,0) scale(1)
    }

    to {
        transform: translate(28px,38px) scale(1.07)
    }
}

@keyframes af2 {
    from {
        transform: translate(0,0) scale(1)
    }

    to {
        transform: translate(-22px,-32px) scale(1.06)
    }
}

@keyframes af3 {
    from {
        transform: translate(0,0) scale(1)
    }

    to {
        transform: translate(18px,-18px) scale(1.11)
    }
}

/* dot grid */
.sb-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 0;
}

.sb-aside > * {
    position: relative;
    z-index: 1;
}

/* logo */
.sb-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.sb-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(16,185,129,0.40);
    flex-shrink: 0;
}

    .sb-logo-icon i {
        font-size: 20px;
        color: #fff;
    }

.sb-logo-name {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

/* hero */
.sb-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #6ee7b7;
    background: rgba(16,185,129,0.10);
    border: 1px solid rgba(16,185,129,0.22);
    border-radius: 50px;
    padding: 5px 14px;
    margin-bottom: 20px;
    width: fit-content;
}

.sb-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(16,185,129,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0);
    }
}

.sb-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.sb-hero-accent {
    background: linear-gradient(90deg, #34d399, #38bdf8, #a78bfa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gshift 6s linear infinite;
}

@keyframes gshift {
    0% {
        background-position: 0% center
    }

    100% {
        background-position: 200% center
    }
}

.sb-hero-sub {
    font-size: 13.5px;
    color: rgba(255,255,255,0.42);
    line-height: 1.72;
    margin-bottom: 32px;
    max-width: 340px;
}

/* feature cards */
.sb-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sb-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sb-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--c);
    font-size: 15px;
}

.sb-feat-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    margin-bottom: 2px;
}

.sb-feat-desc {
    font-size: 11.5px;
    color: rgba(255,255,255,0.32);
    line-height: 1.4;
}

/* stats */
.sb-bottom {
    margin-top: auto;
    padding-top: 28px;
}

.sb-stats {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 14px 0;
    margin-bottom: 16px;
}

.sb-stat {
    flex: 1;
    text-align: center;
}

.sb-stat-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.sb-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.32);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sb-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* testimonial */
.sb-tbox {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 18px 20px 14px;
}

.sb-tcarousel {
    position: relative;
    min-height: 108px;
}

.sb-tslide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    .sb-tslide.active {
        position: relative;
        opacity: 1;
        pointer-events: auto;
    }

.sb-tquote {
    font-size: 12.5px;
    color: rgba(255,255,255,0.52);
    line-height: 1.72;
    margin-bottom: 14px;
    font-style: italic;
}

.sb-tauthor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-tavatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg,#10b981,#0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(16,185,129,0.32);
}

.sb-tname {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
}

.sb-trole {
    font-size: 11px;
    color: rgba(255,255,255,0.32);
}

.sb-tcontrols {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sb-tdots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.sb-tdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
}

    .sb-tdot.active {
        background: #10b981;
        width: 18px;
        border-radius: 4px;
    }

.sb-tarrows {
    display: flex;
    gap: 6px;
}

.sb-tarrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.44);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .sb-tarrow:hover {
        background: rgba(16,185,129,0.18);
        border-color: rgba(16,185,129,0.32);
        color: #6ee7b7;
    }

/* ══════════════════════════════
           RIGHT PANEL
        ══════════════════════════════ */
.sb-main {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

    .sb-main::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 50% at 80% 15%, rgba(16,185,129,0.05) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 15% 85%, rgba(14,165,233,0.04) 0%, transparent 60%);
        pointer-events: none;
        z-index: 0;
    }

.sb-form-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: slideUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* heading */
.sb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.18);
    border-radius: 50px;
    padding: 4px 12px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

    .sb-eyebrow i {
        font-size: 12px;
    }

.sb-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.7px;
    margin-bottom: 5px;
}

.sb-form-sub {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* alert */
.sb-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 18px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    animation: alertIn 0.2s ease;
}

    .sb-alert i {
        font-size: 16px;
        flex-shrink: 0;
        margin-top: 1px;
    }

@keyframes alertIn {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.sb-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: calc(100vw - 48px);
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(15,23,42,0.18);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    animation: toastIn 0.25s ease both;
}

.sb-toast-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.sb-toast i {
    font-size: 18px;
    flex-shrink: 0;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* fields */
.sb-field {
    margin-bottom: 16px;
}

.sb-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}

.sb-input-wrap {
    position: relative;
}

.sb-input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #cbd5e1;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 2;
}

.sb-input {
    width: 100%;
    height: 50px;
    padding: 0 50px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

    .sb-input::placeholder {
        color: #cbd5e1;
    }

    .sb-input:hover {
        border-color: #a7f3d0;
        background: #f0fdf9;
    }

    .sb-input:focus {
        border-color: #10b981;
        box-shadow: 0 0 0 4px rgba(16,185,129,0.10);
        background: #fff;
    }

.sb-input-wrap:focus-within .sb-input-icon {
    color: #10b981;
}

.sb-input.is-invalid {
    border-color: #f43f5e;
    background: #fff5f6;
}

.sb-eye {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    z-index: 2;
}

    .sb-eye:hover {
        color: #10b981;
    }

.sb-forgot {
    font-size: 12.5px;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    transition: color 0.2s;
}

    .sb-forgot:hover {
        color: #059669;
        text-decoration: underline;
    }

/* checkbox */
.sb-check-row {
    margin-bottom: 22px;
}

.sb-check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: #64748b;
    cursor: pointer;
    user-select: none;
}

.sb-checkbox {
    width: 17px;
    height: 17px;
    accent-color: #10b981;
    cursor: pointer;
}

/* button */
.sb-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    color: #fff;
    border: none;
    border-radius: 13px;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(16,185,129,0.35);
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}

    .sb-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.13) 0%, transparent 70%);
        border-radius: inherit;
        pointer-events: none;
    }

    .sb-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
        transform: skewX(-20deg);
        transition: left 0.55s ease;
    }

    .sb-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 36px rgba(16,185,129,0.45);
    }

        .sb-btn:hover::after {
            left: 150%;
        }

    .sb-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 16px rgba(16,185,129,0.30);
    }

    .sb-btn:disabled {
        opacity: 0.60;
        cursor: not-allowed;
        transform: none !important;
    }

.sb-btn-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.30);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* footer */
.sb-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.sb-secure {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
}

    .sb-secure i {
        font-size: 13px;
        color: #10b981;
    }

.sb-links {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    color: #94a3b8;
}

    .sb-links a {
        color: #64748b;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s;
    }

        .sb-links a:hover {
            color: #10b981;
        }

.sb-dot {
    color: #e2e8f0;
}

/* mobile logo */
.sb-mobile-logo {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .sb-aside {
        display: none !important;
    }

    .sb-mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 28px;
    }

    .sb-main {
        background: #fff;
    }

        .sb-main::before {
            display: none;
        }
}

@media (max-width: 576px) {
    html, body {
        overflow: auto;
    }

    .sb-root {
        height: auto;
    }

    .sb-main {
        height: auto;
        min-height: 100vh;
        padding: 36px 20px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .sb-form-title {
        font-size: 1.5rem;
    }

    .sb-btn {
        height: 48px;
        font-size: 14.5px;
    }

    .sb-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sb-toast {
        top: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        min-width: 0;
        max-width: none;
    }
}
