.customer-home-chrome {
    overflow-x: hidden;
}

.customer-site-header.main-header {
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: 86px;
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
}

.customer-site-header .home-header-inner {
    min-height: 86px;
}

.customer-site-header a,
.customer-site-header button {
    font-family: inherit;
}

.customer-sidebar-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dbe5f2;
    border-radius: 9px;
    background: #fff;
    color: #155fce !important;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.customer-sidebar-toggle:hover,
.customer-sidebar-toggle:focus {
    border-color: #246ee1;
    background: #eef5ff;
    color: #1268df !important;
}

.customer-sidebar-toggle i {
    color: inherit !important;
}

.customer-sidebar-toggle-desktop {
    display: inline-flex;
}

.customer-sidebar-toggle-mobile {
    display: none;
}

.customer-account-menu {
    position: relative;
}

.customer-profile-toggle {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 7px;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #fff;
    color: #28364a !important;
    text-decoration: none !important;
}

.customer-profile-toggle img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-profile-copy {
    max-width: 150px;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.customer-profile-copy strong {
    overflow: hidden;
    color: #243147;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-profile-copy small {
    overflow: hidden;
    color: #7a8799;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-account-menu .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 230px;
    margin-top: 10px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(34, 52, 84, .14);
}

.customer-account-menu .dropdown-item {
    padding: 10px 16px;
    color: #344055;
    font-size: 13px;
}

.customer-home-chrome .sidebar,
.customer-home-chrome .sidebar[data-background-color="white"] {
    height: calc(100vh - 86px) !important;
    margin-top: 86px;
}

.customer-home-chrome .main-panel {
    min-height: calc(100vh - 86px);
}

.customer-home-chrome .main-panel > .container {
    margin-top: 86px !important;
}

.customer-home-chrome .main-panel > .pasa-footer {
    width: 100%;
    max-width: 100%;
    transform: none;
}

.pasa-footer-container {
    width: min(calc(100% - 48px), 1140px);
    margin: 0 auto;
}

.customer-home-chrome .pasa-footer,
.customer-home-chrome .pasa-footer a,
.customer-home-chrome .pasa-footer p,
.customer-home-chrome .pasa-footer span,
.customer-home-chrome .pasa-footer small {
    font-family: "Open Sans", Tahoma, sans-serif;
}

.customer-home-chrome .pasa-footer-heading {
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif !important;
}

@media (max-width: 1180px) {
    .customer-site-header .home-header-inner {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .customer-sidebar-toggle-desktop {
        display: none;
    }

    .customer-sidebar-toggle-mobile {
        display: inline-flex;
    }

}

@media (max-width: 640px) {
    .customer-site-header.main-header,
    .customer-site-header .home-header-inner {
        min-height: 72px;
    }

    .customer-sidebar-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .customer-home-chrome .sidebar,
    .customer-home-chrome .sidebar[data-background-color="white"] {
        height: calc(100vh - 72px) !important;
        margin-top: 72px;
    }

    .customer-home-chrome .main-panel > .container {
        margin-top: 72px !important;
    }

    .customer-profile-copy {
        display: none;
    }

    .pasa-footer-container {
        width: min(calc(100% - 36px), 1140px);
    }
}

@media (max-width: 480px) {
    .customer-site-header .home-brand img {
        width: 148px;
    }

    .customer-site-header .home-phone {
        display: none;
    }
}

/* Compact customer quotation workspace */
.customer-home-chrome .customer-order-page.container {
    width: min(1100px, calc(100% - 40px)) !important;
    max-width: 1100px;
    padding: 0;
}

.customer-order-shell.page-inner {
    padding: 20px 0 28px;
}

.customer-order-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.customer-order-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #1768d8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.customer-order-title {
    margin: 0;
    color: #172033;
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

.customer-order-intro p {
    margin: 4px 0 0;
    color: #667389;
    font-size: 13px;
}

.customer-order-assurance {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.customer-order-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #dce6f3;
    border-radius: 999px;
    background: #fff;
    color: #46546a;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.customer-order-assurance i {
    color: #168870;
}

.customer-order-card.card {
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #dde5ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(33, 54, 88, .08);
}

.customer-order-card-header.card-header {
    display: grid;
    grid-template-columns: minmax(185px, .72fr) minmax(430px, 1.45fr);
    align-items: center;
    gap: 28px;
    min-height: 104px;
    padding: 18px 24px;
    border-bottom: 1px solid #e8edf4;
    background: linear-gradient(135deg, #fbfdff 0%, #f4f8fd 100%);
}

.customer-order-progress-copy .wizard-title {
    margin: 0 0 3px;
    color: #1e2b40;
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
    font-size: 17px;
    font-weight: 650;
}

.customer-order-progress-copy small {
    display: block;
    color: #768398;
    font-size: 12px;
    line-height: 1.45;
}

.customer-order-progress .set_st_p {
    margin-top: 0 !important;
    zoom: 1 !important;
}

.customer-order-progress .process-main {
    min-width: 0;
}

.customer-order-progress .process-step {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    border-width: 3px;
    font-size: 12px;
}

.customer-order-progress .process-label {
    color: #6d7788;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.customer-order-progress .process-main .col-w-3:not(:first-child):before {
    top: 13px;
    left: calc(-50% + 14px);
    height: 2px;
    border: 0;
}

.customer-order-card-body.card-body {
    padding: 0;
}

.customer-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(320px, 1fr);
}

.customer-order-panel {
    min-width: 0;
    padding: 22px 24px 20px;
}

.customer-order-details-panel {
    border-left: 1px solid #e7edf4;
    background: #fbfcfe;
}

.customer-order-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.customer-order-section-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 8px;
    background: #eaf2ff;
    color: #1768d8;
    font-size: 12px;
    font-weight: 800;
}

.customer-order-section-heading h3 {
    margin: 0;
    color: #202c3e;
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
}

.customer-order-section-heading small {
    display: block;
    margin-top: 1px;
    color: #8490a1;
    font-size: 12px;
}

.customer-order-section-heading-spaced {
    margin-top: 18px;
}

.customer-order-input-block {
    position: relative;
}

.customer-order-tabs.nav-pills {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border: 1px solid #dce4ef;
    border-radius: 9px;
    background: #f2f5f9;
}

.customer-order-tabs.nav-pills .nav-item {
    margin: 0;
}

.customer-order-tabs.nav-pills .nav-link {
    min-height: 34px;
    padding: 7px 12px;
    border: 0 !important;
    border-radius: 7px;
    color: #59667a;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
}

.customer-order-tabs.nav-pills .nav-link.active {
    background: #fff !important;
    color: #1768d8 !important;
    box-shadow: 0 2px 7px rgba(39, 67, 108, .12);
}

.customer-order-helper {
    position: absolute;
    top: 11px;
    right: 0;
    color: #929cac;
    font-size: 12px;
}

.customer-order-page #pills-tabContent {
    margin-top: 10px;
}

