body.sn-auth-body {
    margin: 0;
    min-height: 100vh;
    background: #eef2f8;
    color: #16325c;
    font-family: 'Poppins', sans-serif;
}

.sn-auth,
.sn-auth button,
.sn-auth input,
.sn-auth label,
.sn-auth p,
.sn-auth a,
.sn-auth small,
.sn-auth span,
.sn-auth strong,
.sn-auth li {
    font-family: 'Poppins', sans-serif;
}

.sn-auth h1,
.sn-auth h2,
.sn-auth .font-head {
    font-family: 'Outfit', sans-serif;
}

.sn-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 46%) minmax(0, 1fr);
}

.sn-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 42px 28px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.14), transparent 26%),
        radial-gradient(circle at 92% 88%, rgba(247, 147, 30, 0.28), transparent 34%),
        linear-gradient(165deg, #12398a 0%, #081a45 72%);
    color: #fff;
}

.sn-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.28) 0.8px, transparent 0.8px),
        linear-gradient(120deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px, 48px 48px;
    opacity: 0.35;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.sn-panel::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    top: -90px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03), 0 0 0 80px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.sn-panel > * { position: relative; z-index: 1; }

.sn-logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 8px 14px;
    background: #fff;
    border-radius: 16px;
}

.sn-logo img {
    display: block;
    height: 58px;
    width: auto;
    max-width: min(280px, 70vw);
    object-fit: contain;
}

