@media (min-width: 992px) {
    .col-md-push-9 {
        position: relative;
        left: 75%;
    }
}

@media (min-width: 992px) {
    .col-md-pull-3 {
        position: relative;
        right: 25%;
    }
}

.d-flex {
    display: flex;
}

.d-flex-mobile {
    display: flex;
}

.d-block {
    display: block;
}

.d-grid {
    display: grid;
}

.cls-mdl-btn:hover {
    opacity: 0.4;
}

.width-fit-content {
    width: fit-content !important;
}

.report-select-box-section {
    border-radius: 10px !important;
    border: 0 !important;
    box-shadow: 0 0 5px 5px #f0f4fc;
    background-color: white;
    padding: 20px;
}

.report-select-box, .span-filter-display, .active-dealer-list-content {
    display: flex;
    align-items: center;
}

.active-dealer-list-content-section {
    border-right: 1px solid #cdd4e0;
}

.report-select-box-span {
    margin-left: 15px;
    color: #333333;
}

.mobile-flex-align-center-div {
    display: flex;
    align-items: center;
}

@media (max-width: 890px) {
    .report-select-box, .span-filter-display, .active-dealer-list-content, .mobile-flex-align-center-div, .d-flex-mobile {
        display: block;
    }

    .report-select-box-span {
        margin-left: 0px;
    }

    .active-dealer-list-content-section {
        border: 1px solid #cdd4e0;
    }
}

.dashboard-gold-sales-select-class {
    width: 15%;
}

@media (max-width: 576px) {
    .dashboard-gold-sales-select-class {
        width: 100%;
    }
}

.dashboard-gold-sales-select-class:focus {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
}

.dashboard-tab-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin-top: 30px;
    margin-bottom: 30px;
    scroll-behavior: smooth;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 2px solid #e9e9e9;
}

.dashboard-tab-container::-webkit-scrollbar {
    display: none;
}

.dashboard-tab {
    display: flex;
    justify-content: flex-start;
    align-items: center;
/*        overflow: hidden;*/
/*        border-bottom: 1px solid #c5c5c5;;*/
    background-color: #f1f1f100;
}

.dashboard-tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 50px;
    font-size: 18px;
    color: #c5c5c5;
}

.dashboard-tab button:hover {
    border-bottom: 3px solid #4154f1;
    color: black;
}

.dashboard-tab button.active {
    border-bottom: 3px solid #4154f1;
    color: black;
}

