:root {
    --color-primary: #00AB4E;
    --color-dark-primary: #008c3f;
    --color-black: #252527;
    --color-light-black: #58585B;
    --color-gray: #939597;
    --color-danger: #902323;
    --color-white: #fff;
    --font-title: 18px;
    --font-subtitle: 16px;
    --font-body-large: 20px;
    --font-body: 14px;
    --font-body-sm: 12px;
    --font-weight-title: 800;
    --font-weight-body: 600;
    --lg-padding: 24px;
    --md-padding: 16px;
    --sm-padding: 8px;
}

html,
body {
    font-family: 'Nunito Sans', sans-serif;
    position: relative;
}
body.disable-scroll {
    touch-action: none;
    overflow: hidden;
    position: fixed;
    height: 100vh;
    width: 100%;
}

pre {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.pt-56px {
    padding-top: 56px !important;
}
.mb-100px {
    margin-bottom: 100px !important;
}
.mb-130px {
    margin-bottom: 130px !important;
}
.gap-12px {
    gap: 12px !important;
}

.pgd-navbar {
    background-color: var(--color-white);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--md-padding);
    padding: var(--md-padding);
    width: 100%;
    border-bottom: 1px solid #E9ECEF;
    position: fixed;
    z-index: 9;
}
.pgd-navbar.pgd-navbar-fixed {
    transition: all .3s ease;
    box-shadow: 0px 1px 8px rgba(36, 36, 36, 0.12);
}
.pgd-navbar .pgd-navbar-action {
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.pgd-navbar .pgd-navbar-title {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    font-size: var(--font-title);
    font-weight: var(--font-weight-title);
}
.pgd-navbar .pgd-navbar-title.visible-title {
    visibility: visible;
    transform: translate(0, 0);
}

.pgd-title {
    color: var(--color-black);
    font-size: var(--font-body);
    font-weight: var(--font-weight-title);
    line-height: 20px;
    margin-bottom: 0;
}

.pgd-data-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.pgd-data-list .pgd-body-text.pgd-text-higher {
    font-size: var(--font-subtitle);
    font-weight: var(--font-weight-title);
}
.pgd-data-list .pgd-body-text.pgd-text-higher-2x {
    font-size: var(--font-title);
    font-weight: var(--font-weight-title);
}
.pgd-data-list .pgd-body-text {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    color: var(--color-black);
    font-size: var(--font-body);
    font-weight: var(--font-weight-body);
    line-height: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pgd-body-text:nth-child(odd) {
    justify-content: flex-start;
}
.pgd-body-text:nth-child(even) {
    justify-content: flex-end;
}

.pgd-divider-list {
    background-color: #F8F8F8;
    display: block;
    height: 8px;
    width: 100%;
}

.pgd-bottom-sheet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px 12px 0px 0px;
    box-shadow: 0px 2px 6px rgb(0 0 0 / 14%), 0px 0px 2px rgb(0 0 0 / 8%);
    transition: all .3s linear;
    z-index: 999;
}
.pgd-bottom-sheet.sheet-hidden {
    bottom: -100%;
}
.pgd-sheet-overlay {
    background: var(--color-black);
    display: none;
    width: 100%;
    height: 100vh;
    opacity: 0;
    z-index: 999;
    top: 0;
    bottom: 0;
    position: fixed;
    transition: all .3s linear;
}
.pgd-sheet-overlay.show {
    display: block;
    opacity: .3;
}
.pgd-bottom-sheet .pgd-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EEEEEF;
    padding: 16px;
    width: 100%;
}
.pgd-bottom-sheet .pgd-sheet-header h3 {
    color: var(--color-black);
    font-size: var(--font-title);
    font-weight: var(--font-weight-title);
    line-height: 25px;
    margin-bottom: 0;
}
.pgd-bottom-sheet .pgd-sheet-body {
    padding: 16px;
    padding-bottom: 0;
    width: 100%;
}
.pgd-bottom-sheet .pgd-sheet-body p {
    font-size: 14px;
}
.pgd-bottom-sheet .pgd-sheet-footer {
    padding: 16px;
    width: 100%;
}
.pgd-bottom-sheet .pgd-sheet-footer .btn {
    width: 100%;
}

.pgd-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--font-subtitle);
    font-weight: var(--font-weight-title);
    border: none;
    outline: none;
}
.pgd-button:hover,
.pgd-button:active,
.pgd-button:focus-visible {
    background-color: var(--color-dark-primary) !important;
    color: var(--color-white) !important;
}

