:root {
    --base-black: #000000;
    --base-white: #ffffff;

    --base-gray: #444345;

    --dark-red: #ed1942;
    --base-red: #ff353f;

    --base-cream: #f0dfcf;
    --light-cream: #f6e8e5;
    --lighter-cream: #fbf3f1;

    --base-teal: #1cc4bf;

    --base-yellow: #eed058;
}

.c-primary-red {
    color: var(--base-red);
}
.c-base-gray {
    color: var(--base-gray);
}

@font-face {
    font-family: pragmaticaBook;
    src: url(/fonts/Pragmatica-Book.woff);
}

@font-face {
    font-family: basicSansBold;
    src: url(/fonts/BasicSans-Bold.woff);
}

body {
    padding-top: 0px !important;
    font-family: pragmaticaBook, sans-serif;
    background-color: var(--light-cream);
    color: var(--base-gray);
}

#header.registration {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: var(--base-red);
    align-items: center;
    padding: 0px 25px;
    height: auto;
}
#header .logo {
    width: 100%;
    display: block;
    text-align: center;
    padding: 0;
}
#header .logo img {
    max-width: 150px;
}
.header-title {
    width: inherit;
    padding: 0px 20px;
    font-weight: 800;
    font-size: 1.786rem;
    color: var(--base-white);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1em;
    font-family: basiSansBold, sans-serif;
}

.banner {
    width: 100%;
}

.container {
    padding: 48px 0px 96px 0px;
    position: relative;
}

.alert-wrapper {
    padding: 20px;
    width: 90vw;
    left: 5vw;
    margin-top: 30px;
    background-color: var(--base-cream);
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    position: fixed;
    z-index: 1280;
    display: none;
    top: 0;
}

.alert-wrapper.warn {
    border-left: 10px var(--base-yellow) solid;
}

.alert-wrapper.danger {
    border-left: 10px var(--base-red) solid;
}

.alert-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.alert-icon {
    color: var(--base-cream);
    padding: 7px;
    border-radius: 6px;
    height: 35px;
    width: 35px;
    text-align: center;
}

.alert-wrapper.warn .alert-icon {
    background-color: var(--base-yellow);
}

.alert-wrapper.danger .alert-icon {
    background-color: var(--base-red);
}

.alert-message {
    flex-grow: 1;
    margin: 0px 28px;
}

.alert-message .message-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--base-gray);
    margin-bottom: 0.5em;
}

.alert-message .message-text {
    font-weight: 400;
    font-size: 1.286rem;
    line-height: 1.286em;
    color: var(--base-gray);
}

.alert-message .message-text:first-letter {
    text-transform: capitalize;
}

.alert-action .alert-close {
    background-color: transparent;
    border: none;
}

#formStep3 .alert.alert-success {
    background-color: var(--base-cream);
    color: var(--base-gray);
    font-weight: 500;
}

.content-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1em;
    padding-right: 40px;
    position: sticky;
    top: 0;
}

.content-left .content-title {
    font-weight: 700;
    font-size: 1.571rem;
    color: var(--base-red);
    font-family: basiSansBold, sans-serif;
    text-transform: uppercase;
}

.content-left .content-subtitle {
    font-weight: 400;
    font-size: 1.214rem;
    color: var(--base-gray);
}

.step-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 2em;
}

.step-item {
    display: inline-flex;
    position: relative;
    align-items: center;
    height: 78px;
    font-size: 1.429rem;
    cursor: pointer;
}

.step-item:last-of-type:before {
    border: none;
}

.step-item .step-number {
    margin-right: 34px;
    height: 43px;
    width: 43px;
    line-height: 43px;
    border-radius: 50%;
    font-weight: 900;
    color: var(--base-gray);
    text-align: center;
    background-color: var(--base-cream);
    font-size: inherit;
}

.step-item .step-title {
    color: var(--base-gray);
    font-size: inherit;
    font-family: basicSansBold;
    text-transform: uppercase;
}

.step-item::before {
    position: absolute;
    top: 50px;
    left: 19px;
    content: "";
    height: 40px;
    width: 0;
    border-left: 5px var(--base-gray) dashed;
    z-index: -1;
}

.step-item.active:last-of-type:before {
    border: none;
}

.step-item.active .step-number {
    border: 2px var(--base-red) solid;
    background-color: var(--base-cream);
}

.step-item.active .step-title {
    font-weight: 900;
    color: var(--base-red);
}

.step-item.active::before {
    position: absolute;
    z-index: -1;
    top: 50px;
    left: 19px;
    content: "";
    height: 40px;
    width: 0;
    border-left: 5px var(--base-red) dashed;
    cursor: default;
}

div[id^="formStep"] {
    border-left: 3px var(--base-gray) solid;
    padding-left: 40px;
}

