/* 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;
    }
}