.pgd-inputpin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top: calc(56px + 24px);
    position: relative;
}
.pgd-inputpin-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.pgd-inputpin .pgd-inputpin-header h3 {
    color: var(--color-black);
    font-size: 20px;
    font-weight: var(--font-weight-title);
    text-align: center;
    line-height: 30px;
    margin-bottom: 0;
}
.pgd-inputpin .pgd-inputpin-header p {
    color: var(--color-black);
    font-size: var(--font-body);
    font-weight: var(--font-weight-body);
    text-align: center;
    line-height: 20px;
    margin: 0 20px;
}
.pgd-inputpin .input-pin {
    border: none;
    outline: none;
    width: max-content;
    height: 24px;
    color: transparent;
    position: absolute;
    transform: translate(0, -25px);
    background: transparent;
    caret-color: transparent;
    user-select: none;
    z-index: 1;
}
.pgd-inputpin .pgd-inputpin-indicator {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2;
    position: relative;
}
.pgd-inputpin .pgd-inputpin-indicator span {
    background-color: var(--color-black);
    height: 24px;
    width: 24px;
    border-radius: 100px;
    border: 2px solid;
    border-color: var(--color-black);
}
.pgd-inputpin .pgd-inputpin-indicator span.empty {
    background-color: var(--color-white);
    border-color: #939597;
}
.pgd-inputpin .pgd-checkpin-failed {
    color: var(--color-danger);
    font-size: var(--font-body-sm);
    font-weight: var(--font-weight-body);
    text-align: center;
    margin: 0 8vw;
    margin-bottom: 0;
}

.pgd-inputotp {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 16px;
}
.pgd-inputotp .pgd-inputotp-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pgd-inputotp .pgd-inputotp-header h3 {
    color: var(--color-black);
    font-size: var(--font-body-large);
    font-weight: var(--font-weight-title);
    line-height: 30px;
    margin-bottom: 0;
}
.pgd-inputotp .pgd-inputotp-header .pgd-inputotp-sub {
    color: var(--color-black);
    font-size: var(--font-body);
    font-weight: var(--font-weight-body);
    line-height: 20px;
    margin-bottom: 0;
}
.pgd-inputotp .pgd-inputotp-header .pgd-inputotp-sub pre {
    display: inline;
    color: var(--color-light-black);
    font-size: var(--font-body);
    font-weight: var(--font-weight-body);
    line-height: 20px;
}
.pgd-inputotp .pgd-inputotp-form {
    display: flex;
    align-items: center;
    gap: 11px;
}
.pgd-inputotp .input-otp {
    height: 56px;
    border: 1px solid #939597;
    border-radius: 4px;
    text-align: center;
    outline: none;
    box-shadow: none;
    flex: 1 1 0;
    width: 0;
}
.pgd-inputotp .input-otp:focus-visible {
    border: 2px solid var(--color-primary);
}
.pgd-inputotp-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pgd-inputotp-footer p {
    color: var(--color-black);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}
.pgd-inputotp-footer p:nth-child(2) .link.active {
    color: var(--color-primary) !important;
}
.pgd-inputotp-footer p:nth-child(2) .link {
    color: var(--color-gray) !important;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    text-decoration: none;
}
.pgd-inputotp-footer p:nth-child(2) span {
    color: var(--color-black);
    font-weight: normal;
}
.pgd-lupapin-bottom {
    color: #00AB4E;
    width: 100%;
    position: relative;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    margin-top: 21vh;
}
.pgd-lupapin-bottom:hover {
    color: #008c3f;
}

.container-inputpin {
    /* height: calc(100vh - 3rem); */
    position: relative;
}

#counter,
.resend-no {
    color: var(--color-black);
    font-weight: 600 !important;
}

.pgd-loading-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 13000;
    visibility: hidden;
    opacity: 0;
    z-index: 1033;
    transition-duration: .4s;
}
.pgd-loading-backdrop.backdrop-in {
    visibility: visible;
    opacity: 1;
}

.pgd-loading-dialog {
    padding: 16px;
    border-radius: 6px;
    background-color: #ffffff !important;
    margin: 0 !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;

    opacity: 0;
    visibility: hidden;
    z-index: 1044;
    position: fixed;
    line-height:20px
}
.pgd-loading-dialog.dialog-in {
    visibility: visible;
    opacity: 1;
}
.pgd-loading-dialog .dialog-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.pgd-loading-dialog .dialog-inner .loading {
    width: auto;
}
.pgd-loading-dialog .dialog-inner .loading-1,
.pgd-loading-dialog .dialog-inner .loading-2,
.pgd-loading-dialog .dialog-inner .loading-3 {
    height: 6px;
    width: 6px;
    background-color: #00AB4E;
    border-radius: 100%;
    display: inline-block;
    margin: 3px 0;
}
.pgd-loading-dialog .dialog-inner .loading-text {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}
.pgd-loading-dialog .dialog-inner .loading-gif {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

@media (pointer:coarse) {
    .container-inputpin {
        /* height: calc(100vh - 5rem - (56px + 24px)); */
        position: relative;
    }
}

@media (orientation: landscape) {
    body.disable-scroll {
        touch-action: auto !important;
        overflow: auto !important;
    }
}

@media screen and (min-width: 820px) {
    html,
    body {
        background-color: var(--bs-gray-200);
        overflow-x: hidden;
    }
    .pgd-navbar,
    .pgd-bottom-sheet,
    .pgd-sheet-overlay {
        width: 50%;
        margin: 0 auto;
        transform: translate(50%, 0);
    }

    .pgd-inputpin .pgd-inputpin-header p {
        margin: 0 8vw;
    }

    .container {
        width: 50%;
        margin: 0 auto;
        background: var(--bs-white);
        height: 100vh;
    }

    .container-inputpin {
        /* height: calc(100vh - 3rem); */
    }

    .pgd-lupapin-bottom {
        background-color: var(--color-white);
        width: 50%;
        margin: 0 auto;
    }
}