.card {
    padding: 35px 30px;
    border: 1px var(--base-gray) solid;
    border-radius: 15px;
    box-shadow: 0 0 1px 0 var(--base-gray) inset, 0 0 1px 0;
}

.input-shadow {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
}

.form-label {
    font-weight: 400;
    font-size: 1.286rem;
    color: var(--base-gray);
}

.form-group.required .form-label:after {
    content: " *";
    color: var(--base-red);
}

.form-group .form-info {
    font-weight: 300;
    font-size: 1rem;
    color: var(--base-gray);
    margin-top: 5px;
    display: inline-block;
}

.form-group .form-info.hide {
    display: none;
}

.form-group .form-info ul {
    text-align: left;
    padding-left: 1.8rem;
    line-height: 1rem;
    font-size: 0.87rem;
    margin-top: 0.6rem;
}
.form-group .form-info ul li::marker {
    color: var(--dark-red);
}

.form-group .form-error {
    text-transform: capitalize;
    /*font-weight: 900;*/
    font-size: 1rem;
    color: var(--base-red);
    margin-top: 5px;
    display: none;
}

.form-info code {
    background-color: var(--base-cream);
    color: var(--base-red);
}

.form-control {
    background-color: var(--lighter-cream);
    color: var(--base-gray);
}

.filebox .form-error {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    z-index: 2;
}

#identityGuidelines {
    margin-bottom: 30px;

    .form-label {
        font-family: basicSansBold;
    }
}

.orl-label {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--base-gray);
    padding: 10px;
}

.orl-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--base-gray);
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-weight: 300;
    font-size: 1.214rem;
    color: var(--base-gray);
    opacity: 1; /* Firefox */
    text-transform: none;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    font-weight: 300;
    font-size: 1.214rem;
    color: var(--base-gray);
    text-transform: none;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    font-weight: 300;
    font-size: 1.214rem;
    color: var(--base-gray);
    text-transform: none;
}

.filebox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed var(--base-gray);
    border-radius: 10px;
    width: 100%;
    height: 280px;
    background-color: var(--lighter-cream);
    cursor: pointer;
    position: relative;
}

.filebox.highlight {
    border-color: var(--base-teal);
}

.filebox-label {
    font-weight: 300;
    font-size: 1.571rem;
    color: var(--base-gray);
    text-align: center;
    margin-top: 30px;
}

.filebox-state {
    display: none;
    text-align: center;
}

.filebox-state.error {
    color: var(--base-red);
}

.filebox.filebox-disabled {
    background-color: var(--base-gray);
    cursor: not-allowed;
}

.filebox-info {
    font-weight: 300;
    font-size: 1rem;
    color: var(--base-red);
    font-style: italic;
}

.filebox-info::before {
    content: "*";
}

.section-card {
    position: relative;
    background-color: inherit;
    border: 1px solid var(--base-gray);
    box-sizing: border-box;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 0 1px 0 var(--base-black) inset, 0 0 1px 0;
}

.section-title {
    position: absolute;
    background-color: var(--light-cream);
    top: -16px;
    left: 30px;
    font-size: 1.429rem;
    font-family: basicSansBold;
    color: var(--base-gray);
    padding: 0 5px;
    z-index: 1;
}

.section-card:not(:last-child) {
    margin-bottom: 40px;
}

#formStep4 .form-control {
    border: none;
    box-shadow: none;
    color: var(--base-gray);
}

#formStep4 .form-control:not([name^="sponsor"]) {
    background-color: var(--base-cream);
}

.action-wrapper {
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.action-wrapper--column {
    flex-direction: column;
    row-gap: 10px;
}

.util-bar__action > * {
    margin-right: 0;
}

button[class^="button"] {
    font-size: 1.286rem;
    line-height: 1.286rem;
    font-weight: 800;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0px;
}

button[class*="button--no-w"] {
    width: unset;
}

button[class*="button--no-p"] {
    padding: unset;
}

.button-primary:hover {
    background-color: var(--dark-red);
}

.button-secondary:hover {
    background-color: var(--base-red);
    color: var(--base-white);
}

a[class^="button"] {
    font-size: 1.286rem;
    line-height: 1.286rem;
    font-weight: 800;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0px;
    text-decoration: none;
    color: var(--base-white);
}

.button-primary {
    background-color: var(--base-red);
    color: var(--base-white);
    border: none;
    border: 1px transparent solid;
}

.button-secondary {
    background-color: var(--light-cream);
    color: var(--base-red);
    box-sizing: border-box;
    border: 1px var(--base-red) solid;
}

.button-primary:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.button-secondary:disabled {
    opacity: 0.5;
    pointer-events: none;
}

#btnCsd {
    background-color: var(--base-red);
    color: var(--base-white);
    text-align: center;
    font-size: 0.75rem;
    border: 1px var(--base-red) solid;
    border-radius: 5px;
    padding: 5px 10px;
}