.customer-order-page #dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 16px;
    border: 1.5px dashed #b9c9dc;
    border-radius: 10px;
    background: #f9fbfe;
    color: #31445f;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.customer-order-page #dropzone:hover,
.customer-order-page #dropzone.hover {
    border-color: #2875df !important;
    background: #f2f7ff;
    box-shadow: inset 0 0 0 1px rgba(40, 117, 223, .06);
}

.customer-order-page #dropzone_list {
    width: 100%;
}

.customer-order-page .dropzone_list_h {
    color: #2d3b50;
    font-size: 12px;
}

.customer-upload-icon {
    margin-bottom: 7px;
    color: #1f72df;
    font-size: 30px;
    line-height: 1;
}

.customer-order-page .dropzone_list_h h4 {
    margin: 0 0 4px;
    color: #26354b;
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.customer-order-page .dropzone_list_h .text-muted {
    font-size: 12px;
}

.customer-source-text {
    min-height: 150px;
    resize: vertical;
}

.customer-order-page .form-group {
    margin-bottom: 14px;
    padding: 0;
}

.customer-order-page .form-group > label {
    margin-bottom: 6px;
    color: #344258;
    font-size: 12px;
    font-weight: 650;
}

.customer-order-page .d_modal,
.customer-order-page .form-control {
    min-height: 42px;
    border-color: #d4deea;
    border-radius: 8px;
    background-color: #fff;
    color: #39475b;
    font-size: 12px;
    box-shadow: none;
}

.customer-order-page .d_modal {
    height: 42px;
    padding: 10px 34px 9px 11px !important;
}

.customer-order-page .d_modal,
.customer-order-page select.form-control,
.customer-order-page select.form-control option,
.customer-order-page .select2-container--bootstrap .select2-selection,
.customer-order-page .select2-container--bootstrap .select2-selection__rendered,
.select2-container--bootstrap .select2-dropdown,
.select2-container--bootstrap .select2-results__option,
.select2-container--bootstrap .select2-search__field {
    font-size: 14px !important;
}

.customer-order-page .d_modal:hover,
.customer-order-page .d_modal:focus,
.customer-order-page .form-control:focus {
    border-color: #4c8de7;
    box-shadow: 0 0 0 3px rgba(43, 117, 218, .09);
}

.customer-order-page .d_modal_icon {
    right: 14px;
    bottom: 13px;
    color: #738096;
    font-size: 12px;
}

.customer-language-row {
    margin-right: -5px;
    margin-left: -5px;
}

.customer-language-row > div {
    padding-right: 5px;
    padding-left: 5px;
}

.customer-language-arrow {
    padding-top: 32px;
    color: #8090a6;
    font-size: 23px;
}

.customer-order-field-note {
    display: block;
    margin-top: 5px;
    color: #8490a1;
    font-size: 12px;
}

.customer-optional {
    margin-left: 4px;
    color: #8b96a6;
    font-size: 12px;
    font-weight: 500;
}

.customer-order-comment textarea {
    min-height: 92px;
    resize: vertical;
}

.customer-order-trust-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 4px;
    padding: 11px 12px;
    border: 1px solid #d8eee8;
    border-radius: 9px;
    background: #f3fbf8;
    color: #287260;
}

