:root {

    /*
    |--------------------------------------------------------------------------
    | BRAND COLOR
    |--------------------------------------------------------------------------
    | Disesuaikan dengan Color & Pantone yang Anda kirim.
    */

    --brand-pink: #ed3d82;

    --brand-blue: #1764b0;

    --brand-navy: #28578f;

    --brand-orange: #f7bd73;

    --brand-green: #177b59;


    /*
    |--------------------------------------------------------------------------
    | UI COLOR
    |--------------------------------------------------------------------------
    */

    --auth-text: #153b68;

    --auth-muted: #73849d;

    --auth-border: #d8e1eb;

    --auth-background: #f5f9fd;

    --auth-white: #ffffff;

}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;

    min-height: 100%;
}


body {
    font-family:
        'Poppins',
        sans-serif;

    background:
        #eef5fb;

    color:
        var(--auth-text);
}


/* =========================================================
   PAGE
========================================================= */

.auth-page {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    padding: 32px 20px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 15% 25%,
            rgba(23, 100, 176, .07),
            transparent 26%
        ),

        radial-gradient(
            circle at 90% 70%,
            rgba(23, 123, 89, .07),
            transparent 25%
        ),

        linear-gradient(
            145deg,
            #f8fbff 0%,
            #eef6fc 100%
        );
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.auth-decoration {
    position: fixed;

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


.auth-decoration-pink {
    top: -150px;
    left: -130px;

    width: 350px;
    height: 350px;

    background:
        linear-gradient(
            145deg,
            rgba(237, 61, 130, .24),
            rgba(237, 61, 130, .05)
        );
}


.auth-decoration-orange {
    top: -145px;
    right: -120px;

    width: 330px;
    height: 330px;

    background:
        linear-gradient(
            145deg,
            rgba(247, 189, 115, .25),
            rgba(247, 189, 115, .04)
        );
}


.auth-decoration-blue {
    bottom: -240px;
    left: 50%;

    width: 600px;
    height: 400px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            145deg,
            rgba(23, 100, 176, .13),
            rgba(23, 100, 176, .02)
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.auth-container {
    position: relative;

    width: 100%;
    max-width: 500px;

    z-index: 2;
}


/* =========================================================
   BRAND
========================================================= */

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
}


.auth-logo {
    display: block;

    width: auto;
    max-width: 230px;
    max-height: 170px;

    object-fit: contain;
}


/* =========================================================
   CARD
========================================================= */

.auth-card {
    width: 100%;

    padding:
        32px
        34px
        28px;

    border: 1px solid
        rgba(218, 227, 237, .8);

    border-radius: 26px;

    background:
        rgba(255, 255, 255, .96);

    box-shadow:
        0 20px 55px
        rgba(31, 72, 111, .10);
}


/* =========================================================
   HEADER
========================================================= */

.auth-card-header {
    margin-bottom: 26px;

    text-align: center;
}


.auth-card-header h1 {
    margin: 0;

    color:
        var(--auth-text);

    font-size: 32px;
    font-weight: 700;

    line-height: 1.25;
}


.auth-card-header p {
    max-width: 390px;

    margin:
        8px auto
        0;

    color:
        var(--auth-muted);

    font-size: 13px;
    font-weight: 400;

    line-height: 1.65;
}


/* =========================================================
   FORM GROUP
========================================================= */

.auth-form-group {
    margin-bottom: 18px;
}


.auth-label {
    display: none;
}


/* =========================================================
   INPUT
========================================================= */

.auth-input-wrapper {
    position: relative;

    width: 100%;
}


.auth-input-icon {
    position: absolute;

    top: 50%;
    left: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;

    transform:
        translateY(-50%);

    color:
        var(--brand-blue);

    font-size: 16px;

    pointer-events: none;

    z-index: 2;
}


.auth-input {
    display: block;

    width: 100%;
    height: 52px;

    padding:
        0
        16px
        0
        48px;

    border: 1px solid
        var(--auth-border);

    border-radius: 11px;

    outline: none;

    background:
        #fff;

    color:
        var(--auth-text);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 13px;
    font-weight: 400;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.auth-input::placeholder {
    color:
        #93a2b6;
}


.auth-input:hover {
    border-color:
        #bccbd9;
}


.auth-input:focus {
    border-color:
        var(--brand-blue);

    background:
        #fff;

    box-shadow:
        0 0 0 4px
        rgba(23, 100, 176, .08);
}


.auth-input.is-invalid {
    border-color:
        #d84f5f;
}


/* =========================================================
   ERROR
========================================================= */

.auth-error {
    margin-top: 6px;

    color:
        #c33f4f;

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   CAPTCHA
========================================================= */

.auth-captcha {
    margin:
        8px 0
        20px;

    padding: 16px;

    border: 1px solid
        #dceaf2;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #f4fbff,
            #f4faf7
        );
}


.auth-captcha-title {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 11px;

    color:
        var(--auth-text);

    font-size: 11px;
    font-weight: 600;
}


.auth-captcha-title i {
    color:
        var(--brand-green);
}


.auth-captcha-question {
    display: flex;
    align-items: stretch;

    gap: 10px;

    margin-bottom: 12px;
}


.auth-captcha-image {
    flex: 1;

    display: flex;
    align-items: center;

    min-width: 0;
    min-height: 58px;

    overflow: hidden;

    border-radius: 10px;

    background:
        #eaf3fb;
}


.auth-captcha-image img {
    display: block;

    max-width: 100%;
    height: auto;
}


.auth-captcha-refresh {
    width: 58px;
    min-width: 58px;

    border: 0;
    border-radius: 10px;

    outline: none;

    background:
        #e5f0fd;

    color:
        var(--brand-blue);

    font-size: 17px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.auth-captcha-refresh:hover {
    background:
        #d8e9fb;
}


.auth-captcha-refresh:active {
    transform:
        scale(.95);
}


.auth-captcha-answer
.auth-input {
    background:
        #fff;
}


/* =========================================================
   ALERT
========================================================= */

.auth-alert-error {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    margin-bottom: 16px;
    padding: 11px 13px;

    border: 1px solid
        #f2c8ce;

    border-radius: 9px;

    background:
        #fff3f4;

    color:
        #b64252;

    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   SUBMIT
========================================================= */

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;
    height: 54px;

    border: 0;
    border-radius: 12px;

    outline: none;

    background:
        var(--brand-green);

    color:
        #fff;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 10px 22px
        rgba(23, 123, 89, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.auth-submit:hover {
    background:
        #126d4f;

    box-shadow:
        0 12px 25px
        rgba(23, 123, 89, .24);
}


.auth-submit:active {
    transform:
        translateY(1px);
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.auth-forgot {
    margin-top: 19px;

    text-align: center;
}


.auth-forgot a {
    color:
        var(--brand-blue);

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;
}


.auth-forgot a:hover {
    text-decoration: underline;
}


/* =========================================================
   REGISTER
========================================================= */

.auth-register {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 12px;

    margin-top: 18px;
}


.auth-register > span {
    display: block;

    height: 1px;

    background:
        #dbe3eb;
}


.auth-register p {
    margin: 0;

    color:
        var(--auth-text);

    font-size: 11px;

    white-space: nowrap;
}


.auth-register a {
    color:
        var(--brand-blue);

    font-weight: 600;

    text-decoration: none;
}


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


/* =========================================================
   PRIVACY
========================================================= */

.auth-privacy {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 19px;
}


.auth-privacy i {
    color:
        var(--brand-blue);

    font-size: 13px;
}


.auth-privacy a {
    color:
        var(--brand-blue);

    font-size: 10px;
    font-weight: 500;

    text-decoration: underline;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .auth-page {
        align-items: flex-start;

        padding:
            24px
            16px
            30px;
    }


    .auth-container {
        max-width: 480px;
    }


    .auth-brand {
        margin-bottom: 18px;
    }


    .auth-logo {
        max-width: 210px;
        max-height: 150px;
    }


    .auth-card {
        padding:
            27px
            26px
            24px;

        border-radius: 22px;
    }


    .auth-card-header h1 {
        font-size: 28px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {

    body {
        background:
            #fff;
    }


    .auth-page {
        display: block;

        min-height: 100dvh;

        padding:
            22px
            16px
            28px;

        background:

            radial-gradient(
                circle at -5% 5%,
                rgba(237, 61, 130, .12),
                transparent 24%
            ),

            radial-gradient(
                circle at 105% 12%,
                rgba(247, 189, 115, .14),
                transparent 22%
            ),

            #f8fbff;
    }


    .auth-decoration {
        display: none;
    }


    .auth-container {
        max-width: 100%;
    }


    .auth-brand {
        margin-bottom: 16px;
    }


    .auth-logo {
        max-width: 175px;
        max-height: 125px;
    }


    .auth-card {
        padding:
            24px
            18px
            22px;

        border-radius: 20px;

        box-shadow:
            0 13px 35px
            rgba(28, 64, 97, .08);
    }


    .auth-card-header {
        margin-bottom: 22px;
    }


    .auth-card-header h1 {
        font-size: 26px;
    }


    .auth-card-header p {
        margin-top: 6px;

        font-size: 11px;
    }


    .auth-form-group {
        margin-bottom: 14px;
    }


    /*
    |--------------------------------------------------------------------------
    | Input minimum 50px agar nyaman disentuh lewat HP.
    |--------------------------------------------------------------------------
    */

    .auth-input {
        height: 50px;

        font-size: 12px;
    }


    .auth-captcha {
        padding: 13px;
    }


    .auth-captcha-question {
        gap: 8px;
    }


    .auth-captcha-image {
        min-height: 55px;
    }


    .auth-captcha-refresh {
        width: 54px;
        min-width: 54px;
    }


    .auth-submit {
        height: 52px;

        font-size: 15px;
    }


    .auth-register {
        gap: 8px;
    }


    .auth-register p {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .auth-page {
        padding-left: 11px;
        padding-right: 11px;
    }


    .auth-card {
        padding-left: 14px;
        padding-right: 14px;
    }


    .auth-logo {
        max-width: 160px;
    }


    .auth-register > span {
        display: none;
    }


    .auth-register {
        display: block;

        text-align: center;
    }

}

/* =========================================================
   PRIVACY POLICY MODAL
========================================================= */

.privacy-policy-modal {
    font-family:
        'Poppins',
        sans-serif;
}


.privacy-policy-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;
}


.privacy-policy-modal .modal-content {
    overflow: hidden;

    border: 0;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 25px 70px
        rgba(24, 59, 92, .22);
}


/* =========================================================
   HEADER
========================================================= */

.privacy-policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    border-bottom: 1px solid #e2eaf0;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f9fd 100%
        );
}


.privacy-policy-header-content {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 12px;
}


.privacy-policy-header-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        rgba(23, 100, 176, .10);

    color: #1764b0;

    font-size: 17px;
}


.privacy-policy-header .modal-title {
    margin: 0;

    color: #153b68;

    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;

    text-transform: none;
}


.privacy-policy-header-content p {
    margin: 3px 0 0;

    color: #75899e;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CLOSE X
========================================================= */

.privacy-policy-close {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 !important;

    border: 0;
    border-radius: 9px;

    background: #edf2f6 !important;

    color: #647b8f !important;

    font-size: 22px;
    font-weight: 400;

    line-height: 1;

    opacity: 1 !important;

    text-shadow: none;

    transition:
        background .2s ease,
        color .2s ease;
}


.privacy-policy-close:hover {
    background: #e5edf3 !important;

    color: #173d62 !important;
}


/* =========================================================
   BODY
========================================================= */

.privacy-policy-body {
    padding: 0 !important;

    background: #f8fbfd;

    color: #385670;

    text-align: left !important;
}


/* =========================================================
   DOCUMENT INFO
========================================================= */

.privacy-policy-document-info {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 18px 20px 0;
    padding: 14px 16px;

    border: 1px solid #d8e6ed;
    border-radius: 12px;

    background: #ffffff;
}


.privacy-policy-document-badge {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(23, 123, 89, .10);

    color: #177b59;

    font-size: 16px;
}


.privacy-policy-document-text {
    flex: 1;

    min-width: 0;
}


.privacy-policy-document-text > span {
    display: block;

    margin-bottom: 2px;

    color: #8394a5;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .4px;
}


.privacy-policy-document-text h5 {
    margin: 0;

    color: #193f68;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.45;
}


.privacy-policy-document-text p {
    margin: 2px 0 0;

    color: #688198;

    font-size: 12px;
    line-height: 1.5;
}


.privacy-policy-document-date {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 8px;

    background: #eef5fb;

    color: #28578f;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   CONTENT
========================================================= */

.privacy-policy-content {
    padding: 20px;
}


.privacy-policy-list {
    margin: 0;
    padding-left: 28px;
}


.privacy-policy-list > li {
    margin-bottom: 20px;
    padding-left: 5px;

    color: #2c5577;

    font-size: 12px;
    font-weight: 600;
}


.privacy-policy-list > li:last-child {
    margin-bottom: 0;
}


.privacy-policy-section-title {
    margin-bottom: 7px;

    color: #153b68;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}


.privacy-policy-list p {
    margin:
        0
        0
        9px;

    color: #526f87;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.75;

    text-align: justify;
}


.privacy-policy-list ul {
    margin:
        5px
        0
        10px;

    padding-left: 20px;
}


.privacy-policy-list ul li {
    position: relative;

    margin-bottom: 5px;

    color: #526f87;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.65;
}


.privacy-policy-list ul li::marker {
    color: #1764b0;
}


.privacy-policy-list strong {
    color: #1a4268;

    font-weight: 700;
}


/* =========================================================
   ADDRESS BOX
========================================================= */

.privacy-policy-contact-box {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 10px;
    padding: 12px;

    border: 1px solid #d9e6ec;
    border-radius: 10px;

    background: #ffffff;
}


.privacy-policy-contact-icon {
    width: 33px;
    height: 33px;

    flex: 0 0 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background:
        rgba(237, 61, 130, .09);

    color: #ed3d82;

    font-size: 13px;
}


.privacy-policy-contact-box strong {
    display: block;

    margin-bottom: 4px;

    color: #173e64;

    font-size: 12px;
}


.privacy-policy-contact-box p {
    margin: 0 0 2px;

    text-align: left;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   CONTACT GRID
========================================================= */

.privacy-policy-contact-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 10px;
}


.privacy-policy-contact-card {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    padding: 12px;

    border: 1px solid #d9e6ec;
    border-radius: 10px;

    background: #ffffff;
}


.privacy-policy-contact-card-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background:
        rgba(23, 123, 89, .10);

    color: #177b59;

    font-size: 13px;
}


.privacy-policy-contact-card span {
    display: block;

    color: #8597a7;

    font-size: 10px;
    font-weight: 500;
}


.privacy-policy-contact-card strong {
    display: block;

    margin:
        1px
        0
        5px;

    color: #173e64;

    font-size: 12px;
}


.privacy-policy-contact-card p {
    margin: 1px 0;

    color: #647d91;

    font-size: 11px;

    text-align: left;
}


/* =========================================================
   FOOTER
========================================================= */

.privacy-policy-footer {
    display: flex;
    justify-content: flex-end;

    padding: 12px 20px;

    border-top: 1px solid #e1e9ee;

    background: #ffffff;
}


.privacy-policy-btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-width: 105px;
    height: 39px;

    padding: 0 16px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #177b59;

    color: #ffffff;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.privacy-policy-btn-close:hover {
    background: #126c4e;
}


.privacy-policy-btn-close:active {
    transform: scale(.98);
}


/* =========================================================
   SCROLLBAR
========================================================= */

.privacy-policy-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}


.privacy-policy-modal .modal-body::-webkit-scrollbar-track {
    background: #f2f6f8;
}


.privacy-policy-modal .modal-body::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #bccbd5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .privacy-policy-modal .modal-dialog {
        max-width: 680px;
    }


    .privacy-policy-contact-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {

    .privacy-policy-modal {
        padding-right: 0 !important;
    }


    .privacy-policy-modal .modal-dialog {
        width: calc(100% - 16px);

        margin:
            8px
            auto;
    }


    .privacy-policy-modal .modal-content {
        max-height:
            calc(100vh - 16px);

        max-height:
            calc(100dvh - 16px);

        border-radius: 14px;
    }


    .privacy-policy-header {
        padding:
            13px
            14px;
    }


    .privacy-policy-header-icon {
        width: 37px;
        height: 37px;

        flex-basis: 37px;

        font-size: 14px;
    }


    .privacy-policy-header .modal-title {
        font-size: 15px;
    }


    .privacy-policy-header-content p {
        display: none;
    }


    .privacy-policy-document-info {
        align-items: flex-start;
        flex-wrap: wrap;

        margin:
            12px
            12px
            0;

        padding: 11px;
    }


    .privacy-policy-document-badge {
        width: 35px;
        height: 35px;

        flex-basis: 35px;
    }


    .privacy-policy-document-text {
        width:
            calc(100% - 47px);
    }


    .privacy-policy-document-date {
        margin-left: 47px;
    }


    .privacy-policy-content {
        padding:
            16px
            14px;
    }


    .privacy-policy-list {
        padding-left: 22px;
    }


    .privacy-policy-list > li {
        margin-bottom: 17px;
    }


    .privacy-policy-section-title {
        font-size: 11px;
    }


    .privacy-policy-list p,
    .privacy-policy-list ul li {
        font-size: 9.5px;

        line-height: 1.7;
    }


    .privacy-policy-contact-grid {
        grid-template-columns: 1fr;
    }


    .privacy-policy-footer {
        padding:
            10px
            12px;
    }


    .privacy-policy-btn-close {
        width: 100%;
        height: 42px;
    }

}

/* ==========================================
   LOGIN - PASSWORD VISIBILITY
========================================== */

.auth-input-wrapper.password-eye-field {
    position: relative;
}

.auth-input-wrapper.password-eye-field .auth-input {
    padding-right: 55px;
}

.auth-input-wrapper .password-eye-button {
    position: absolute;
    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: #1b4b88;

    font-size: 16px;
    cursor: pointer;
    z-index: 2;
}

.auth-input-wrapper .password-eye-button:hover {
    background: rgba(27, 75, 136, 0.08);
}

.auth-input-wrapper .password-eye-button:focus-visible {
    outline: 2px solid #124da0;
    outline-offset: 2px;
}