#btnCsd:hover {
    background-color: var(--dark-red);
}

.has-feedback label ~ .form-control-feedback {
    top: 30px;
    margin-right: 10px;
    pointer-events: all;
}

.has-feedback select ~ .form-control-feedback {
    margin-right: 20px;
}

.has-feedback.col-md-6 label ~ .form-control-feedback {
    margin-right: 25px;
}

.has-feedback.col-md-6 select ~ .form-control-feedback {
    margin-right: 35px;
}

.form-control-feedback.pass-visibility {
    pointer-events: all;
    cursor: pointer;
}

.has-feedback input[name^="password"] ~ .input-error.form-control-feedback {
    margin-right: 40px;
}

.input-error {
    color: var(--base-red);
    display: none;
}

/* POP Over in FORM */
.form-group .popover {
    width: 40%;
    left: 60% !important;
    text-align: center;
}

.form-group input[name^="password"] ~ .popover {
    width: 40%;
    left: 54% !important;
}

.form-group .popover.bottom > .arrow {
    left: 87.5%;
}

.form-group select + .popover.bottom > .arrow {
    left: 82.5%;
}

.form-group.col-md-6 .popover {
    left: 55% !important;
}

.form-group.col-md-6 .popover.bottom > .arrow {
    left: 77.5%;
}

.form-group.col-md-6 select + .popover.bottom > .arrow {
    left: 67.5%;
}

.form-group .popover .popover-content {
    padding: 10px;
    font-size: 1rem;
    font-family: praxisBold, sans-serif;
}

.form-group input[name^="sponsorId"],
input[name^="sponsorEasiId"] {
    text-transform: uppercase;
}

.checkbox .checkbox-label {
    font-weight: 400;
    /*font-size: 0.929rem;*/
}

.file-preview {
    width: 100%;
    padding: 41px 0px;
    background-color: var(--base-cream);
    box-sizing: border-box;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}

.file-preview img {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#tncModal .modal-body {
    background-color: var(--base-cream);
    border: none;
    border-radius: 20px;
    padding: 20px;
    color: var(--base-gray);
    text-align: left;
    height: 50vh;
    overflow-y: auto;
}

#tncModal .tnc-list > li {
    padding-top: 1em;
}

#tnc .checkbox .checkbox-label {
    font-size: 1.143rem;
}

#tnc #kata-pengantar-tnc {
    font-size: 1.2rem;
}

#showTnc,
#showPP,
#showTncMarketplace {
    border: none;
    background-color: inherit;
    text-decoration: underline;
    cursor: pointer;
    color: var(--base-red);
}

.prohibition {
    text-decoration: underline;
    color: var(--base-red);
    font-weight: bold;
}

.csd-wrapper {
    border: 1px solid var(--base-gray);
    height: 180px;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
}

.csd-wrapper .csd-item {
    font-weight: 500;
    font-size: 1.071rem;
    color: var(--base-gray);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.csd-wrapper .csd-item:hover:not(.active) {
    background-color: var(--base-cream);
    color: var(--base-gray);
    opacity: 1;
}

.csd-wrapper .csd-item.active {
    font-weight: 800;
    color: var(--base-gray);
    background-color: var(--base-cream);
}

.csd-item:not(:first-child) {
    border-top: 1px solid var(--base-gray);
}

.csd-item-info {
    display: none;
    font-weight: 500;
    font-size: 1.071rem;
    color: var(--base-gray);
}

.csd-item.active .csd-item-info {
    display: flex;
    flex-direction: row;
    color: var(--base-gray);
}

.csd-item-info img {
    width: 20px;
    height: 30px;
    margin-right: 10px;
}

/* MOBILE STYLING */

.card-header:not(:first-child) .step-item.active {
    margin-top: 5px;
}

.card-header:not(:last-child) .step-item:not(.active) {
    margin-bottom: 5px;
}

.card-header .step-item {
    padding: 23px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-size: 1.286rem;
    width: 100%;
}

.card-header .step-item.active {
    background-color: var(--base-cream);
    border-top: 1px var(--base-red) solid;
    border-bottom: 1px var(--base-red) solid;
}

.card-header .step-item .step-number {
    margin-right: 25px;
    height: 30px;
    width: 30px;
    line-height: 28px;
}

.card-header .step-item:not(.active) .step-number {
    border: 2px solid var(--base-gray);
}

#footer {
    display: block;
    background-color: var(--base-cream);
    width: 100%;
}

#footer .copyrights {
    font-weight: 500;
    color: var(--base-gray);
    font-size: 1rem;
    text-align: center;
}

.img-l {
    max-height: 95%;
    max-width: 95%;
}

.img-md {
    max-height: 80%;
    max-width: 80%;
}

.img-s {
    max-height: 60%;
    max-width: 60%;
}