.custom-select-type {
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.custom-select-type::after {
    content: "";
    justify-self: end;
    width: 0.8em;
    height: 0.5em;
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    background-color: #555df0;
}

.custom-select-type select, .custom-select-type::after {
    grid-area: select;
}

.custom-select-type select::focus .custom-select-type select option::focus {
    outline: none !important;
    border: none;
}

.dropdown-company-select {
    appearance: none;
    background-color: transparent;
    cursor: inherit;
    padding-right: 20px;
    z-index: 1;
    border: 0px;
}

select option::focus {
    border: none !important;
    outline: none !important;
}

.bgc-eaedfe {
    background-color: #eaedfe;
}

.bgc-555df0 {
    background-color: #555df0;
}

.c-4e54ef {
    color: #4e54ef;
}

.c-071437 {
    color: #071437;
}

.c-99a1b7 {
    color: #99a1b7;
}

.bg-4154f1 {
    background: #4154f1 !important;
}

.w-10-perc {
    width: 10% !important;
}

.w-20-perc {
    width: 20% !important;
}

.w-80-perc {
    width: 80% !important;
}

.w-90-perc {
    width: 90% !important;
}

.report-select-filter-icon {
    margin-right: 0.5%;
    font-size: 25px !important;
}

.report-select-title {
    font-weight: bold;
}

.mr-0dot5-perc {
    margin-right: 0.5%;
}

.flex-align-center {
    display: flex;
    align-items: center;
}

.flex-end-align-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-flex-end {
    justify-content: flex-end;
}

.p-15 {
    padding: 15px;
}

.custom-fs {
    font-size: var(--fs, 10px);
}

.custom-clr {
    color: var(--clr, 'black');
}

.custom-bg {
    background: var(--bg, 'white') !important;
}

.m-t {
    margin-top: var(--m-t, 0px);
}

.m-b {
    margin-bottom: var(--m-b, 0px);
}

.m-l {
    margin-left: var(--m-l, 0px);
}

.m-r {
    margin-right: var(--m-r, 0px);
}

.p-t {
    padding-top: var(--p-t, 0px);
}

.p-b {
    padding-bottom: var(--p-b, 0px);
}

.p-l {
    padding-left: var(--p-l, 0px);
}

.p-r {
    padding-right: var(--p-r, 0px);
}

.mt-mb-ml-mr {
    margin-top: var(--mt, 0px);
    margin-bottom: var(--mb, 0px);
    margin-left: var(--ml, 0px);
    margin-right: var(--mr, 0px);
}

.pt-pb-pl-pr {
    padding-top: var(--pt, 0px) !important;
    padding-bottom: var(--pb, 0px) !important;
    padding-left: var(--pl, 0px) !important;
    padding-right: var(--pr, 0px) !important;
}

.ptb-plr {
    padding-top: var(--ptb, 0px) !important;
    padding-bottom: var(--ptb, 0px) !important;
    padding-left: var(--plr, 0px) !important;
    padding-right: var(--plr, 0px) !important;
}

.all-pd {
    padding-top: var(--ap, 0px) !important;
    padding-bottom: var(--ap, 0px) !important;
    padding-left: var(--ap, 0px) !important;
    padding-right: var(--ap, 0px) !important;
}

.pt-pb-pl-pr-mobile {
    padding-top: var(--pt, 0px) !important;
    padding-bottom: var(--pb, 0px) !important;
    padding-left: var(--pl, 0px) !important;
    padding-right: var(--pr, 0px) !important;
}

.wid-px {
    width: var(--wid, 0px);
}

.wid-perc {
    width: var(--widp, 0%);
}

.wid-perc-mobile {
    width: var(--widp, 0%);
}

.hgt-px {
    height: var(--hgt, 0px);
}

.hgt-perc {
    height: var(--hgtp, 0%);
}

.ctm-border {
    border-top: var(--bt, 1px) solid var(--bt-clr, 'unset');
    border-bottom: var(--bb, 1px) solid var(--bb-clr, 'unset');
    border-left: var(--bl, 1px) solid var(--bl-clr, 'unset');
    border-right: var(--br, 1px) solid var(--br-clr, 'unset');
}

.ctm-all-border {
    border-top: var(--ab, 1px) solid var(--bclr, 'unset');
    border-bottom: var(--ab, 1px) solid var(--bclr, 'unset');
    border-left: var(--ab, 1px) solid var(--bclr, 'unset');
    border-right: var(--ab, 1px) solid var(--bclr, 'unset');
}

.b-rad {
    border-radius: var(--brtl, 0px) var(--brtr, 0px) var(--brbr, 0px) var(--brbl, 0px);
}

.bdr-rad {
    border-radius: var(--br, 0);
}

.fw-bold {
    font-weight: bold;
}

.fw-normal {
    font-weight: normal;
}

.fw-600 {
    font-weight: 600;
}

.zero-border {
    border: 0 !important;
}

.p-tb-5-lr-10 {
    padding: 5px 10px;
}

.p-tb-10-lr-20 {
    padding: 10px 20px;
}

.p-tb-30-lr-20 {
    padding: 30px 20px;
}

.p-lr-20 {
    padding: 0px 20px;
}

.no-pad {
    padding: 0px !important;
}

.p-20 {
    padding: 20px;
}

.f-20 {
    font-size: 20px;
}

.dashboard-gold-sales-title, .dashboard-dpp-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
}

.dashboard-dpp-title-year {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 0px;
}

