html {
    overflow: hidden;
}

body {
    background-color: #FAFAFA !important;
}

#base_sidebar .container-fluid {
    width: 90%;
}

#base_sidebar .navbar-brand img {
    width: 189px;
    height: 32px;
}

#base_sidebar .notification-menu,
#base_sidebar .cart-menu {
    position: relative;
}

#base_sidebar .notification-menu .icon.bell,
#base_sidebar .cart-menu .cart-iconcss {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

#base_sidebar .bg-menu-cart-badge,
#base_sidebar .bg-menu-notification-badge {
    position: absolute;
    min-width: 16px;
    height: 16px;
    left: 12px;
    top: 0;
    border-radius: 100px;
    background: #EB3C2B;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    pointer-events: none;
}

#base_sidebar .menu-cart-badge,
#base_sidebar .menu-notification-badge {
    color: white;
    font-size: 10px;
}

#base_sidebar button#dropdownMenuPrivateButton {
    display: flex;
    align-items: center;
    border: 0;
    background-color: transparent;
    gap: 16px;
    height: 32px;
    padding: 0;
}

#base_sidebar a.dropdown-item.private-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

#base_sidebar .profile-img {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    object-fit: cover;
}

#base_sidebar .profile-img-setting-menu {
    width: 64px;
    height: 64px;
    border-radius: 100px;
    object-fit: cover;
}

#base_sidebar .dropdown-toggle::after {
    content: '';
    border: 0;
    background-image: url(/static/images/chevron-down.svg);
    background-repeat: no-repeat;
    width: 16px;
    height: 6px;
}

#base_sidebar .dropdown-toggle.show::after {
    content: '';
    border: 0;
    background-image: url(/static/images/chevron-down.svg);
    background-repeat: no-repeat;
    width: 16px;
    height: 6px;
    transform: rotateX(180deg);
}

#base_sidebar .dropdown-item.private-menu-item .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

#base_sidebar .dropdown-item.private-menu-item:focus,
#base_sidebar .dropdown-item.private-menu-item:hover {
    color: #1e2125;
    background-color: transparent;
}

#base_sidebar .private-menu li {
    padding: 16px 24px;
    height: 60px;
}

#base_sidebar .private-menu ul a.dropdown-item {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #212E4B;
    padding: 0px 40px;
}

.main {
    display: flex;
    align-items: stretch;
    margin-top: 72px;
}

.sidebar {
    transition: 0.4s;
    display: none;
}

.sidebar.open {
    flex: 1 0 72px;
    transition: 0.4s;
    display: block;
}

.sidebar.open.sub-menu-open {
    flex: 1 0 304px;
    transition: 0.4s;
    display: block;
}

.page-content {
    position: relative;
    width: 100%;
    /* padding: 24px; */
    /* padding-left: 416px; */
    height: calc(100vh - 105px);
    overflow-y: auto;
}

.toolbar {
    z-index: 3;
    left: 0;
    width: 72px;
    height: calc(100% - 72px);
    background: #212E4B;
    transition: 0.5s;
    padding: 32px 0;
}

.toolbar,
.sidebar-menu {
    position: fixed;
    top: 72px;
}

.sidebar button {
    position: relative;
    display: flex;
    align-items: center;
    border: 0;
    background-color: transparent;
    justify-content: center;
}

.sidebar-menu {
    z-index: 2;
    left: 72px;
    width: 100%;
    max-width: 232px;
    height: 100%;
    background: white;
    transition: 0.5s;
    border-right: 1px solid #E8EAF0;
    padding: 32px 0;
}

.sidebar-menu {
    translate: -100% 0;
}

.sidebar-menu.open {
    translate: 0 0;
}

.jpc_navbar {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    background: white;
    z-index: 1030;
    /* border-bottom: 1px solid #EEEEEE; */
}

.sidebar-item.open {
    width: 100%;
    background: #FFFFFF;
}