.modal {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-header {
    padding: 10px 0px;
}

.modal-content {
    background-color: var(--light-cream);
    margin: auto;
    padding: 20px;
    max-height: calc(100vh - 20px);
    max-width: 70%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: none;
    overflow-y: auto;
}

.modal-footer .action-wrapper {
    margin-top: 25px;
}

.modal .modal-title {
    font-size: 1.786rem;
    font-family: basicSansBold;
    color: var(--base-red);
}

#smsModal .otp-info {
    display: flex;
    flex-direction: column;
    align-items: center;

    /* .otp-info-img {
        height: 200px;
        /* img {
            height: 100%;
        }
    } */
    .otp-info-img img{
        height: 15rem;
    }

    .otp-info-text {
        flex: 1;
        font-size: 1.286rem;
        font-weight: 600;
        color: var(--base-gray);
    }
}

#otpPin {
    border: none;
    width: 4em;
    color: var(--base-gray);
    background-color: inherit;
    font-size: 4em;
    letter-spacing: 0.25em;
    text-align: center;
    font-family: monospace;
    border-bottom: 1px solid var(--base-gray);
}

#otpPin:focus {
    outline: none;
    color: var(--base-red);
}

.resend-otp-wrapper {
    margin: 10px 0px;
    font-weight: 400;
    font-size: 1.286rem;
    line-height: 1.286rem;
}

.captcha-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 0px;
}

#resendOtp {
    cursor: pointer;
    color: var(--base-red);
}

#force-verify-error-notice {
    display: block !important;
}
div[id^="force-verify-confirm-"] {
    font-size: 1.5em;
    color: black;
    margin-bottom: 0.5em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
div[id^="force-verify-confirm-"]:before {
    display: block;
    font-size: 0.5em;
    letter-spacing: 0.2em;
    color: var(--base-gray);
    line-height: 0.5em;
    content: attr(data-label);
}
div#force-verify-confirm-ktp {
    font-family: monospace;
    letter-spacing: 0.4em;
}

#cover-spin,
.cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1280;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

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

#cover-spin::after,
.cover-spin::after {
    content: "";
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: var(--base-red);
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

.no-sponsor {
    font-style: italic;
    font-size: 2rem;
    text-align: center;
}

.ktp-guidelines {
    font-size: 1.143rem;
}

/* element with display none */
.header-left,
div[id^="formStep"]:not([id$="1"]),
.filebox .filebox-label-mobile,
.buttonBack,
.buttonRegister,
.card-header,
.no-sponsor,
.no-bank,
.no-npwp {
    display: none;
}

.filebox input[type="file"],
.filebox button[type="button"] {
    /*height: 1px;*/
    /*width: 1px;*/
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

label[for="sponsorIdAlt"],
label[for="sponsorEasiIdAlt"] {
    display: none;
}

.sponsorEasiIdAltbordertop {
    border-top: 1px solid #aaa !important;
    padding-top: 1em;
}
input#sponsorIdAlt,
input#sponsorEasiIdAlt {
    background: transparent;
    padding: 0;
    line-height: 1;
    height: auto;
    text-align: center;
}
input#sponsorEasiIdAlt + .form-info,
input#sponsorIdAlt + .form-info {
    font-size: 0;
    display: block;
    text-align: center;
    margin-top: 0;
}
input#sponsorEasiIdAlt + .form-info > strong,
input#sponsorIdAlt + .form-info > strong {
    font-size: 2rem;
    color: black;
    line-height: 1em;
}
input#sponsorIdAlt {
    margin-top: 1.5em;
}
/* input#sponsorEasiIdAlt {
    border-top: 1px solid #aaa !important;
    padding-top: 1em;
} */
input#sponsorEasiIdAlt + .form-info > strong:after {
    content: "(EASI Sponsor)";
    display: block;
    font-size: 1rem;
    line-height: 1em;
    font-weight: normal;
    color: var(--base-gray);
}

div#identity-step-2 img {
    max-width: 100%;
    margin: auto;
    display: block;
}

.upload-identity-modal .modal-content {
    width: 700px;
    /* padding: 60px 70px 50px 70px;  */
    overflow-y: auto !important;
}
.upload-identity-modal .modal-body {
    margin-top: 20px;
}
.upload-identity-modal .modal-body .filebox {
    height: 300px;
}
.upload-identity-modal .modal-body .filebox.no-style {
    border: none;
    box-shadow: none;
}
.upload-identity-modal .modal-body img {
    max-height: 260px;
    max-width: 260px;

    /* -webkit-transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -ms-transition: all 1.5s ease;
    transition: all 1.5s ease; */
}
.upload-identity-modal .modal-body i.fa-image,
.upload-identity-modal .modal-body span.filebox-label,
.upload-identity-modal .modal-body span.filebox-state {
    position: absolute;
}
.upload-identity-modal .modal-body i.fa-image {
    top: 120px;
}
.upload-identity-modal .modal-body span.filebox-label {
    top: 150px;
}
.upload-identity-modal .modal-body span.filebox-state {
    bottom: 50px;
    font-size: 16px;
}
.upload-identity-modal .modal-body img.styled {
    border: 1px #c4c4c4 solid;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.upload-identity-modal .modal-footer {
    padding-top: 0;
}