.dashboard-recruitment-statistic-title-year {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 30px;
}

.dashboard-gold-sales-title-action, .dashboard-dpp-title-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dashboard-gold-sales-title-select-year, .dashboard-dpp-title-select-status {
    margin-left: 40px;
}

.dashboard-gold-sales-title-search, .dashboard-dpp-title-search {
    border-radius: 0;
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
}

.dashboard-gold-sales-table-responsive {
    max-height: 600px;
}

.dashboard-gold-sales-table-responsive > div > div > div > .dataTables_length, .dashboard-gold-sales-table-responsive > div > div > div > .dataTables_filter {
    display: none !important;
}

.dashboard-gold-sales-table > tbody > tr > td {
    padding: 10px .5rem !important;
}

.dashboard-gold-sales-table > tbody > tr > td, .dashboard-gold-sales-table > thead > tr > th {
    border-style: dashed;
}

.dashboard-dpp-col-box {
    padding: 0px 20px;
}

@media (max-width: 576px) {
    .dashboard-gold-sales-title, .dashboard-dpp-title, .dashboard-dpp-title-year, .dashboard-recruitment-statistic-title-year, .pgls-record-breaker-section {
        display: block;
        margin: 0;
    }

    .dashboard-gold-sales-title-select-year {
        margin-left: 0px;
        margin-top: 10px;
    }

    .dashboard-gold-sales-title-action, .dashboard-dpp-title-action {
        display: block;
    }

    .dashboard-dpp-title-select-status {
        margin: 15px 0px;
    }

    .dashboard-dpp-col-box {
        padding: 0px 5px;
    }
}