.customer-order-trust-note > i {
    margin-top: 2px;
    font-size: 12px;
}

.customer-order-trust-note strong,
.customer-order-trust-note span {
    display: block;
}

.customer-order-trust-note strong {
    margin-bottom: 2px;
    color: #285c50;
    font-size: 12px;
    font-weight: 700;
}

.customer-order-trust-note span {
    color: #66857d;
    font-size: 12px;
    line-height: 1.45;
}

.customer-order-card-footer.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 104px;
    min-height: 104px;
    padding: 15px 24px;
    border-top: 1px solid #e6ecf3;
    background: linear-gradient(135deg, #fff 0%, #fbfdff 100%);
}

.customer-order-footer-summary {
    min-width: 0;
}

.customer-order-footer-summary > strong {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 0;
    color: #25344a;
    font-size: 13px;
    font-weight: 700;
}

.customer-order-footer-summary > strong i {
    color: #168870;
}

.customer-order-submit.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: auto !important;
    min-width: 240px;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid #f08a35 !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #2580e8 0%, #176fdf 55%, #1262c9 100%) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(240, 138, 53, .12), 0 7px 16px rgba(23, 111, 223, .2);
    animation: customer-order-cta-pulse 4.2s ease-in-out infinite;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.customer-order-submit.btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -80%;
    left: -45%;
    width: 32%;
    height: 260%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 220, 181, .38), transparent);
    animation: customer-order-cta-shine 5.2s ease-in-out infinite;
}

.customer-order-submit.btn .fa-arrow-right {
    transition: transform .2s ease;
}