.sidebar-item {
    width: 100%;
    min-height: 72px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

.sidebar-item .name {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
}

.sidebar-item.open .name {
    color: #59C4AE;
}

.toolbar nav {
    display: flex;
    flex-direction: column;
    /* gap: 24px; */
}

.home-icon {
    content: url("../images/sidebar-home.png");
}

.sidebar-item.open .home-icon {
    content: url("../images/sidebar-home-active.png");
}

.account-icon {
    content: url("../images/sidebar-account.png");
}

.sidebar-item.open .account-icon {
    content: url("../images/sidebar-account-active.png");
}

.application-form-icon {
    content: url("../images/sidebar-application-form.png");
}

.sidebar-item.open .application-form-icon {
    content: url("../images/sidebar-application-form-active.png");
}

.passcard-icon {
    content: url("../images/sidebar-passcard.png");
}

.sidebar-item.open .passcard-icon {
    content: url("../images/sidebar-passcard-active.png");
}

.setting-icon {
    content: url("../images/sidebar-setting.png");
}

.sidebar-item.open .setting-icon {
    content: url("../images/sidebar-setting-active.png");
}

.toolbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-menu li {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    cursor: pointer;
    border-bottom: 1px solid #E8EAF0;
    justify-content: space-between;
}

.sidebar-menu a:first-child li {
    border-top: 1px solid #E8EAF0;
}

.sidebar-menu li:hover {
    background: #F5F5F5;
}

.sidebar-menu li.active {
    background: #00DBB6;
}

span.new_application_noti {
    position: absolute;
    width: 8px;
    height: 8px;
    right: 16px;
    top: 8px;
    background: #EB3C2B;
    border-radius: 8px;
}

.toolbar nav a {
    text-decoration: none;
    border-bottom: 1px solid #334770;
}

.toolbar nav a:hover {
    background-color: #334770;
}

.sidebar-menu a {
    text-decoration: none;
    color: #212E4B;
}


.footer a {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #4B8DF1;
    text-decoration: none;
}

.footer a:hover {
    color: #7AB8F9;
}

.footer a:active {
    color: #3D69CB;
}

.email-contact .message {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #5E7094;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 0 33px;
    padding-bottom: 40px;
    position: static;
}

.email-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.copyright {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    display: flex;
    align-items: center;
    text-align: right;
    color: #9FAABF;
}

.main.not_login {
    margin-top: 144px;
}

.page-content.not_login {
    height: calc(100vh - 144px);
}

#burger-icon {
    width: 20px;
    height: 16px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

#burger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 20px;
    background: #5E7094 !important;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

#burger-icon span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

#burger-icon span:nth-child(2) {
    top: 6px;
    transform-origin: left center;
}

#burger-icon span:nth-child(3) {
    top: 12px;
    transform-origin: left center;
}

#burger-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 1px;
    left: 8px;
}

#burger-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#burger-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 15px;
    left: 8px;
}

.hamburger_toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: none;
}

#base_sidebar .mobile_menu {
    width: 100%;
    padding-top: 72px;
    height: 100%;
    position: fixed;
    top: -150%;
    background: #FAFAFA;
    z-index: 1029;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.5s linear;
}

.mobile_menu.active {
    top: 0px !important;
}

.bg_blur.active {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 200vh;
    margin-top: -20vw;
    position: fixed;
    z-index: 1029;
    overflow: hidden;
}

.mobile_menu a {
    text-decoration: none;
}

.mobile_menu_footer {
    position: absolute;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
    padding-top: 24px;
    width: inherit;
    border-top: 1px solid #E8EAF0;
}

button.btn-homepage-login {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #59C4AE;
}

button.btn-homepage-login {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    width: 100%;
    height: 40px;
    border: 1px solid #59C4AE;
    border-radius: 64px;
    background: white;
}

button.btn-homepage-login:hover {
    border: 1px solid #71E8C4;
    color: #71E8C4;
}

button.btn-homepage-login:active {
    color: #59C4AE;
    background: #DEFAF2;
    border: 1px solid #59C4AE;
}

button.btn-homepage-tff {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #212E4B;

}

button.btn-homepage-tff {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    width: 100%;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 64px;
    background: #00DBB6;
}

button.btn-homepage-tff:hover {
    background: #71E8C4;
}

button.btn-homepage-tff:active {
    background: #59C4AE;
}

li.mobile_menu_li {
    list-style: none;
    padding: 13px 32px;
    user-select: none;
    position: relative;
    border-bottom: 1px solid #E8EAF0;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #212E4B;
}

.mobile_menu a:first-child li.mobile_menu_li {
    border-top: 1px solid #E8EAF0;
}

.page-content {
    scroll-behavior: smooth;
}

@media only screen and (max-width: 500px) {
    #base_sidebar .container-fluid {
        padding: 0 32px;
    }

    .main.not_login {
        margin-top: 72px;
    }

    .page-content.not_login {
        height: calc(100vh - 72px);
    }

    #base_sidebar .navbar-brand img {
        width: 140px;
        height: 24px;
    }

    .navbar-brand {
        padding: 0;
        margin: 0;
        /* padding-left: 20px; */
    }

    #base_sidebar .icon-menu-group {
        gap: 8px !important;
    }
}