.sn-panel h1 {
    margin: 22px 0 10px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.sn-lead {
    max-width: 42ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.55;
}

.sn-points { display: grid; gap: 14px; margin-top: 28px; }
.sn-point { display: flex; align-items: center; gap: 14px; }

.sn-pico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.sn-pico svg { width: 22px; height: 22px; display: block; }
.sn-point.is-green .sn-pico { background: #e8f8ef; color: #14915a; }
.sn-point.is-amber .sn-pico { background: #fff4e5; color: #e58300; }
.sn-point.is-lilac .sn-pico { background: #f3eaff; color: #7c3aed; }
.sn-point.is-blue .sn-pico { background: #e7f0ff; color: #1e6fe0; }
.sn-point strong { display: block; font-size: 15px; font-weight: 700; }
.sn-point > div span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.68); font-size: 13px; }

.sn-support {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    padding: 16px 18px;
    background: rgba(8, 22, 64, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.sn-support .sn-pico { background: #ffe7c2; color: #e58300; }
.sn-support strong { display: block; font-size: 15px; }
.sn-support p { margin: 3px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.sn-support a { color: #f7931e; font-weight: 700; text-decoration: none; }

.sn-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 36px;
    background: #f4f7fb;
}

.sn-card {
    width: min(480px, 100%);
    padding: 28px 28px 22px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 35, 80, 0.08);
}

.sn-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }

.sn-card-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #1e6fe0;
    flex-shrink: 0;
    line-height: 0;
}

.sn-card-ico svg,
.sn-glyph svg,
.sn-eye svg,
.sn-submit svg { width: 18px; height: 18px; display: block; }

.sn-card h2 { margin: 0; color: #16325c; font-size: 1.45rem; font-weight: 800; }
.sn-card-head p { margin: 3px 0 0; color: #6b7794; font-size: 13.5px; }

.sn-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.sn-steps li { position: relative; text-align: center; }

.sn-steps li::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: #e3eaf6;
}

.sn-steps li:last-child::after { display: none; }

.sn-step-no {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    margin: 0 auto 6px;
    border: 2px solid #d5deec;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #6b7794;
    font-size: 13px;
    font-weight: 800;
}

.sn-steps .is-current .sn-step-no {
    background: #0a2a6b;
    border-color: #0a2a6b;
    color: #fff;
    box-shadow: 0 0 0 4px #e7eefb;
}

.sn-steps .is-done .sn-step-no {
    background: #14915a;
    border-color: #14915a;
    color: #fff;
}

.sn-steps .is-done::after { background: #14915a; }

.sn-steps strong { display: block; color: #16325c; font-size: 13px; }
.sn-steps .is-current strong { color: #0a2a6b; }
.sn-steps small { display: block; color: #8b97ad; font-size: 11px; }

.sn-alert {
    margin-bottom: 14px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.sn-alert ul { margin: 6px 0 0; padding-left: 18px; }
.sn-alert.is-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.sn-alert.is-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.sn-field { margin-bottom: 12px; }
.sn-field label { display: block; margin-bottom: 7px; color: #1b2b4b; font-size: 13px; font-weight: 700; }
.sn-input { position: relative; }

.sn-glyph {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    color: #6d7c96;
}

.sn-input input {
    width: 100%;
    height: 48px;
    padding: 0 44px;
    border: 1px solid #e3eaf6;
    border-radius: 12px;
    background: #fff;
    color: #16325c;
    font-size: 14px;
    outline: none;
}

.sn-input input:focus {
    border-color: #1e6fe0;
    box-shadow: 0 0 0 4px rgba(30, 111, 224, 0.1);
}

.sn-phone .sn-glyph { left: 14px; }
.sn-phone input { padding-left: 86px; }

.sn-cc {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #16325c;
    font-size: 14px;
    font-weight: 700;
}

.sn-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #5c6e8c;
    display: grid;
    place-items: center;
    padding: 0;
}

.sn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0 16px;
    font-size: 13px;
}

.sn-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #5c6b88;
    font-weight: 600;
}

.sn-row input { accent-color: #0a2a6b; }
.sn-row a { color: #1e6fe0; font-weight: 700; text-decoration: none; }

.sn-strength { margin: -2px 0 12px; }
.sn-strength-top { display: flex; justify-content: space-between; color: #6b7794; font-size: 12px; margin-bottom: 6px; }
.sn-strength-top strong { color: #16325c; font-weight: 700; }
.sn-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.sn-bars span { height: 4px; border-radius: 99px; background: #e6edf6; }
.sn-bars.is-1 span:nth-child(-n+1),
.sn-bars.is-2 span:nth-child(-n+2) { background: #e11d48; }
.sn-bars.is-3 span:nth-child(-n+3) { background: #f7931e; }
.sn-bars.is-4 span { background: #14915a; }

.sn-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #8b97ad;
    font-size: 12px;
}

.sn-rules li { display: flex; align-items: center; gap: 6px; }
.sn-rules li::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 1.5px solid #d5deec;
    border-radius: 50%;
    flex-shrink: 0;
}
.sn-rules li.is-on { color: #14915a; }
.sn-rules li.is-on::before { background: #14915a; border-color: #14915a; box-shadow: inset 0 0 0 2px #fff; }

.sn-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 14px;
    color: #5c6b88;
    font-size: 13px;
}

.sn-terms input { margin-top: 3px; accent-color: #0a2a6b; }
.sn-terms a { color: #1e6fe0; font-weight: 700; text-decoration: none; }

.sn-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #f7931e;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sn-submit:hover { background: #e58300; color: #fff; }
.sn-new { margin: 16px 0 0; text-align: center; color: #6b7794; font-size: 13.5px; }
.sn-new a { color: #1e6fe0; font-weight: 800; text-decoration: none; }
.sn-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 16px; }
.sn-links a { color: #6b7794; font-size: 12.5px; text-decoration: none; }
.sn-input.is-invalid input { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.08); }
.sn-terms.is-invalid { color: #e11d48; }
.sn-error { display: block; margin-top: 6px; color: #e11d48; font-size: 12px; font-weight: 600; }

body.sn-auth-body .site-footer { margin-top: 56px; }

@media (max-width: 991.98px) {
    .sn-auth { grid-template-columns: 1fr; min-height: 0; }
    .sn-panel { display: none; }
    .sn-stage { padding-top: 18px; }
}

@media (max-width: 640px) {
    .sn-card { padding: 22px 16px 18px; border-radius: 22px; }
    .sn-rules { grid-template-columns: 1fr; }
    .sn-row { align-items: flex-start; flex-direction: column; }
}