/* Registrasi - Edit Ktp - start */
.rotate-buttons {
    margin-top: 30px;
    height: 50px;
}
.rotate-buttons button {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 0;
    margin: 0 5px;
    /* box-shadow: 0 5px 7px 0 var(--base-gray);
    -webkit-box-shadow: 0 5px 7px 0 var(--base-gray);
    -moz-box-shadow: 0 5px 7px 0 var(--base-gray); */
    background-color: var(--base-red);
    color: var(--base-white);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.rotate-buttons button i {
    font-size: 20px;
}
.rotate-buttons button:hover {
    background-color: var(--dark-red);
}
.rotate-buttons button:disabled {
    opacity: 0.5;
    pointer-events: none;
}
/* Registrasi - Edit Ktp - end */

/* Registrasi - Multi Drafts - start */
/* -- save button -- */
.buttonDraftSave > span {
    margin-left: 10px;
}

/* -- main container -- */
.drafts-container {
    display: none;
}
.drafts-container .form-label {
    margin-bottom: 5px;
}

/* -- button group -- */
.drafts-container {
    margin-top: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--base-red);
}
.drafts-container .drafts-title {
    margin-top: -20px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.429rem;
    font-weight: 700;
    color: var(--base-red);
}
.drafts-container .drafts-list {
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 1px; /* Use gap instead of margins for spacing */
}
.drafts-container .drafts-list .draft-button-container {
    display: flex;
    align-items: stretch;
    margin: 5px; /* Fallback for browsers that don't support gap */
    /* column-gap: 2px; */ /* Di design baru, nggak usah dikasih gap */
}
.drafts-container .drafts-list .draft-button-container button {
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
    padding: 5px 7px;
    -webkit-appearance: none; /* Ensures consistent styling in Safari */
    appearance: none;
    background-color: var(--base-cream);
    color: var(--base-gray);
    border: 1px solid var(--base-gray);
}
.drafts-container .drafts-list .draft-button-container button:hover {
    background-color: var(--base-red);
    color: var(--base-white);
    border: 1px solid var(--base-red);
    border-right: none;
}
.drafts-container .drafts-list .draft-button-container .draft-button {
    border-radius: 8px 0 0 8px;
    padding-left: 10px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto; /* Allow flexible growth but also shrinking */
    border-right: none;
}
.drafts-container .drafts-list .draft-button-container .draft-delete {
    border-radius: 0 8px 8px 0;
    padding-right: 10px;
    flex: 0 0 auto; /* Prevent this button from growing or shrinking */
    border-left: none;
}
.drafts-container .drafts-list .draft-button-container.active button {
    color: var(--base-white);
    background-color: var(--base-red);
    border: 1px solid var(--base-red);
}
.drafts-container .drafts-list .draft-button-container.active button:hover {
    background-color: var(--dark-red);
}
/* Fallback for Safari versions that don't support gap */
@supports not (gap: 10px) {
    .drafts-container .drafts-list {
        margin: -5px;
    }
    .drafts-container .drafts-list .draft-button-container {
        margin: 5px;
    }
}
@media (max-width: 991px) {
    .drafts-container .drafts-list .draft-button-container button {
        font-size: 1rem;
        line-height: 1rem;
    }
}

/* -- modal -- */
.draft-modal.modal .modal-body {
    margin-top: 20px;
    font-weight: 400;
    font-size: 1.2rem;
}
.draft-modal.modal .modal-body .draft-name {
    margin-top: 20px;
    font-size: 1.4rem;
    color: var(--base-red);
}
/* Registrasi - Multi Drafts - end */