@media only screen and (min-width: 500px) {
    .page-content::-webkit-scrollbar {
        width: 16px;
    }

    .page-content::-webkit-scrollbar-thumb {
        border: 4px solid rgba(0, 0, 0, 0);
        background-clip: padding-box;
        border-radius: 9999px;
        background-color: #C3CBD9;
    }

    .page-content::-webkit-scrollbar-track {
        border: 4px solid rgba(0, 0, 0, 0);
        background-clip: padding-box;
        border-radius: 9999px;
        background-color: #E8EAF0;
    }
}

ul.menu {
    padding: 0;
    list-style: none;
    width: 100%;
    clear: both;
    display: table;
    margin: 0;
}

ul.menu .list {
    position: relative;
    width: 100%;
    height: 72px;
    vertical-align: sub;
    background: transparent;
    clear: both;
}

ul.menu .list:after {
    content: "";
    position: absolute;
    right: 24px;
    top: 24px;
    background-image: url(/static/images/sub-menu.svg);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
}

ul.menu .list.current:after {
    content: "";
    position: absolute;
    right: 24px;
    top: 24px;
    background-image: url(/static/images/sub-menu-white.svg);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
}

ul.menu .list.no_arrow:after,
ul.menu .list.no_arrow.current:after {
    display: none;
}

ul.menu .list a {
    text-decoration: none;
    color: #5E7094;
    padding: 20px 24px;
    display: block;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #E8EAF0;
}

ul.menu .list a span {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-transform: lowercase;
    color: #5E7094;
}

ul.menu .list .items {
    height: 0px;
    overflow: hidden;
}

ul.menu .list .items a {
    padding: 16px;
    padding-left: 62px;
    padding-right: 62px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-transform: lowercase;
    color: #9FAABF;
    justify-content: space-between;
}

ul.menu .list .items a:hover {
    background-color: #E0E0E0;
    color: #fff;
    transition: 300ms all;
}

ul.menu .list:last-child {
    border-bottom: none;
}

ul.menu .active:after {
    content: "";
    position: absolute;
    right: 24px;
    top: 24px;
    width: 24px;
    height: 24px;
    transform: rotate(180deg);
}

ul.menu .active>.items {
    display: block;
    background: transparent;
    padding: 0px;
    height: auto;
    color: #fff;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 200ms;
    clear: both;
    float: left;
    width: 100%;
}

ul.menu .active>.items li {
    padding: 0px;
    list-style: none;
}

ul.menu .active>.items .active>.items {
    background-color: #2f4b67;
}

ul.menu .active>a {
    text-transform: uppercase;
    font-weight: bold;
}

ul.menu .active .list {
    background: #697d92;
}

ul.menu .active .list a {
    padding: 17px 0px 17px 45px;
}

ul.menu .list a.active {
    background: #212E4B;
    color: white;
}

ul.menu .list a.active span {
    color: white;
}

ul.menu .list a.active path {
    stroke: white;
}

ul.menu .list .items a.active {
    background: #ADF0DC;
    color: #212E4B;
}

a.mobile-menu-logout li {
    color: #EB3C2B;
}

.mobile-menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 193px);
}

ul.menu.last {
    border-top: 1px solid #E8EAF0;
}

ul.menu.last .list:after {
    display: none;
}

ul.menu .list .items a.no_apply {
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#logout-modal {
    z-index: 9999;
}

#logout-modal .modal-content {
    max-width: 266px;
    margin: auto;
}

#logout-modal .modal-content {
    box-shadow: 0px 4px 160px rgb(0 0 0 / 5%);
    border-radius: 16px;
    padding: 24px 16px;
}

#logout-modal img.modal-close {
    position: absolute;
    right: 8px;
    top: 8px;
}

#logout-modal .title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #212E4B;
    margin-top: 8px;
}

#logout-modal .modal-body {
    padding: 0;
    text-align: center;
}

#logout-modal .btn-logout {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
    color: #59C4AE;
    padding: 0;
    text-decoration: none;
}

#logout-modal .footer-btn-group {
    margin-top: 8px;
}

#logout-modal button.btn.jpc-primary-btn.save-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 44px;
    background: #00DBB6;
    border-radius: 8px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
    color: #212E4B;
    margin-bottom: 16px;
}

#logout-modal.modal.show~.modal-backdrop.show {
    z-index: 9998;
}

.mobile_menu_userprofile .image-profile-wrapper {
    position: relative;
}

.mobile_menu_userprofile img.complete-profile-verify-icon {
    width: 32px;
    height: 32px;
    position: absolute;
    top: -8px;
    left: -8px;
}

