/* Halaman auth disesuaikan dengan tema beranda ClickKasir 3.0. */
body.rs-auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 14%, rgba(18, 104, 215, 0.22), transparent 24%),
        radial-gradient(circle at 82% 78%, rgba(236, 27, 127, 0.2), transparent 28%),
        linear-gradient(135deg, #061a45 0%, #05276c 46%, #39105c 78%, #051434 100%);
    color: #ffffff;
}

body.rs-auth-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4, 24, 66, 0.98) 0%, rgba(4, 26, 73, 0.92) 42%, rgba(24, 23, 80, 0.42) 62%, rgba(238, 19, 130, 0.12) 100%),
        url("../../img/landing/clickkasir-water-bg.jpeg") right center / cover no-repeat;
}

body.rs-auth-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 18% 30%, rgba(18, 104, 215, 0.28), transparent 30%);
    pointer-events: none;
}

.rs-auth-main {
    padding: 6.4rem 0 2rem;
}

.rs-auth-container {
    max-width: 1120px;
}

.rs-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: calc(100vh - 220px);
}

.rs-auth-intro {
    max-width: 590px;
}

.rs-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.42rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(14px);
}

.rs-auth-heading {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.35rem, 4.8vw, 4.55rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.rs-auth-heading span {
    color: #ec1b7f;
}

.rs-auth-copy {
    max-width: 510px;
    margin: 1.1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.75;
}

.rs-auth-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 560px;
    margin-top: 1.6rem;
}

.rs-auth-point {
    min-height: 118px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.rs-auth-point strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
}