@media (max-width: 991px) {
    #header.registration {
        /*border-bottom-right-radius: 50px;*/
    }

    .header-left {
        display: block;
    }

    .header-left .nav-back {
        color: var(--base-white);
        outline: none;
        text-decoration: none;
    }

    .container {
        padding-top: 0px;
    }

    .content-left {
        position: relative;
        padding: 20px 0px;
    }

    .content-left .content-title {
        font-size: 1.286rem;
    }

    .content-left .content-subtitle {
        color: var(--base-gray);
        font-weight: 300;
    }

    .step-wrapper {
        display: none;
    }

    .card-header {
        display: block;
    }

    .content-right {
        padding: 0px;
    }

    div[id^="formStep"] {
        border: none;
        padding: 30px 10px;
    }

    .card {
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 20px 25px;
        background-color: inherit;
    }

    /* Popover arrow style */
    .form-group input[name^="password"] ~ .popover {
        left: 50% !important;
    }

    .form-group .popover.bottom > .arrow {
        left: 80%;
    }

    .form-group select + .popover.bottom > .arrow {
        left: 70%;
    }

    .form-group.col-md-6 .popover.bottom > .arrow {
        left: 82.5%;
    }

    .form-group.col-md-6 select + .popover.bottom > .arrow {
        left: 75%;
    }

    .filebox {
        border: 1px #c4c4c4 solid;
        box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
        height: 195px;
    }

    .filebox .filebox-label {
        font-weight: 300;
        font-size: 1.071rem;
        color: var(--base-gray);
        margin-top: 15px;
        display: block;
    }

    .section-card {
        background-color: inherit;
        padding-left: 1em;
        padding-right: 1em;
    }

    .alert-wrapper {
        margin-top: 1em;
        padding: 15px 20px;
    }

    .action-wrapper {
        margin-top: 30px;
        width: calc(100% - 20px);
    }

    button[class^="button"] {
        font-size: 1.143rem;
        line-height: 1.143rem;
        /* width: 100%; */
    }

    a[class^="button"] {
        font-size: 1.143rem;
        line-height: 1.143rem;
        width: 100%;
    }

    #footer {
        position: sticky;
        bottom: 0px;
        z-index: 128;
    }

    .modal-content {
        max-height: 90vh;
        max-width: unset;
        width: calc(100vw - 20px);
    }

    #smsModal .modal-content,
    #prefillModal .modal-content,
    #tncMarketplaceModal .modal-content,
    #privacyPoliceModal .modal-content,
    #tncModal .modal-content {
        margin: 0px;
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 20px);
        position: absolute;
        bottom: 0px;
        left: 0px;
        top: unset;
        transform: none;
        border-bottom-right-radius: unset;
        border-bottom-left-radius: unset;
        z-index: 123456;
    }

    #smsModal .otp-info {
        .otp-info-text {
            font-size: 1.143rem;
        }
    }

    .modal .modal-title {
        font-size: 1.143rem;
    }

    .modal .modal-body {
        font-size: 0.857rem;
    }

    .modal-footer .action-wrapper {
        margin-top: 20px;
        width: 100%;
    }

    .modal-footer .action-wrapper button:not(:last-child) {
        margin-bottom: 5px;
    }

    #smsModal .modal-footer .action-wrapper {
        display: block;
    }

    .resend-otp-wrapper {
        font-weight: 400;
        font-size: 1.143rem;
        line-height: 1.143rem;
    }

    textarea {
        resize: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0px;
    }
}

/* Registrasi - USER ROLES / MEMBERSHIP - start */
.regis-container {
    padding: 4rem 0 10rem 0;
}
.regis-container .row {
    margin: 0 2rem;
}
.regis-container div[id^="formStep"] {
    border-left: 0;
    padding-left: 0;
}
.regis-footer#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    min-height: auto;
    padding: 0.6rem;
}
.regis-footer#footer .copyrights {
    font-size: 0.9rem;
}
@media (max-width: 991px) {
    .regis-container {
        padding: 2rem 0 10rem 0;
    }
    .regis-footer#footer {
        position: fixed;
    }
}

/* REGIS_CONTAINER - TITLE */
.regis-container-title {
    font-weight: 700;
    color: var(--base-red);
    font-family: basiSansBold, sans-serif;
    text-transform: uppercase;
    font-size: 1.571rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    /* margin-bottom: 2.9rem; */
}
@media (max-width: 991px) {
    .regis-container-title {
        font-size: 1.5rem;
    }
}

/* REGIS_CONTAINER - PROGRESS BAR */
.regis-container-progress-bar {
    display: none;
    width: 100%;
    height: 0.2rem;
    margin-bottom: 2.9rem;
    background-color: var(--lighter-cream);
}
.regis-container-progress-bar .progress {
    height: 100%;
    background-color: var(--base-red);
    transition: width 0.5s ease;
}
.regis-container-progress-bar .progress-25 {
    width: 25%;
}
.regis-container-progress-bar .progress-50 {
    width: 50%;
}
.regis-container-progress-bar .progress-75 {
    width: 75%;
}
.regis-container-progress-bar .progress-100 {
    width: 100%;
}

/* REGIS_CONTAINER - FORM STEPS */
.regis-form-step {
    transition: transform 0.5s ease;
}
.regis-container-progress-bar.active,
.regis-form-step.active {
    display: block;
    transform: translateX(0);
}
.regis-container-progress-bar.left,
.regis-form-step.left {
    display: none;
    transform: translateX(-1000%);
}
.regis-container-progress-bar.right,
.regis-form-step.right {
    display: none;
    transform: translateX(1000%);
}

/* REGIS_CONTAINER - FORM PREVIEWS */
.regis-preview label,
.regis-preview div {
    width: 100%;
    text-align: center;
}
.regis-preview label {
    font-weight: 100;
}
.regis-preview div {
    font-weight: 700;
    font-size: 1.1rem;
}