@media only screen and (max-width: 500px) {
    .mobile_menu_userprofile {
        display: flex;
        align-items: center;
        gap: 32px;
        padding: 24px;
        border-bottom: 1px solid #E8EAF0;
    }

    #base_sidebar .profile-img {
        width: 72px;
        height: 72px;
        border-radius: 100px;
        object-fit: cover;
    }

    .mobile_menu_userprofile .name {
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
        color: #212E4B;
    }
}

@media only screen and (max-width: 992px) {
    .mobile_menu_userprofile {
        display: flex;
        align-items: center;
        gap: 32px;
        padding: 24px;
        border-bottom: 1px solid #E8EAF0;
    }

    #base_sidebar .profile-img {
        width: 72px;
        height: 72px;
        border-radius: 100px;
        object-fit: cover;
    }

    .mobile_menu_userprofile .name {
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
        color: #212E4B;
    }

    #base_sidebar .container-fluid {
        padding: 0 32px;
    }

    .sidebar,
    .sidebar.open {
        display: none;
    }
}

#cart_dropdown {
    width: 24px;
    height: 24px;
}


#cart_dropdown button.btn.dropdown-toggle {
    width: 24px;
    height: 24px;
    padding: 0;
}

#cart_dropdown button.btn.dropdown-toggle::after {
    display: none;
}

#cart_dropdown .dropdown-menu {
    border: 1px solid #EEEEEE;
    width: 545px;
    background: white;
    top: 40px;
    padding: 24px 32px;
    box-shadow: 0px 4px 160px rgb(0 0 0 / 5%);
    border-radius: 16px;
}

#cart_dropdown .body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#cart_dropdown .line-break {
    background: #E8EAF0;
    width: 100%;
    height: 1px;
    margin: 0;
}

.bundle-name {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #212E4B;
}

.bundle-price {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: center;
    color: #212E4B;
}

.cart-item {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

button.btn.dropdown-toggle:focus {
    box-shadow: none;
}

button.custom-dropdown-toggle {
    border: 0;
    background-color: transparent;
    padding: 0;
}

#baht_label {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    text-align: right;
    color: #59C4AE;
}

#cart_noti_total_price {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    text-align: right;
    color: #59C4AE;
}

#total_price_label {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #212E4B;
}

#to_cart {
    width: 100%;
    height: 48px;
    background-color: #00dbb6;
    border-radius: 16px;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #212e4b;
    border-color: transparent;
}

#to_cart:disabled {
    width: 100%;
    height: 48px;
    background-color: #e0e0e0;
    border-radius: 16px;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #bdbdbd;
    border-color: transparent;
}

.cart_list {
    overflow-y: scroll;
    height: 450px;
    width: 500px !important;
    border: 1px solid #EEEEEE;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    border-radius: 16px;
    z-index: 1;
    right: 0px;
    display: none;
}

.cart_header {
    display: flex;
    align-items: center;
    gap: 8px;
}

#cart_title {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #212E4B;
    font-family: 'Kanit';
    word-break: break-word;
}

.cart_header img {
    width: 40px;
}

.cart_item {
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 56px;
    padding-right: 119px;
}

.bundle-image {
    min-width: 150px;
    min-height: 150px;
    max-width: 150px;
    max-height: 150px;
    border-radius: 24px;
    object-fit: cover;
    object-position: top;
}

.bundle-detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.bundle-detail .group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#remove_bundle {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px;
    gap: 8px;
    width: 32px;
    height: 32px;
    border: 1.5px solid #59C4AE;
    border-radius: 24px;
    position: absolute;
    right: 0;
    top: 0;
    background: white;
}

#remove_bundle:hover {
    border-color: #71E8C4;
}

#remove_bundle:hover path[stroke] {
    stroke: #71E8C4;
}

#remove_bundle:hover path[fill] {
    fill: #71E8C4;
}

#remove_bundle:active {
    background: #DEFAF2;
}

div#cart_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 316px;
    overflow-y: auto;
    padding-right: 16px;
}

#cart_total {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.total-bundle {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.footer-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 72px 8px 120px;
    gap: 8px;
    border-top: 1px solid var(--Stable-blue-50---Stroke, #E8EAF0);
    background: var(--Grayscale-White, #FFF);
    min-height: 33px;
    max-height: 33px;
}

.footer-bar {
    color: var(--Stable-blue-400---Body-text, #5E7094);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.footer-bar span {
    color: var(--Secondary-600---Link, #4B8DF1);
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

@media only screen and (max-width: 500px) {
    .footer-bar {
        padding: 10px;
    }
}