.ml-neg-5 {
    margin-left: -5px !important;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mr-10 {
    margin-right: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.flex-auto {
    flex: 1 auto;
}

.display-none {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
}

.modal-overlay-content {
    width: var(--modal-wid-perc, 80%);
    height: var(--modal-hgt-px, 800px);
/*    display: flex;*/
    /*flex-direction: column;
    align-items: center;*/
    background-color: var(--modal-bg-clr, #f6f9ff);
    border-radius: 10px;
/*    padding: 20px;*/
    padding: var(--modal-pad, 20px);
}

.dashboard-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 3;
}

.dashboard-modal-overlay {
    z-index: 9999;
    animation-name: fadeIn;
    animation-duration: .3s;
}

.dashboard-modal-overlay-div, .modal-overlay-div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-modal-overlay-content {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 20px;
    padding: 20px;
}

.custom-modal-overlay-content {
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    padding: 20px;
}

.dashboard-modal-overlay-content > .bi-sign-stop-fill {
    font-size: 40px;
    color: #cd0000;
}

.dashboard-dpp-graph-div {
    max-width: 49%;
}

.dashboard-pgls-ticket-div {
    max-width: 49%;
    margin: 0px;
}

.dashboard-dpp-graph-div-card-body {
    padding: 0 10px 20px 10px;
}

.dashboard-dpp-progress-title, .admin-title-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.club-pin-tools-div-section {
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.upload-shopee-user-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.d-flex-flow-wrap {
    display: flex;
    flex-flow: wrap;
}

@media screen and (max-width: 770px) {
    .dashboard-dpp-graph-div {
        max-width: 100%;
    }

    .dashboard-pgls-ticket-div {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .dashboard-dpp-graph-div-card-body {
        padding: 0;
    }

    .dashboard-dpp-progress-title, .admin-title-div, .d-flex-flow-wrap {
        display: block;
    }

    .wid-perc-mobile {
        width: 100%;
    }

    .pt-pb-pl-pr-mobile {
        padding: 0px !important;
    }

    .club-pin-tools-div-section {
        display: block;
    }

    .upload-shopee-user-btn {
        margin-top: 20px;
        justify-content: flex-end;
    }
}

.complete-status-icon {
    background: #b2ffd1;
    color: #348f5a;
    padding: 5px 15px;
    border-radius: 25px;
}

.incomplete-status-icon {
    background: #ffd5d8;
    color: #ce2029;
    padding: 5px 15px;
    border-radius: 25px;
}

.pending-status-icon {
    background: #fef5ed;
    color: #f39e54;
    padding: 5px 15px;
    border-radius: 25px;
}

.pending-progress-container {
    background-color: #bfd0ff;
    border-radius: 25px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.pending-progress-bar {
    height: 15px;
    width: 70%;
    background-color: #2a62ff;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
    transition: width 0.4s ease;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.complete-progress-container {
    background-color: #e9f7ef;
    border-radius: 25px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.complete-progress-bar {
    height: 15px;
    width: 100%;
    background-color: #4cbc7b;
    border-radius: 25px;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
    transition: width 0.4s ease;
}

.progress-bar-animated {
    animation: progress-animation 2s ease-in-out infinite;
}

@keyframes progress-animation {
    0% { background-color: #4caf50; }
    50% { background-color: #45a049; }
    100% { background-color: #4caf50; }
}

.fw-lighter {
    font-weight: lighter;
}

.width-20-perc {
    width: 20%;
}

.width-35-perc {
    width: 35%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex-only-10 {
    flex: 10;
}

.flex-only-1 {
    flex: 1;
}

.recruitment-statistics-table > tbody > tr > td, .recruitment-statistics-table > thead > tr > th {
    vertical-align: middle;
    border: 1px solid #cdd4e0;
}

.active-dealer-pgcode-list-tab {
    border-bottom:1px solid #cdd4e0;
    cursor:pointer;
    transition: background-color 0.3s ease;
}

.active-dealer-pgcode-list-tab:hover {
    background: #e3e3e3;
}

.active-dealer-pgcode-list-tab-active {
    background: #e3e3e3;
}

.cursor-pointer {
    cursor: pointer;
}

.hovering {
   background: #ebebeb; 
}

/*.sidebar-nav .nav-link, .sidebar-nav .nav-link.collapsed, .sidebar-nav .nav-content a {
    color: unset;
    background: unset;
}

.sidebar-nav .nav-link i {
    color: unset;
}*/

.pgls-record-breaker-section {
    display: flex; 
    justify-content: space-between;
}

.pgls-dashboard-modal-pd {
    padding-left: 20px;
    padding-right: 10px;
}

.pgls-dashboard-modal-sales-section {
    width: 30%;
}

.pgls-dashboard-modal-sales-section-achieves {
    width: 70%;
}

.pgls-dashboard-breaker-section {
    display: flex; 
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .pgls-dashboard-breaker-section {
        display: block; 
    }

    .pgls-dashboard-modal-pd {
        padding: 0;
        margin-top: 10px;
    }

    .pgls-dashboard-modal-sales-section {
        width: 100%;
    }

    .pgls-dashboard-modal-sales-section-achieves {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .pgls-record-breaker-section {
        display: block; 
    }

    .pgls-dashboard-modal-pd {
        padding: 0;
        margin-top: 10px;
    }

    .modal-overlay-content {
        width: 100%;
    }

    .pgls-dashboard-modal-sales-section {
        width: 100%;
    }

    .pgls-dashboard-modal-sales-section-achieves {
        width: 100%;
    }

}

.vertical-align-mid {
    vertical-align: middle;
}

.zero-margin {
    margin: 0;
}

.pagination-btn-class, .pagination-btn-class-extra {
    border: 1px solid #dee2e6; 
    padding: 8px 12px;
    color: #0d6efd;
}

.pagination-btn-class:hover {
    background-color: #e1e1e1;
}

.pagination-number {
    width:50px;
    border:1px solid #ced4da;
    text-align: center;
}

.pagination-number::-webkit-outer-spin-button,
.pagination-number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

.semi-opacity {
    opacity: 0.5;
}

.btn-transparent-custom {
    transition: all 0.3s ease;
    padding: 2px 10px;
    font-size: 14px;
    border-radius: 25px;
    margin-right: 5px;
    font-weight: bold;
    background: #f7567c;
    border: 2px solid #f7567c;
    color: white;
    margin-bottom: 5px;
}

.overflow-x-scroll-style {
    overflow-x:scroll; width:100%; 
    white-space:nowrap; 
    scroll-behavior: smooth;
    scrollbar-width: none; 
}

.disabledSelectBtn {
    pointer-events: none;
    background-color: #e9ecef;
}

.shorten-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-checkbox-section {
    margin-bottom: 5px;
}

.custom-checkbox-section input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    border: 1px solid #ced4da;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    cursor: pointer;
}

.custom-checkbox:hover {
    background-color: #6ba2d4;
    color: white;
}

.custom-checkbox-section input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #6ba2d4;
    color: white;
}

.wrap-break-word {
    overflow-wrap: break-word;
}

.custom-progress-container {
    width: 100%;
    max-width: 400px;
    background-color: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    height: 20px;
}

.custom-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    border-radius: 20px;
    transition: width 0.4s ease;
}

.custom-progress-bar {
    animation: load 1s ease-in-out forwards;
}

#pgls-sort-head th {
    position: sticky;
    background: #676767 !important;
    border-bottom: 1px solid white;
    color: white;
}

#pgls-sort-head tr:nth-child(1) th {
    top: 0;
}

#pgls-sort-head tr:nth-child(2) th {
    top: 38px;
}

/* Release Confirmation Popup */
.custom-alert-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); 
    
    display: none;             
    justify-content: center;  
    align-items: center;       
    z-index: 9999;
}

.custom-alert-dialog {
    background-color: #f0f8ff; 
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.custom-alert-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 18px;
}
.custom-alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.custom-alert-body {
    margin-top: 10px;
    white-space: pre-line; /* preserves newlines from JS message */
}
.custom-alert-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.locked-row {
    opacity: 0.5;
    pointer-events: none;
}

.checkpoint-progress-wrapper {
    width: var(--widp, 100%);
    max-width: var(--max-wid, 500px);
}

.checkpoint-progress-container {
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.checkpoint-progress-container::before {
    content:"";
    position:absolute;
    top:24px;
    left:0;
    width:100%;
    height:6px;
    background:#ddd;
    z-index:1;
    border-radius:10px;
}

.checkpoint-progress-line {
    position:absolute;
    top:24px;
    left:0;
    height:6px;
    background:#4154f1;
    z-index:2;
    border-radius:10px;
/*    transition:0.1s;*/
}

.checkpoint-progress-step {
    position:relative;
    z-index:3;
    display:flex;
    flex-direction:column;
    align-items: var(--align, center);
    width: var(--widp, 50%);
    /*margin-left: var(--ml, 0px);
    margin-right: var(--mr, 0px);*/
}

.checkpoint-progress-circle{
    width: var(--wid, 50px);
    height: var(--hgt, 50px);
    border-radius: var(--br, 50%);
    background: var(--bg, white);
    color: var(--clr, '#fff');
    border: var(--bdr, 4px) solid var(--bdr-clr, #4154f1);
}

@media (max-width:600px){
    .checkpoint-progress-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .checkpoint-progress-container::before {
        width: 6px;
        height: 100%;
        left: 22px;
        top: 0;
    }

    .checkpoint-progress-line {
        height: 0px;
        width: 6px;
        left: 22px;
        top: 0;
    }

    .checkpoint-progress-step {
        flex-direction: row;
        width: auto;
        gap: 15px;
        left: 0 !important;
        right: 0 !important;
    }

    .circle{
        margin-bottom:0;
    }

    .label{
        text-align:left;
    }
}

#branch-country-dropdown {
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
}

#branch-country-dropdown .dropdown-item {
    cursor: pointer;
}

#branch-country-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

#branch-country-search::placeholder {
    color: #000;
    opacity: 1;
}