/* REGIS_CONTAINER - FORM INPUTS */
.regis-form-group label,
.regis-form-group div {
    width: 100%;
    text-align: left;
}
.regis-form-group .form-label {
    font-size: 1.2rem;
}
.regis-form-group .form-control {
    height: 3rem;
    line-height: 1.5;
    font-size: 1rem;
}
.regis-form-group .form-control::placeholder {
    font-size: 1rem;
    opacity: 1; /* For Firefox */
}
.regis-form-group .form-control:-ms-input-placeholder {
    /* For Internet Explorer */
    font-size: 1rem;
}
.regis-form-group .form-control::-ms-input-placeholder {
    /* For Microsoft Edge */
    font-size: 1rem;
}
.regis-form-group .form-control::-webkit-input-placeholder {
    /* For WebKit browsers (Chrome, Safari, etc.) */
    font-size: 1rem;
}
.regis-form-group .form-control:read-only {
    background-color: var(--lighter-cream);
    color: var(--base-gray);
    opacity: 1;
}
.regis-form-group .form-info {
    color: var(--light-gray);
    font-size: 0.92rem;
}
.regis-form-group .form-info-notice {
    color: var(--light-gray);
    font-size: 0.92rem;
}
.regis-form-group .form-info.hide {
    display: none;
}
.regis-form-group .form-info.show {
    display: inline-block;
}
.regis-form-group .form-info-above {
    margin-bottom: 0.2rem;
}
.regis-form-group .form-info-bottom {
    margin-left: 0.25rem;
    margin-top: 0.2rem;
}
.regis-form-group .form-error {
    margin-left: 0.25rem;
    margin-top: 0.7rem;
}
.regis-form-group ul {
    text-align: left;
    padding-left: 1.8rem;
    line-height: 1rem;
    font-size: 0.87rem;
}
.regis-form-group ul li::marker {
    color: var(--dark-red);
}

/* REGIS_CONTAINER - ONE UNIT INPUT */
.regis-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.regis-input-group .regis-dob-visibility,
.regis-input-group .regis-pass-visibility {
    pointer-events: all;
    cursor: pointer;

    position: absolute;
    right: 10px; /* Adjust as needed */
    cursor: pointer;
}

/* REGIS_CONTAINER - ONE UNIT INPUT - CHECKLIST BOX */
.regis-input-group .checklist-box {
    display: grid;
    overflow: hidden;
}
.regis-input-group .checklist-group {
    cursor: pointer;
    display: grid;
    grid-template-columns: 0.7rem auto;
    padding: 0.2rem;
    gap: 0.6rem;
}
.regis-input-group .checklist-btn {
    align-self: start; /* Align checkbox to the top */
    text-align: center;
}
.regis-input-group .checklist-text {
    word-wrap: break-word; /* Allow wrapping */
    overflow-wrap: break-word;
}
.regis-input-group .checklist-link {
    border: none;
    background-color: inherit;
    text-decoration: underline;
    cursor: pointer;
    color: var(--base-red);
}
@media (max-width: 991px) {
    .regis-input-group input[type=checkbox], 
    .regis-input-group input[type=radio] {
        margin-top: 0.07rem;
    }
}

/* REGIS_CONTAINER - ONE UNIT SPAN */
.regis-span-group {
    display: inline-flex; /* Ensures items inside stay in a row */
    align-items: center; /* Aligns the text and icon vertically */
}
@media (max-width: 768px) {
    /* Adjust breakpoint as needed */
    .regis-span-group {
        display: block; /* Makes the entire span move to a new line */
        text-align: center; /* Optional: centers the contents */
    }
}