.customer-order-submit.btn:hover,
.customer-order-submit.btn:focus {
    background: linear-gradient(135deg, #2d87ed 0%, #176fdf 52%, #0f5bbc 100%) !important;
    color: #fff !important;
    filter: saturate(1.08);
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(240, 138, 53, .2), 0 10px 21px rgba(23, 111, 223, .26);
}

.customer-order-submit.btn:hover .fa-arrow-right,
.customer-order-submit.btn:focus .fa-arrow-right {
    transform: translateX(4px);
}

.customer-order-submit.btn:focus-visible {
    outline: 3px solid rgba(249, 115, 22, .25);
    outline-offset: 3px;
}

@keyframes customer-order-cta-pulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(240, 138, 53, .1), 0 7px 16px rgba(23, 111, 223, .18);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(240, 138, 53, .2), 0 9px 20px rgba(23, 111, 223, .24);
    }
}

@keyframes customer-order-cta-shine {
    0%, 70% {
        left: -45%;
    }
    88%, 100% {
        left: 125%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .customer-order-submit.btn,
    .customer-order-submit.btn::before {
        animation: none !important;
    }

    .customer-order-submit.btn .fa-arrow-right {
        transition: none !important;
    }
}

.customer-home-chrome .sidebar .nav > .nav-item > a {
    min-height: 43px;
    margin: 0 10px 4px;
    padding: 9px 12px;
    border-radius: 8px;
}

.customer-home-chrome .sidebar .nav > .nav-item > a[href="/customer"] {
    border: 0 !important;
}

.customer-home-chrome .sidebar .nav > .nav-item > a p {
    font-size: 12px;
    letter-spacing: 0 !important;
}

.customer-home-chrome .sidebar .nav > .nav-item > a i {
    width: 24px;
    font-size: 16px;
}

@media (max-width: 1100px) {
    .customer-order-card-header.card-header {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .customer-order-grid {
        grid-template-columns: 1fr;
    }

    .customer-order-card-footer.card-footer {
        height: auto;
        min-height: 104px;
    }

    .customer-order-details-panel {
        border-top: 1px solid #e7edf4;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .customer-home-chrome .customer-order-page.container {
        width: min(100% - 24px, 680px) !important;
    }

    .customer-order-shell.page-inner {
        padding-top: 14px;
    }

    .customer-order-intro {
        display: block;
    }

    .customer-order-title {
        font-size: 22px;
    }

    .customer-order-assurance {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .customer-order-assurance span {
        min-height: 29px;
        padding: 5px 8px;
        font-size: 12px;
    }

    .customer-order-card-header.card-header,
    .customer-order-panel,
    .customer-order-card-footer.card-footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .customer-order-progress .process-label {
        font-size: 12px;
    }

    .customer-order-progress .process-main {
        flex-wrap: nowrap;
    }

    .customer-order-progress .col-w-3 {
        width: 25% !important;
    }

    .customer-order-card-footer.card-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        height: auto;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .customer-order-submit.btn {
        width: 100% !important;
    }
}

@media (max-width: 540px) {
    .customer-order-helper {
        position: static;
        display: block;
        margin-top: 5px;
    }

    .customer-order-tabs.nav-pills {
        display: flex;
    }

    .customer-order-tabs.nav-pills .nav-item {
        flex: 1;
    }

    .customer-order-tabs.nav-pills .nav-link {
        display: block;
        text-align: center;
    }

    .customer-language-row .col-lg-5 + .col-lg-5 {
        margin-top: 2px;
    }
}

/* Language selection modal */
.customer-language-modal.modal_popup {
    z-index: 2200;
    padding: 24px;
    background: rgba(15, 27, 44, .58);
    backdrop-filter: blur(2px);
}

.customer-language-modal .modal_popup-content {
    position: relative;
    top: 50%;
    width: min(700px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    overflow: hidden;
    transform: translateY(-50%);
    border: 0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(8, 19, 35, .3);
}

.customer-language-modal .modal_popup-header {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 58px 17px 22px;
    border-bottom: 1px solid #e7edf4;
    background: #fff;
}

.customer-modal-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.customer-modal-heading-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf3ff;
    color: #176fdf;
    font-size: 17px;
}

.customer-modal-kicker {
    margin-bottom: 3px;
    color: #176fdf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
}

.customer-language-modal .modal_popup-header h2 {
    color: #202c3d !important;
    font-family: "Prompt", "Sarabun", Tahoma, sans-serif;
    font-size: 20px;
    font-weight: 700 !important;
    line-height: 1.35;
}

.customer-modal-subtitle {
    margin-top: 3px;
    color: #7a8799;
    font-size: 12px;
}

.customer-modal-security {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #d8eee7;
    border-radius: 999px;
    background: #f3fbf8;
    color: #287260;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.customer-language-modal .popup_close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d8e1ec;
    border-radius: 50%;
    background: #fff;
    color: #526176;
    font-size: 18px;
    line-height: 1;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.customer-language-modal .popup_close:hover,
.customer-language-modal .popup_close:focus {
    border-color: #b9c7d8;
    background: #f4f7fb;
    color: #172235;
    outline: 0;
}

.customer-language-modal .modal_popup-body {
    min-height: 0 !important;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 20px;
    background: #fbfcfe;
}

.customer-language-options {
    margin: -5px;
}

.customer-language-option {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 5px;
}

.customer-language-option .selectgroup,
.customer-language-option .selectgroup-item {
    display: block;
    margin: 0;
}

.customer-language-option .selectgroup-button {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 9px 45px 9px 11px;
    border: 1px solid #dce4ee;
    border-radius: 8px !important;
    background: #fff;
    color: #344258;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.customer-language-option .selectgroup-button::after {
    content: "เลือก";
    position: absolute;
    right: 11px;
    color: #8793a4;
    font-size: 12px;
    font-weight: 600;
}

.customer-language-option .selectgroup-button:hover {
    border-color: #7eabe8;
    background: #f5f9ff;
    box-shadow: 0 3px 10px rgba(39, 92, 163, .08);
}

.customer-language-option .selectgroup-input:checked + .selectgroup-button {
    border-color: #176fdf !important;
    background: #edf5ff !important;
    color: #115dbd !important;
    box-shadow: inset 0 0 0 1px #176fdf;
}

.customer-language-option .selectgroup-input:checked + .selectgroup-button::after {
    content: "✓";
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #176fdf;
    color: #fff;
    font-size: 12px;
}

.customer-language-option .selectgroup-button img {
    position: static !important;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    object-fit: cover;
    border: 1px solid #e0e5eb;
    border-radius: 50%;
}

.customer-language-modal .modal_popup-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 22px;
    border-top: 1px solid #e7edf4;
    background: #f8fafc;
    color: #667389;
    font-size: 12px;
    line-height: 1.5;
}

.customer-language-modal .modal_popup-footer i {
    margin-right: 5px;
    color: #176fdf;
}

.customer-modal-footer-copy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.customer-modal-footer-copy > i {
    margin-top: 2px;
    color: #168870 !important;
}

.customer-modal-footer-copy strong,
.customer-modal-footer-copy span {
    display: block;
}

.customer-modal-footer-copy strong {
    margin-bottom: 1px;
    color: #354258;
    font-size: 12px;
    font-weight: 700;
}

.customer-modal-footer-copy span {
    color: #7b8798;
    font-size: 12px;
}

.customer-modal-support {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1768d8 !important;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none !important;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .customer-language-modal.modal_popup {
        padding: 14px;
    }

    .customer-language-modal .modal_popup-content {
        max-height: calc(100vh - 28px);
    }

    .customer-language-modal .modal_popup-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .customer-modal-security {
        width: fit-content;
        margin-left: 52px;
    }

    .customer-language-option {
        flex-basis: 50%;
        max-width: 50%;
    }

    .customer-language-modal .modal_popup-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .customer-language-modal .modal_popup-header {
        padding-right: 48px;
        padding-left: 20px;
        text-align: left !important;
    }

    .customer-modal-heading-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .customer-modal-security {
        margin-left: 48px;
    }

    .customer-language-option {
        flex-basis: 100%;
        max-width: 100%;
    }

    .customer-language-modal .modal_popup-footer {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* Modern customer portal shell */
.customer-home-chrome {
    --customer-primary: #175cd3;
    --customer-primary-dark: #124fae;
    --customer-ink: #172b4d;
    --customer-muted: #667085;
    --customer-line: #e4e7ec;
    --customer-canvas: #f6f8fb;
    background: var(--customer-canvas) !important;
    color: var(--customer-ink);
}

.customer-site-header.main-header,
.customer-site-header .home-header-inner {
    min-height: 76px;
}

.customer-site-header.main-header {
    border-bottom: 1px solid #e6eaf0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 1px 8px rgba(16, 24, 40, .04);
}

.customer-site-header .home-header-inner {
    width: 100%;
    max-width: none;
    padding: 0 20px;
    gap: 24px;
}

.customer-site-header .home-brand img {
    width: 202px;
}

.customer-site-header .home-nav {
    margin-right: 4px;
    margin-left: auto;
}

.customer-site-header .home-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 23px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.customer-site-header .home-nav a::after {
    bottom: 18px;
}

.customer-site-header .home-header-actions {
    margin-left: 0;
    gap: 10px;
}

.customer-home-chrome .sidebar,
.customer-home-chrome .sidebar[data-background-color="white"] {
    width: 224px;
    height: calc(100vh - 76px) !important;
    margin-top: 76px;
    border-right: 1px solid #e6eaf0;
    box-shadow: none;
}

.customer-home-chrome .sidebar .sidebar-wrapper,
.customer-home-chrome .sidebar[data-background-color="white"] .sidebar-wrapper {
    padding-bottom: 20px;
}

.customer-home-chrome .sidebar .sidebar-content {
    min-height: 100%;
    padding: 14px 0 18px !important;
}

.customer-home-chrome .sidebar .nav {
    min-height: calc(100vh - 116px);
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.customer-home-chrome .sidebar.sidebar-style-2 .nav .nav-item {
    padding: 0 12px;
}

.customer-home-chrome .sidebar .nav > .nav-item > a {
    min-height: 42px;
    margin: 0 0 2px;
    padding: 7px 11px;
    border: 0 !important;
    border-radius: 8px;
    color: #475467;
    font-family: "Google Sans", "Noto Sans Thai", Arial, sans-serif !important;
    font-size: 14px !important;
}

.customer-home-chrome .sidebar .nav > .nav-item > a p {
    color: #475467 !important;
    font-family: "Google Sans", "Noto Sans Thai", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.customer-home-chrome .sidebar .nav > .nav-item > a i {
    width: 22px;
    margin-right: 7px;
    color: #667085 !important;
    font-size: 16px;
    text-align: center;
}

.customer-home-chrome .sidebar.sidebar-style-2 .nav.nav-primary > .nav-item:not(.customer-sidebar-create).active > a {
    border-left: 3px solid var(--customer-primary) !important;
    background: #eff6ff !important;
    box-shadow: none !important;
}

.customer-home-chrome .sidebar.sidebar-style-2 .nav.nav-primary > .nav-item:not(.customer-sidebar-create).active > a p,
.customer-home-chrome .sidebar.sidebar-style-2 .nav.nav-primary > .nav-item:not(.customer-sidebar-create).active > a i,
.customer-home-chrome .sidebar.sidebar-style-2 .nav.nav-primary > .nav-item:not(.customer-sidebar-create).active > a span {
    color: var(--customer-primary) !important;
    font-weight: 650 !important;
}

.customer-home-chrome .sidebar .badge-count {
    min-width: 25px;
    height: 25px;
    margin-left: auto;
    padding: 4px 7px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 12px;
    line-height: 15px;
}

.customer-home-chrome .sidebar .customer-sidebar-create {
    margin-bottom: 9px;
}

.customer-home-chrome .sidebar .nav > .nav-item.customer-sidebar-create > a,
.customer-home-chrome .sidebar .nav > .nav-item.customer-sidebar-create > a:hover,
.customer-home-chrome .sidebar .nav > .nav-item.customer-sidebar-create > a:focus {
    min-height: 48px;
    justify-content: center;
    border: 1px solid var(--customer-primary) !important;
    background: linear-gradient(135deg, #1f6dde 0%, #175cd3 100%) !important;
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(23, 92, 211, .18);
}

.customer-home-chrome .sidebar .nav > .nav-item.customer-sidebar-create > a p,
.customer-home-chrome .sidebar .nav > .nav-item.customer-sidebar-create > a i,
.customer-home-chrome .sidebar .nav > .nav-item.customer-sidebar-create > a span {
    color: #fff !important;
    font-weight: 650 !important;
}

.customer-home-chrome .sidebar .customer-sidebar-help {
    margin-top: auto;
    padding-top: 14px !important;
    border-top: 1px solid #eef0f3;
}

.customer-home-chrome .main-panel {
    width: calc(100% - 224px);
    min-height: calc(100vh - 76px);
    background: var(--customer-canvas);
}

.customer-home-chrome .main-panel > .container {
    margin-top: 76px !important;
}

.customer-home-chrome .pasa-footer-compact {
    border-top: 1px solid #e4e7ec !important;
    background: #fff !important;
    color: #667085 !important;
}

.customer-home-chrome .pasa-footer-compact::before {
    display: none;
}

.pasa-footer-compact-inner {
    width: min(calc(100% - 48px), 1220px);
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
    padding: 16px 0;
}

.pasa-footer-compact-brand {
    display: flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.pasa-footer-compact-brand strong {
    color: #344054;
    font-size: 13px;
    letter-spacing: .04em;
}

.pasa-footer-compact-brand span,
.pasa-footer-compact-inner small {
    color: #98a2b3;
    font-size: 12px;
}

.pasa-footer-compact-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.pasa-footer-compact-links a {
    color: #667085 !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
}

.pasa-footer-compact-links a:hover,
.pasa-footer-compact-links a:focus {
    color: var(--customer-primary) !important;
}

.pasa-footer-compact-inner > small {
    padding-left: 22px;
    border-left: 1px solid #e4e7ec;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .customer-home-chrome .customer-sidebar-toggle-desktop {
        display: none;
    }
}

@media (max-width: 991px) {
    .customer-home-chrome .sidebar,
    .customer-home-chrome .sidebar[data-background-color="white"] {
        right: auto !important;
        width: 224px;
        transform: translate3d(-224px, 0, 0) !important;
    }

    .nav_open .customer-home-chrome .sidebar,
    .nav_open .customer-home-chrome .sidebar[data-background-color="white"] {
        transform: translate3d(0, 0, 0) !important;
    }

    .nav_open .customer-home-chrome .main-panel,
    .nav_open .customer-home-chrome .main-header {
        transform: none !important;
    }

    .nav_open .customer-home-chrome::after {
        content: "";
        position: fixed;
        z-index: 990;
        inset: 76px 0 0;
        background: rgba(15, 23, 42, .38);
    }

    .customer-home-chrome .main-panel {
        width: 100%;
    }

    .customer-site-header .home-nav {
        display: none;
    }

    .pasa-footer-compact-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px 24px;
    }

    .pasa-footer-compact-links {
        order: 3;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .customer-site-header.main-header,
    .customer-site-header .home-header-inner {
        min-height: 68px;
    }

    .customer-site-header .home-header-inner {
        padding: 0 14px;
        gap: 12px;
    }

    .customer-site-header .home-brand img {
        width: 154px;
    }

    .customer-home-chrome .sidebar,
    .customer-home-chrome .sidebar[data-background-color="white"] {
        height: calc(100vh - 68px) !important;
        margin-top: 68px;
    }

    .nav_open .customer-home-chrome::after {
        inset: 68px 0 0;
    }

    .customer-home-chrome .main-panel > .container {
        margin-top: 68px !important;
    }

    .customer-profile-toggle {
        width: 42px;
        min-height: 42px;
        justify-content: center;
        padding: 4px;
    }

    .customer-profile-toggle::after {
        display: none;
    }

    .pasa-footer-compact-inner {
        width: calc(100% - 32px);
        display: block;
        padding: 20px 0;
    }

    .pasa-footer-compact-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .pasa-footer-compact-inner > small {
        display: block;
        margin-top: 14px;
        padding: 12px 0 0;
        border-top: 1px solid #e4e7ec;
        border-left: 0;
    }
}