.rs-auth-point small {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.rs-auth-card {
    width: 100%;
    max-width: 430px;
    justify-self: end;
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 72px rgba(5, 18, 52, 0.28);
    color: #161a26;
    backdrop-filter: blur(18px);
}

.rs-auth-card__header {
    margin-bottom: 1.1rem;
}

.rs-auth-title {
    margin: 0 0 0.45rem;
    color: #161a26;
    font-size: clamp(1.85rem, 4vw, 2.28rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.rs-auth-subtitle {
    margin: 0;
    color: #647083;
    font-size: 0.98rem;
    line-height: 1.55;
}

.rs-auth-card .rs-label {
    color: #252b3a;
    font-weight: 500;
}

.rs-auth-card .rs-input {
    min-height: 46px;
    border: 1px solid rgba(18, 104, 215, 0.16);
    border-radius: 14px;
    background: #f8fbff;
    color: #161a26;
}

.rs-auth-card .rs-input:focus {
    border-color: rgba(236, 27, 127, 0.58);
    box-shadow: 0 0 0 4px rgba(236, 27, 127, 0.12);
}

.rs-auth-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.rs-auth-actions .rs-btn {
    min-height: 46px;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
}

.rs-auth-actions .rs-btn-primary {
    border: 0;
    background: linear-gradient(135deg, #f02a88, #df176b);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(236, 27, 127, 0.26);
}

.rs-auth-actions .rs-btn-soft {
    border: 1px solid rgba(18, 104, 215, 0.16);
    background: #eef5ff;
    color: #1268d7;
}

.rs-auth-body .rs-global-footer--ringkas {
    margin-top: 0;
    border: 0;
    background: transparent;
}

.rs-auth-body .rs-global-footer__inner,
.rs-auth-body .rs-global-footer__inner--ringkas {
    justify-content: center;
    min-height: 56px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
}

.rs-auth-body .alert,
.rs-auth-body .rs-form-errors {
    border: 1px solid rgba(236, 27, 127, 0.2);
    border-radius: 14px;
    background: rgba(236, 27, 127, 0.08);
    color: #9d174d;
    box-shadow: none !important;
}

.rs-auth-body .rs-form-errors ul {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .rs-auth-main {
        padding-top: 6.7rem;
    }

    .rs-auth-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .rs-auth-intro {
        max-width: 720px;
        text-align: center;
        justify-self: center;
    }

    .rs-auth-copy {
        margin-left: auto;
        margin-right: auto;
    }

    .rs-auth-card {
        justify-self: center;
    }
}

@media (max-width: 767.98px) {
    .rs-auth-points {
        grid-template-columns: 1fr;
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
    }

    .rs-auth-point {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .rs-auth-main {
        padding: 5.8rem 0 1.5rem;
    }

    .rs-auth-body .ck2-water-topbar {
        padding: 0.75rem 0;
    }

    .rs-auth-body .ck2-water-topbar__inner {
        min-height: 68px;
        padding: 0.75rem 1rem;
        border-radius: 14px;
    }

    .rs-auth-heading {
        font-size: 2.35rem;
    }

    .rs-auth-copy {
        font-size: 0.98rem;
    }

    .rs-auth-card {
        max-width: none;
        padding: 1.2rem;
        border-radius: 22px;
    }

    .rs-auth-title {
        font-size: 1.82rem;
    }

    .rs-auth-actions {
        grid-template-columns: 1fr;
    }

    .rs-auth-actions .rs-btn {
        width: 100%;
    }
}

.rs-auth-card.rs-card {
    padding: 0;
}

.rs-auth-card.rs-card > .card-header,
.rs-auth-card.rs-card > form > .card-header {
    margin-bottom: 0;
}

.rs-auth-card.rs-card > .card-body,
.rs-auth-card.rs-card > form > .card-body {
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.rs-auth-card.rs-card > .card-footer,
.rs-auth-card.rs-card > form > .card-footer {
    margin-top: 0;
}


/* Kunci halaman login agar tidak terpengaruh dark mode global. */
html[data-rs-auth-lock="terang"],
html[data-rs-auth-lock="terang"] body.rs-auth-body {
    color-scheme: light;
}

html[data-rs-auth-lock="terang"] body.rs-auth-body {
    background:
        radial-gradient(circle at 20% 14%, rgba(18, 104, 215, 0.22), transparent 24%),
        radial-gradient(circle at 82% 78%, rgba(236, 27, 127, 0.2), transparent 28%),
        linear-gradient(135deg, #061a45 0%, #05276c 46%, #39105c 78%, #051434 100%) !important;
    color: #ffffff !important;
}

html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-auth-card,
html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-card {
    background: rgba(255, 255, 255, 0.97) !important;
    color: #161a26 !important;
}

html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-label,
html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-auth-title,
html[data-rs-auth-lock="terang"] body.rs-auth-body .card-title {
    color: #161a26 !important;
    font-weight: 500;
}

html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-input {
    background: #f8fbff !important;
    border-color: rgba(18, 104, 215, 0.16) !important;
    color: #161a26 !important;
    box-shadow: none;
}

html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-input::placeholder {
    color: #98a2b3;
}

html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-auth-card .card-header,
html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-auth-card .card-body,
html[data-rs-auth-lock="terang"] body.rs-auth-body .rs-auth-card .card-footer {
    background: transparent !important;
}

.rs-auth-card.rs-card {
    overflow: hidden;
}

.rs-auth-card.rs-card::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #1268d7, #ec1b7f);
}

.rs-auth-card .rs-field {
    display: grid;
    gap: 0.42rem;
}

.rs-auth-card .rs-alert-info {
    border-color: rgba(18, 104, 215, 0.16);
    background: linear-gradient(135deg, rgba(18, 104, 215, 0.08), rgba(236, 27, 127, 0.06));
    color: #31415f;
    font-size: 0.88rem;
    line-height: 1.5;
}

.rs-auth-card .rs-input,
.rs-auth-actions .rs-btn,
.rs-auth-point {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rs-auth-card .rs-input:hover {
    border-color: rgba(18, 104, 215, 0.32) !important;
}

.rs-auth-actions .rs-btn:hover,
.rs-auth-point:hover {
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .rs-auth-card .rs-input,
    .rs-auth-actions .rs-btn,
    .rs-auth-point {
        transition: none;
    }

    .rs-auth-actions .rs-btn:hover,
    .rs-auth-point:hover {
        transform: none;
    }
}

.rs-auth-register-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    margin: -.2rem 0 .25rem;
    font-size: .82rem;
    font-weight: 400;
    color: rgba(15, 23, 42, .68);
}

.rs-auth-register-note a {
    color: #0f7a55;
    font-weight: 600;
    text-decoration: none;
}

.rs-auth-register-note a:hover {
    text-decoration: underline;
}

/* Halaman daftar memakai pola visual login, dibuat lebih lebar dan compact. */
.rs-auth-shell--register {
    grid-template-columns: minmax(300px, 0.92fr) minmax(520px, 680px);
    gap: clamp(1.6rem, 4vw, 4rem);
}

.rs-auth-card--register {
    max-width: 680px;
}

.rs-auth-card--register .card-header {
    padding-bottom: 0.9rem;
}

.rs-auth-form-section {
    display: grid;
    gap: 0.78rem;
}

.rs-auth-section-title {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 104, 215, 0.1), rgba(236, 27, 127, 0.08));
    color: #26344f;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.rs-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.95rem;
}

.rs-auth-card--register .rs-auth-title {
    font-size: clamp(1.58rem, 3vw, 2rem);
}

.rs-auth-card--register .rs-auth-subtitle {
    font-size: 0.9rem;
}

.rs-auth-card--register .rs-label {
    font-size: 0.82rem;
}

.rs-auth-card--register .rs-input {
    min-height: 42px;
    border-radius: 13px;
    font-size: 0.9rem;
}

.rs-auth-card--register.rs-card > form > .card-body {
    gap: 1.1rem;
}

.rs-auth-card--register .rs-auth-register-note {
    margin-top: -0.2rem;
}

@media (max-width: 1199.98px) {
    .rs-auth-shell--register {
        grid-template-columns: 1fr;
    }

    .rs-auth-card--register {
        justify-self: center;
    }
}

@media (max-width: 767.98px) {
    .rs-auth-form-grid {
        grid-template-columns: 1fr;
    }

    .rs-auth-field-placeholder {
        display: none !important;
    }
}

/* Daftar mobile: ringkas, fokus ke form dan info penting saja. */
@media (max-width: 575.98px) {
    .rs-auth-main:has(.rs-auth-shell--register) {
        padding-top: 5.35rem;
    }

    .rs-auth-shell--register {
        gap: 1.15rem;
    }

    .rs-auth-shell--register .rs-auth-intro {
        padding-inline: 0.35rem;
    }

    .rs-auth-shell--register .rs-auth-eyebrow {
        margin-bottom: 0.65rem;
        padding: 0.32rem 0.72rem;
        font-size: 0.76rem;
    }

    .rs-auth-shell--register .rs-auth-heading {
        font-size: clamp(1.95rem, 9vw, 2.25rem);
        line-height: 1.05;
        letter-spacing: -0.045em;
    }

    .rs-auth-shell--register .rs-auth-copy {
        max-width: 360px;
        margin-top: 0.7rem;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .rs-auth-shell--register .rs-auth-points {
        display: none;
    }

    .rs-auth-card--register.rs-card > form > .card-header {
        padding: 1.05rem 1.2rem 0.85rem;
    }

    .rs-auth-card--register .rs-auth-subtitle {
        display: none;
    }

    .rs-auth-card--register.rs-card > form > .card-body {
        gap: 0.85rem;
        padding: 1rem 1.1rem;
    }

    .rs-auth-card--register .rs-auth-form-section {
        gap: 0.62rem;
    }

    .rs-auth-card--register .rs-auth-form-grid {
        gap: 0.7rem;
    }

    .rs-auth-card--register .rs-auth-section-title {
        padding: 0.24rem 0.64rem;
        font-size: 0.74rem;
    }

    .rs-auth-card--register .rs-label {
        font-size: 0.78rem;
    }

    .rs-auth-card--register .rs-input {
        min-height: 40px;
        padding-inline: 0.95rem;
        font-size: 0.86rem;
    }

    .rs-auth-card--register .rs-auth-register-note {
        margin: 0.05rem 0;
        font-size: 0.8rem;
    }

    .rs-auth-card--register .rs-alert-info {
        padding: 0.85rem 1rem;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .rs-auth-card--register.rs-card > form > .card-footer {
        padding: 0.95rem 1.1rem 1.05rem;
    }
}

@media (max-width: 420px) {
    .rs-auth-shell--register .rs-auth-copy {
        font-size: 0.9rem;
    }

    .rs-auth-card--register.rs-card > form > .card-body {
        padding-inline: 0.95rem;
    }
}


/* Final daftar polish: lebih lega di desktop, fokus form di mobile. */
.rs-auth-shell--register {
    align-items: center;
}

.rs-auth-shell--register .rs-auth-intro {
    max-width: 390px;
}

.rs-auth-shell--register .rs-auth-copy {
    max-width: 360px;
}

.rs-auth-card--register.rs-card {
    overflow: hidden;
}

.rs-auth-card--register .rs-auth-title {
    font-weight: 300;
}

.rs-auth-card--register.rs-card > form > .card-body {
    padding-top: 1.35rem;
    padding-bottom: 1.25rem;
}

.rs-auth-card--register .rs-alert-info {
    margin-top: 0.15rem;
}

@media (min-width: 992px) {
    .rs-auth-shell--register {
        grid-template-columns: minmax(280px, 0.82fr) minmax(560px, 720px);
    }

    .rs-auth-card--register {
        max-width: 720px;
    }
}

@media (max-width: 575.98px) {
    .rs-auth-main:has(.rs-auth-shell--register) {
        padding-top: 4.9rem;
    }

    .rs-auth-shell--register {
        gap: 0;
    }

    .rs-auth-shell--register .rs-auth-intro {
        display: none;
    }

    .rs-auth-card--register {
        width: 100%;
        margin-top: 0.35rem;
        border-radius: 24px;
    }

    .rs-auth-card--register.rs-card > form > .card-header {
        padding: 0.95rem 1.08rem 0.78rem;
    }

    .rs-auth-card--register .rs-auth-title {
        font-size: 1.55rem;
        letter-spacing: -0.045em;
    }

    .rs-auth-card--register.rs-card > form > .card-body {
        padding: 0.92rem 1.02rem 0.95rem;
        gap: 0.72rem;
    }

    .rs-auth-card--register .rs-auth-form-section {
        gap: 0.54rem;
    }

    .rs-auth-card--register .rs-auth-form-grid {
        gap: 0.58rem;
    }

    .rs-auth-card--register .rs-input {
        min-height: 38px;
    }

    .rs-auth-card--register .rs-alert-info {
        padding: 0.75rem 0.88rem;
        font-size: 0.8rem;
    }

    .rs-auth-card--register.rs-card > form > .card-footer {
        padding: 0.78rem 1.02rem 0.92rem;
    }
}

/* Penyesuaian halaman pendaftaran: tanpa menu publik, form lebih fokus dan rapi. */
.rs-auth-mini-header {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.rs-auth-mini-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem 0.55rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(5, 18, 52, 0.22);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.rs-auth-mini-brand span {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1268d7, #ec1b7f);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rs-auth-mini-brand strong {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rs-auth-mini-brand:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

body.rs-auth-body--register .rs-auth-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5.2rem 0 2rem;
}

body.rs-auth-body--register .rs-auth-container {
    max-width: 980px;
}

body.rs-auth-body--register .rs-global-footer--ringkas {
    display: none;
}

.rs-auth-shell--register-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
}

.rs-auth-shell--register-clean .rs-auth-card--register {
    justify-self: center;
    max-width: 900px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.985) !important;
    box-shadow: 0 28px 80px rgba(4, 18, 52, 0.32);
}

.rs-auth-register-header {
    display: grid;
    gap: 0.55rem;
    padding: clamp(1.35rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.6vw, 2rem) 1rem;
}

.rs-auth-card--register .rs-auth-section-title {
    margin-bottom: 0.1rem;
}

.rs-auth-card--register .rs-auth-title {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 2.42rem);
    font-weight: 500;
    letter-spacing: -0.055em;
}

.rs-auth-card--register .rs-auth-subtitle {
    max-width: 620px;
    font-size: 0.92rem;
    color: rgba(49, 65, 95, 0.78);
}

.rs-auth-card--register.rs-card > form > .card-body {
    padding: 1.15rem clamp(1.25rem, 2.6vw, 2rem) 1.25rem;
    gap: 1.05rem;
}

.rs-auth-form-heading {
    width: fit-content;
    color: #26344f;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rs-auth-card--register .rs-auth-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.05rem;
}

.rs-auth-card--register .rs-field {
    gap: 0.36rem;
}

.rs-auth-card--register .rs-label {
    font-size: 0.84rem;
    font-weight: 650;
}

.rs-auth-card--register .rs-input {
    min-height: 46px;
    border-radius: 15px;
    background: #f7fbff !important;
}

.rs-auth-actions--register {
    grid-template-columns: minmax(140px, auto) minmax(180px, 1fr);
    padding: 1rem clamp(1.25rem, 2.6vw, 2rem) 1.35rem;
    border-top: 1px solid rgba(18, 104, 215, 0.08);
}

.rs-auth-actions--register .rs-btn {
    min-height: 48px;
    font-weight: 700;
    text-decoration: none;
}

.rs-auth-actions--register .rs-btn-primary {
    width: 100%;
}

@media (max-width: 767.98px) {
    body.rs-auth-body--register .rs-auth-main {
        align-items: flex-start;
        padding: 4.8rem 0 1.25rem;
    }

    .rs-auth-shell--register-clean .rs-auth-card--register {
        border-radius: 24px;
    }

    .rs-auth-card--register .rs-auth-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .rs-auth-mini-header {
        top: 0.75rem;
    }

    .rs-auth-mini-brand {
        padding: 0.45rem 0.7rem 0.45rem 0.52rem;
    }

    .rs-auth-mini-brand span {
        width: 28px;
        height: 28px;
        font-size: 0.68rem;
    }

    body.rs-auth-body--register .rs-auth-main {
        padding-top: 4.4rem;
    }

    .rs-auth-register-header {
        padding: 1.05rem 1.08rem 0.82rem;
    }

    .rs-auth-card--register .rs-auth-subtitle {
        display: block;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .rs-auth-card--register.rs-card > form > .card-body {
        padding: 0.95rem 1.05rem;
        gap: 0.78rem;
    }

    .rs-auth-card--register .rs-input {
        min-height: 42px;
    }

    .rs-auth-actions--register {
        grid-template-columns: 1fr;
        padding: 0.9rem 1.05rem 1.05rem;
    }
}

/* Polish pendaftaran toko: minimalis, profesional, tetap selaras dengan tema ClickKasir. */
body.rs-auth-body--register::before {
    background:
        linear-gradient(90deg, rgba(3, 20, 56, 0.96) 0%, rgba(6, 36, 91, 0.9) 48%, rgba(8, 37, 86, 0.52) 72%, rgba(236, 27, 127, 0.1) 100%),
        url("../../img/landing/clickkasir-water-bg.jpeg") right center / cover no-repeat;
}

body.rs-auth-body--register .rs-auth-main {
    padding: 5.85rem 0 2.2rem;
}

body.rs-auth-body--register .rs-auth-container {
    max-width: 940px;
}

.rs-auth-shell--register-clean .rs-auth-card--register {
    max-width: 860px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 30px 90px rgba(2, 14, 43, 0.34);
}

.rs-auth-card--register.rs-card::before {
    height: 3px;
    background: linear-gradient(90deg, #1268d7 0%, #6d5dfc 48%, #ec1b7f 100%);
}

.rs-auth-register-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.45rem clamp(1.35rem, 3vw, 2.15rem) 1.1rem;
    border-bottom: 1px solid rgba(18, 104, 215, 0.08);
    background:
        radial-gradient(circle at 88% 10%, rgba(236, 27, 127, 0.09), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.94));
}

.rs-auth-register-heading {
    display: grid;
    gap: 0.5rem;
}

.rs-auth-register-mark {
    display: inline-grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #1268d7, #ec1b7f);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 18px 34px rgba(18, 104, 215, 0.22);
}

.rs-auth-card--register .rs-auth-section-title {
    padding: 0.32rem 0.72rem;
    background: rgba(18, 104, 215, 0.08);
    color: #1268d7;
    font-size: 0.76rem;
    font-weight: 750;
}

.rs-auth-card--register .rs-auth-title {
    font-size: clamp(2rem, 3vw, 2.45rem);
    font-weight: 450;
    letter-spacing: -0.06em;
}

.rs-auth-card--register .rs-auth-subtitle {
    max-width: 570px;
    font-size: 0.91rem;
    line-height: 1.55;
    color: rgba(49, 65, 95, 0.72);
}

.rs-auth-card--register.rs-card > form > .card-body {
    padding: 1.15rem clamp(1.35rem, 3vw, 2.15rem) 1.1rem;
    gap: 1rem;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.rs-auth-form-section {
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(18, 104, 215, 0.08);
    border-radius: 22px;
    background: rgba(248, 251, 255, 0.74);
}

.rs-auth-form-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #17223a;
    font-size: 0.9rem;
    font-weight: 800;
}

.rs-auth-form-heading::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1268d7, #ec1b7f);
}

.rs-auth-card--register .rs-auth-form-grid {
    gap: 0.82rem 1rem;
}

.rs-auth-card--register .rs-field--wide {
    grid-column: 1 / -1;
}

.rs-auth-card--register .rs-label {
    color: #202b41 !important;
    font-size: 0.82rem;
    font-weight: 700;
}

.rs-auth-card--register .rs-input {
    min-height: 44px;
    border-radius: 14px;
    background: #ffffff !important;
    border-color: rgba(18, 104, 215, 0.14) !important;
    color: #17223a !important;
}

.rs-auth-card--register select.rs-input {
    cursor: pointer;
}

.rs-auth-register-bottom {
    display: grid;
    gap: 0.75rem;
}

.rs-auth-card--register .rs-auth-register-note {
    margin: 0;
}

.rs-auth-card--register .rs-alert-info {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 17px;
    border-color: rgba(18, 104, 215, 0.12);
    background: linear-gradient(135deg, rgba(18, 104, 215, 0.07), rgba(236, 27, 127, 0.045));
    color: #26344f;
    font-size: 0.84rem;
    font-weight: 650;
}

.rs-auth-actions--register {
    grid-template-columns: minmax(112px, 0.22fr) minmax(220px, 1fr);
    gap: 0.8rem;
    padding: 1rem clamp(1.35rem, 3vw, 2.15rem) 1.25rem;
    border-top: 1px solid rgba(18, 104, 215, 0.08);
    background: #ffffff;
}

.rs-auth-actions--register .rs-btn {
    min-height: 46px;
    border-radius: 16px;
}

.rs-auth-actions--register .rs-btn-primary {
    background: linear-gradient(135deg, #1268d7 0%, #6d5dfc 46%, #ec1b7f 100%);
    box-shadow: 0 16px 34px rgba(18, 104, 215, 0.2);
}

.rs-auth-actions--register .rs-btn-soft {
    background: #f5f9ff;
}

@media (max-width: 767.98px) {
    body.rs-auth-body--register .rs-auth-main {
        padding: 4.8rem 0 1.2rem;
    }

    .rs-auth-shell--register-clean .rs-auth-card--register {
        max-width: 100%;
        border-radius: 24px;
    }

    .rs-auth-register-header {
        align-items: flex-start;
        padding: 1.15rem 1.1rem 0.95rem;
    }

    .rs-auth-register-mark {
        width: 40px;
        height: 40px;
        border-radius: 15px;
        font-size: 0.78rem;
    }

    .rs-auth-card--register.rs-card > form > .card-body {
        padding: 1rem;
    }

    .rs-auth-form-section {
        padding: 0.9rem;
        border-radius: 19px;
    }

    .rs-auth-card--register .rs-field--wide {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    body.rs-auth-body--register .rs-auth-main {
        padding-top: 4.35rem;
    }

    .rs-auth-card--register .rs-auth-title {
        font-size: 1.75rem;
    }

    .rs-auth-card--register .rs-auth-subtitle {
        font-size: 0.82rem;
    }

    .rs-auth-register-mark {
        display: none;
    }

    .rs-auth-actions--register {
        grid-template-columns: 1fr;
        padding: 0.9rem 1rem 1rem;
    }
}

/* Login mobile: hilangkan kartu benefit agar layar kecil fokus ke form masuk. */
@media (max-width: 767.98px) {
    .rs-auth-shell:not(.rs-auth-shell--register):not(.rs-auth-shell--register-clean) .rs-auth-points {
        display: none !important;
    }
}

/* Halaman sukses pendaftaran: arahkan aktivasi ke WhatsApp admin. */
.rs-auth-success-card .card-body {
    display: grid;
    gap: 1rem;
}

.rs-auth-success-note {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(22, 163, 74, 0.16);
    border-radius: 18px;
    background: rgba(22, 163, 74, 0.08);
    color: #14532d;
}

.rs-auth-success-note strong {
    color: #166534;
    font-size: 0.92rem;
}

.rs-auth-success-note span {
    color: rgba(20, 83, 45, 0.82);
    font-size: 0.88rem;
    line-height: 1.55;
}

.rs-auth-actions--success {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.rs-auth-wa-btn {
    gap: 0.62rem;
    width: 100%;
    border: 0 !important;
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(18, 140, 126, 0.24);
}

.rs-auth-wa-btn:hover,
.rs-auth-wa-btn:focus {
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(18, 140, 126, 0.32);
}

.rs-auth-wa-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
}

.rs-auth-wa-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

@media (max-width: 575.98px) {
    .rs-auth-actions--success {
        grid-template-columns: 1fr 1fr;
    }

    .rs-auth-actions--success .rs-auth-wa-btn {
        grid-column: 1 / -1;
    }
}

.rs-auth-package-section {
    border-color: rgba(236, 27, 127, 0.11);
    background: linear-gradient(135deg, rgba(18, 104, 215, 0.055), rgba(236, 27, 127, 0.05));
}

.rs-auth-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.rs-auth-package-card {
    position: relative;
    display: grid;
    gap: 0.48rem;
    min-height: 150px;
    padding: 0.95rem;
    border: 1.5px solid rgba(18, 104, 215, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    color: #17223a;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(18, 104, 215, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rs-auth-package-card:hover,
.rs-auth-package-card:focus-within,
.rs-auth-package-card.is-selected {
    border-color: rgba(18, 104, 215, 0.48);
    box-shadow: 0 18px 36px rgba(18, 104, 215, 0.13);
    transform: translateY(-1px);
}

.rs-auth-package-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.rs-auth-package-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.rs-auth-package-card strong {
    font-size: 0.98rem;
    font-weight: 900;
}

.rs-auth-package-card em {
    max-width: 112px;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.12);
    color: #047857;
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.25;
    text-align: right;
}

.rs-auth-package-card__price {
    color: #1268d7;
    font-size: 1rem;
    font-weight: 900;
}

.rs-auth-package-card small,
.rs-auth-package-help {
    color: rgba(38, 52, 79, 0.72);
    font-size: 0.78rem;
    line-height: 1.45;
}

.rs-auth-package-help {
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(18, 104, 215, 0.07);
    font-weight: 650;
}

@media (max-width: 767.98px) {
    .rs-auth-package-grid {
        grid-template-columns: 1fr;
    }

    .rs-auth-package-card {
        min-height: auto;
    }
}

.rs-auth-package-card:has(input:checked) {
    border-color: rgba(18, 104, 215, 0.56);
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(18, 104, 215, 0.14);
}

.rs-auth-package-grid--period .rs-auth-package-card {
    min-height: 132px;
}

.rs-auth-package-card--period .rs-auth-package-card__price {
    font-size: 0.9rem;
    line-height: 1.35;
}

.rs-auth-package-intro {
    margin: -0.15rem 0 0.85rem;
    color: rgba(38, 52, 79, 0.74);
    font-size: 0.86rem;
    line-height: 1.55;
}

.rs-auth-optional-label {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    padding: 0.16rem 0.48rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.12);
    color: #047857;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0;
}

.rs-auth-card--register .rs-auth-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
    .rs-auth-card--register .rs-auth-package-grid {
        grid-template-columns: 1fr;
    }
}

/* Perjelas pilihan paket/periode di halaman daftar. */
.rs-auth-package-card {
    isolation: isolate;
    overflow: hidden;
    padding: 1.1rem 1rem 1.05rem 3.15rem;
    border-width: 2px;
    background: #ffffff;
}

.rs-auth-package-card::before {
    content: "";
    position: absolute;
    top: 1.03rem;
    left: 1rem;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(18, 104, 215, 0.28);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 5px #ffffff;
}

.rs-auth-package-card::after {
    content: "Pilih";
    position: absolute;
    right: 0.9rem;
    bottom: 0.85rem;
    z-index: 2;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 104, 215, 0.08);
    color: #1268d7;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.rs-auth-package-card:hover::before,
.rs-auth-package-card:focus-within::before {
    border-color: rgba(18, 104, 215, 0.62);
}

.rs-auth-package-card.is-selected,
.rs-auth-package-card:has(input:checked) {
    border-color: #0d6efd;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(37, 211, 102, 0.10)),
        #ffffff;
    box-shadow: 0 24px 48px rgba(13, 110, 253, 0.28);
    transform: translateY(-2px);
}

.rs-auth-package-card.is-selected::before,
.rs-auth-package-card:has(input:checked)::before {
    content: "✓";
    display: grid;
    place-items: center;
    border-color: #0d6efd;
    background: #0d6efd;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.14), 0 10px 20px rgba(13, 110, 253, 0.24);
}

.rs-auth-package-card.is-selected::after,
.rs-auth-package-card:has(input:checked)::after {
    content: "✓ Dipilih";
    top: 0;
    right: 0;
    bottom: auto;
    min-width: 108px;
    padding: 0.48rem 0.82rem 0.5rem 0.9rem;
    border-radius: 0 0 0 18px;
    background: linear-gradient(135deg, #0d6efd, #25d366);
    color: #ffffff;
    font-size: 0.74rem;
    text-align: center;
    box-shadow: 0 12px 26px rgba(13, 110, 253, 0.28);
}

.rs-auth-package-card.is-selected::marker,
.rs-auth-package-card:has(input:checked)::marker {
    color: #0d6efd;
}

.rs-auth-package-card.is-selected .rs-auth-package-card__price,
.rs-auth-package-card:has(input:checked) .rs-auth-package-card__price {
    color: #17223a;
}

.rs-auth-package-card.is-selected strong,
.rs-auth-package-card:has(input:checked) strong {
    color: #0f172a;
}

.rs-auth-package-card__top {
    padding-right: 5.6rem;
}

.rs-auth-package-card em {
    position: absolute;
    top: 0.88rem;
    right: 0.9rem;
}

.rs-auth-package-card.is-selected em,
.rs-auth-package-card:has(input:checked) em {
    top: 2.85rem;
}

.rs-auth-package-card small {
    padding-bottom: 1.45rem;
}

.rs-auth-package-help {
    border: 1px solid rgba(18, 104, 215, 0.1);
    background: #edf5ff;
    color: #26344f;
}

@media (max-width: 575.98px) {
    .rs-auth-package-card {
        padding-left: 2.95rem;
    }

    .rs-auth-package-card__top {
        padding-right: 4.8rem;
    }

    .rs-auth-package-card::after {
        right: 0.78rem;
        bottom: 0.78rem;
    }

    .rs-auth-package-card.is-selected::after,
    .rs-auth-package-card:has(input:checked)::after {
        top: 0;
        right: 0;
        bottom: auto;
        min-width: 96px;
        padding: 0.42rem 0.68rem;
        border-radius: 0 0 0 16px;
    }
}


/* Compact-kan pilihan paket/periode agar area form lebih ringan dan tidak terlalu tinggi. */
.rs-auth-card--register .rs-auth-package-section {
    padding: 1rem;
}

.rs-auth-card--register .rs-auth-package-grid {
    gap: 0.65rem;
}

.rs-auth-card--register .rs-auth-package-card {
    min-height: 118px;
    gap: 0.34rem;
    padding: 0.82rem 0.85rem 0.78rem 2.75rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(18, 104, 215, 0.055);
}

.rs-auth-card--register .rs-auth-package-card:hover,
.rs-auth-card--register .rs-auth-package-card:focus-within,
.rs-auth-card--register .rs-auth-package-card.is-selected,
.rs-auth-card--register .rs-auth-package-card:has(input:checked) {
    box-shadow: 0 16px 34px rgba(13, 110, 253, 0.18);
    transform: translateY(-1px);
}

.rs-auth-card--register .rs-auth-package-card::before {
    top: 0.88rem;
    left: 0.82rem;
    width: 22px;
    height: 22px;
}

.rs-auth-card--register .rs-auth-package-card::after {
    right: 0.72rem;
    bottom: 0.68rem;
    padding: 0.24rem 0.58rem;
    font-size: 0.64rem;
}

.rs-auth-card--register .rs-auth-package-card.is-selected::after,
.rs-auth-card--register .rs-auth-package-card:has(input:checked)::after {
    min-width: 92px;
    padding: 0.36rem 0.62rem;
    border-radius: 0 0 0 15px;
    font-size: 0.68rem;
}

.rs-auth-card--register .rs-auth-package-card__top {
    gap: 0.4rem;
    padding-right: 4.8rem;
}

.rs-auth-card--register .rs-auth-package-card strong {
    font-size: 0.92rem;
    line-height: 1.15;
}

.rs-auth-card--register .rs-auth-package-card__price {
    font-size: 0.92rem;
    line-height: 1.28;
}

.rs-auth-card--register .rs-auth-package-card small {
    padding-bottom: 1.1rem;
    font-size: 0.72rem;
    line-height: 1.38;
}

.rs-auth-card--register .rs-auth-package-card em {
    top: 0.72rem;
    right: 0.72rem;
    max-width: 96px;
    padding: 0.2rem 0.38rem;
    font-size: 0.58rem;
    line-height: 1.15;
}

.rs-auth-card--register .rs-auth-package-card.is-selected em,
.rs-auth-card--register .rs-auth-package-card:has(input:checked) em {
    top: 2.35rem;
}

.rs-auth-card--register .rs-auth-package-grid--period .rs-auth-package-card {
    min-height: 105px;
}

.rs-auth-card--register .rs-auth-package-help {
    padding: 0.62rem 0.75rem;
    border-radius: 12px;
    font-size: 0.74rem;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .rs-auth-card--register .rs-auth-package-section {
        padding: 0.85rem;
    }

    .rs-auth-card--register .rs-auth-package-card {
        min-height: auto;
        padding: 0.78rem 0.78rem 0.76rem 2.6rem;
    }

    .rs-auth-card--register .rs-auth-package-card__top {
        padding-right: 4.25rem;
    }
}

/* Satu blok pilihan paket berisi 5 kartu agar form daftar lebih pendek. */
.rs-auth-package-section--single {
    padding: 0.9rem 1rem;
}

.rs-auth-package-section--single .rs-auth-package-intro {
    margin-bottom: 0.58rem;
    font-size: 0.78rem;
    line-height: 1.42;
}

.rs-auth-card--register .rs-auth-package-grid--plans {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.52rem;
}

.rs-auth-card--register .rs-auth-package-card--plan {
    min-height: 108px;
    align-content: start;
    gap: 0.22rem;
    padding: 0.72rem 0.58rem 0.62rem;
    border-radius: 15px;
}

.rs-auth-card--register .rs-auth-package-card--plan::before {
    top: 0.56rem;
    left: 0.58rem;
    width: 17px;
    height: 17px;
    border-width: 1.5px;
}

.rs-auth-card--register .rs-auth-package-card--plan::after {
    right: 0.48rem;
    bottom: 0.46rem;
    padding: 0.16rem 0.42rem;
    font-size: 0.56rem;
}

.rs-auth-card--register .rs-auth-package-card--plan.is-selected::before,
.rs-auth-card--register .rs-auth-package-card--plan:has(input:checked)::before {
    font-size: 0.72rem;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12), 0 8px 14px rgba(13, 110, 253, 0.18);
}

.rs-auth-card--register .rs-auth-package-card--plan.is-selected::after,
.rs-auth-card--register .rs-auth-package-card--plan:has(input:checked)::after {
    min-width: 74px;
    padding: 0.26rem 0.44rem;
    border-radius: 0 0 0 12px;
    font-size: 0.58rem;
}

.rs-auth-card--register .rs-auth-package-card--plan .rs-auth-package-card__top {
    display: grid;
    gap: 0.18rem;
    padding: 1.4rem 0 0;
}

.rs-auth-card--register .rs-auth-package-card--plan strong {
    font-size: 0.76rem;
    line-height: 1.12;
}

.rs-auth-card--register .rs-auth-package-card--plan .rs-auth-package-card__price {
    font-size: 0.78rem;
    line-height: 1.15;
}

.rs-auth-card--register .rs-auth-package-card--plan small {
    padding-bottom: 1.02rem;
    font-size: 0.61rem;
    line-height: 1.28;
}

.rs-auth-card--register .rs-auth-package-card--plan em {
    top: 0.46rem;
    right: 0.48rem;
    max-width: 76px;
    padding: 0.14rem 0.32rem;
    font-size: 0.5rem;
    line-height: 1.08;
}

.rs-auth-card--register .rs-auth-package-card--plan.is-selected em,
.rs-auth-card--register .rs-auth-package-card--plan:has(input:checked) em {
    top: 1.95rem;
    right: 0.48rem;
}

.rs-auth-package-section--single .rs-auth-package-help {
    padding: 0.52rem 0.68rem;
    font-size: 0.7rem;
    line-height: 1.38;
}

@media (max-width: 991.98px) {
    .rs-auth-card--register .rs-auth-package-grid--plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rs-auth-card--register .rs-auth-package-grid--plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rs-auth-card--register .rs-auth-package-card--plan {
        min-height: 104px;
    }
}