/* REGIS_CONTAINER - BODY - OTP */
.regis-container-body .otp-info {
    font-size: 1rem;
}
.regis-container-body .otp-info-img {
    margin-top: 1rem;
    margin-bottom: 3rem;
}
.regis-container-body .otp-info-img img {
    width: 40%;
}
.regis-container-body .otp-info-text {
    text-align: left;
    font-size: 0.9rem;
}
.regis-container-body .otp-info-img.center,
.regis-container-body .otp-info-text.center {
    text-align: center;
}
.regis-container-body .otp-info-text .edit {
    cursor: pointer;
}
.regis-container-body .otp-info-text .edit i {
    margin-left: 0.35rem;
    color: var(--light-red);
}
.regis-container-body .otp-info-text .edit i:hover {
    color: var(--dark-red);
}
.regis-container-body .otp-confirm {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.regis-container-body .otp-confirm-input {
    width: 6.5rem;
    height: 8.6rem;
    border: none;
    border-radius: 0.7rem;
    text-align: center;
    font-weight: bold;
    font-size: 3rem;
}
.regis-container-body .otp-confirm-input:focus {
    border-color: var(--darker-cream);
    outline: none;
}
@media (max-width: 991px) {
    .regis-container-body .otp-info-img {
        margin-top: 0.5rem;
    }
    .regis-container-body .otp-confirm-input {
        width: calc(100% - 4rem); /* Reduced the deduction to give more space */
        height: 7rem; /* Use a fixed height instead of `vh` */
        max-height: 7rem; /* Add a max height to prevent it from becoming too large */
    }
}
@media (max-width: 576px) {
    /* For even smaller screens */
    .regis-container-body .otp-confirm-input {
        width: 100%; /* Use full width for very small screens */
        height: 6.5rem; /* Slightly smaller fixed height */
    }
}
@media (max-width: 425px) {
    /* For even smaller screens */
    .regis-container-body .otp-confirm-input {
        height: 6.5rem; /* Slightly smaller fixed height */
        font-size: 2.5rem; /* Ensure text remains readable */
    }
}
@media (max-width: 320px) {
    .regis-container-body .otp-confirm-input {
        height: 4.5rem;
    }
}

/* REGIS_CONTAINER - MODAL */
.regis-modal {
    font-size: 0.9rem;
}
.regis-modal .modal-body {
    background-color: var(--base-cream);
    border: none;
    border-radius: 20px;
    padding: 20px;
    color: var(--base-gray);
    text-align: left;
    height: 50vh;
    overflow-y: auto;
}
.regis-modal .tnc-list > li {
    padding-top: 1em;
}
@media (max-width: 991px) {
    .regis-modal .modal-content {
        margin: 0px;
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 20px);
        position: absolute;
        bottom: 0px;
        left: 0px;
        top: unset;
        transform: none;
        border-bottom-right-radius: unset;
        border-bottom-left-radius: unset;
    }
}

/* REGIS_CONTAINER - FOOTER */
.regis-container-footer .action-info {
    text-align: center;
}
.regis-container-footer .action-info a {
    text-decoration: underline;
    color: var(--light-red);
}
.regis-container-footer .action-info a:hover {
    color: var(--dark-red);
}
.regis-container-footer .action-wrapper {
    margin-top: 0;
    width: calc(100% - 10rem);
}
.regis-container-footer .action-wrapper.column {
    flex-direction: column;
    row-gap: 10px;
}
.regis-container-footer .action-wrapper button {
    letter-spacing: 0.18rem;
    font-size: 1rem;
    font-weight: 100;
}
.regis-container-footer .action-wrapper button.button-green {
    background-color: var(--green);
    color: var(--white);
    border: 0 solid var(--green);
    border-width: 0.08rem;
}
.regis-container-footer .action-wrapper button.button-green:hover,
.regis-container-footer .action-wrapper button.button-green:focus,
.regis-container-footer .action-wrapper button.button-green:active {
    background-color: var(--dark-green);
    color: var(--white);
    border-color: var(--dark-green);
}
.regis-container-footer .action-info {
    max-width: 30rem;
    margin: 1em auto .5em;
    text-align: center;
    font-size: 0.8rem;
}
.regis-container-footer .action-info .highlight {
    font-weight: bold;
}
@media (max-width: 991px) {
    .regis-container-footer .action-wrapper {
        /* width: calc(100% - 15rem); */
        max-width: 50rem; /* Optional: Limit maximum width to avoid oversizing */
        margin: 0 auto; /* Center the buttons if needed */
        padding: 0 1rem; /* Add padding for better spacing */
        box-sizing: border-box; /* Ensure padding doesn't affect width */
    }
    .regis-container-footer .action-wrapper {
        width: 50%;
    }
    .regis-container-footer .action-wrapper.two-btn {
        width: 80%;
    }
    .regis-container-footer .action-wrapper button {
        letter-spacing: 0.09rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
    .regis-container-footer .action-wrapper {
        width: 60%;
    }
    .regis-container-footer .action-wrapper.two-btn {
        width: 80%;
    }
}
@media (max-width: 425px) {
    .regis-container-footer .action-wrapper {
        width: 80%;
    }
    .regis-container-footer .action-wrapper.two-btn {
        width: 90%;
    }
}
@media (max-width: 320px) {
    .regis-container-footer .action-wrapper {
        width: 90%;
    }
    .regis-container-footer .action-wrapper.two-btn {
        width: 100%;
    }
}

/* REGIS_CONTAINER - OTP TIMER */
.regis-otp-timer {
    display: none;
}

/* REGIS_CONTAINER - LOADER */
.regis-loader {
    display: none;

    /* Enables flexbox layout */
    /* display: flex; */
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    height: 20vh; /* Or any specific height if not using full viewport height */
}
.regis-loader .loader--ellipsis {
    margin-top: 2rem;
}

/* Registrasi - USER ROLES / MEMBERSHIP - end */
