#app{
    min-height: 100vh;
}
.container{  
    max-width: 768px;
    margin: 0 auto; 
    position: relative;
}
.adminuiux-content > .container{ 
    min-height: calc(100vh - 60px); 
    padding-bottom: 60px;
    position: relative;
}
.adminuiux-content > .container > .adminuiux-footer{  
    position: absolute;
    bottom: 0;  
    left: 0;
    right: 0; 
}
.pageloader {
    backdrop-filter: blur(18px);
    background-color: rgba(255, 255, 255, 0.85);
    height: 100vh;
    left: 0px;
    position: fixed;
    top: 0px;
    width: 100vw;
    z-index: 9999;
}
/* .form-control {
    background-color: #fff !important;
}   */

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important; 
}
textarea{ 
    overflow:hidden; 
    resize:none;
    min-height: 76px !important;
}
.select2-container--default .select2-selection--single {
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    height: auto;
    padding: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { 
    top: 5px;
    right: 8px; 
}
.btn_callcenter.public{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: var(--bs-border-width) solid var(--bs-border-color);
    font-size: 55px; 
    height: 80px;
    width: 80px;
    background: var(--adminuiux-theme-1-active);
}
.btn_callcenter.public{
    height: 50px;
    width: 50px;
    font-size: 25px; 
    border-radius: 15px;
}
/* .btn_callcenter.public.preactivated{
    height: 56px;
    width: 56px;
    border-radius: 15px !important;
    font-size: 28px;
} */
.btn_callcenter.public:hover{ 
    background: var(--adminuiux-theme-1-hover);
}  
.contact_list{
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 9999;
    width: 100%;  
    display: flex;
    justify-content: center;
    margin-bottom: -100%; 
    transition: all 0.3s ease-in-out;
}
.contact_list.show{
    margin-bottom: 0; 
}
.contact_list > div{ 
    display: flex;
    width: calc(100vw - 30px);
    max-width: 600px;
    background: #fff;
    padding: 15px;
    border-top-left-radius: var(--bs-border-radius);
    border-top-right-radius: var(--bs-border-radius);
    box-shadow: 0px 0px 10px 0px rgb(50 50 50 / 37%);
    max-height: 80vh;
    overflow-y: auto;
}
.contact_list > div > .list-group{ 
    width: 100%;
}
.contact_list .list-group a .icon{ 
    font-size: 32px;
    color: var(--teal);
}
.nav-item.dropdown .dropdown-menu{
    width: 100%;
}
.div_giftamount{
    font-size: 22px;
    font-weight: 600;
}
.div_amount{
    display: inline-block;
    width: 100%;
    max-width: 100px;
    text-align: center;
    border-radius: var(--bs-border-radius);
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding: 5px;
    font-weight: bold;
}
.checker{
    display: inline-flex;
    width: 22px;
    height: 22px;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-border-radius);
    border: var(--bs-border-width) solid var(--bs-border-color);
    color: #ddd;
}
.list_checker{
    cursor: pointer;
    border: var(--bs-border-width) solid var(--bs-border-color);
}
.list_checker.active{
    border: var(--bs-border-width) solid var(--bs-primary);
}
.list_checker.active .checker{
    background-color: var(--bs-primary); 
    color: #fff;
}
.form-floating>.form-control:not(:placeholder-shown)~label:after{
    background-color: transparent;
}
.border-radius{
    border-radius: var(--bs-border-radius);
}
@media(min-width: 768px) {
    body.sidebar-close .logo_white,
    body:not(.sidebar-close) .logo_green,
    body:not(.sidebar-close) .adminuiux-header.active .logo_white {
        display: none;
    }  
    body:not(.sidebar-close) .adminuiux-header.active .logo_green{
        display: inline-block;
    }  
}
@media(max-width: 767px) {
    body.sidebar-open .logo_green,
    body:not(.sidebar-open) .logo_white,
    body:not(.sidebar-close) .adminuiux-header.active .logo_white {
        display: none;
    }  
    body:not(.sidebar-close) .adminuiux-header.active .logo_green{
        display: inline-block;
    }  
}
.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ----------- scaner ----------- */
 #scannerPopup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#scannerPopup.active { display: flex; }
video#camera {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 100vh;
}
#scannerControls {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 100px;
}
#scannerControls button { 
    padding: 2px 7px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 22px;
    background: rgb(0 0 0 / 32%);
    color: #fff;
}
.qrBorder{
    position: absolute;
    z-index: 10000;
    display: inline-block;
    width: calc(100vw - 40px);
    height: calc(100vw - 40px);  
    max-height: 400px;
    max-width: 400px;
}
.qrBorder > div{
    position: absolute;
    z-index: 10001;
    display: inline-block;
    width: 50px;
    height: 50px; 
    background: transparent;
}
.qrBorder .tl{ border-top-left-radius: 10px; }
.qrBorder .tr{ border-top-right-radius: 10px; }
.qrBorder .bl{ border-bottom-left-radius: 10px; }
.qrBorder .br{ border-bottom-right-radius: 10px; }
.qrBorder .tl,.qrBorder .bl{
    border-left: 3px solid #6161618f;
    left: 0;
}
.qrBorder .tr,.qrBorder .br{
    border-right: 3px solid #6161618f;
    right: 0;
}
.qrBorder .tl,.qrBorder .tr{
    border-top: 3px solid #6161618f;
    top: 0;
}
.qrBorder .bl,.qrBorder .br{
    border-bottom: 3px solid #6161618f;
    bottom: 0;
}
/* ----------- end scaner ----------- */

/* POS */ 
.pos-container {
    display: block;
    margin: auto;
    max-width: 320px;
    background: #fff; 
}

.pos-container .display {
    font-size: 24px;
    font-weight: bold;
    text-align: right;
    padding: 15px;
    border: 1px solid var(--adminuiux-theme-1);
    border-radius: 8px;
    margin-bottom: 20px;
    background: var(--adminuiux-bg-1);
    color: var(--adminuiux-theme-1-active);
    min-height: 68px; 
}
.pos-container .display.has_error{
    border: 1px solid var(--bs-danger);
    color: var(--bs-danger);
}

.pos-container .keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.pos-container .keypad button {
    padding: 10px;
    font-size: 20px;
    border: none;
    border-radius: 8px;
    background: var(--adminuiux-bg-2);
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
    color: var(--bs-brown);
}

.pos-container .keypad button:active {
    background: var(--adminuiux-theme-1-hover);
}

.pos-container .tx-note {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #aaa;
    margin-bottom: 20px;
    font-size: 16px;
} 
.inv_pos{  
    padding: 3px 10px;
    border: 1px solid var(--adminuiux-theme-1);
    border-radius: 3px; 
    background: var(--adminuiux-bg-1);
    color: var(--adminuiux-theme-1-active); 
}
/* END POS */

.div_qrcodepay{
    display: none;
    transition: all ease-in-out 0.5s;
}
.div_qrcodepay.show{
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9990;
    padding: 15px;
    transition: all ease-in-out 0.5s;
}
.merchant_logo{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    color: #595959;
}
.merchant_name{
    font-weight: bold;
    font-size: 18px;
}
.pay_amount{
    font-size: 24px;
    font-weight: bold;
    color: #29570e;
}
.success_icon{
    font-size: 65px; 
    color: #72b34c;
}
.success_message{
    font-size: 20px;
    font-weight: bold;
    color: #29570e;
}
.div_listreferral,
.div_listmerchant{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.item_referral,
.item_merchant{
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 8px; 
    flex-direction: column;
    padding: 10px 15px;
    cursor: pointer;
} 
.item_merchant .link_wa{ 
    font-size: 30px;
    color: #fff;
}
.item_referral .link_wa {  
    font-size: 30px;
}
.item_referral .div_name,
.item_merchant .div_name{ 
    font-weight: bold;
    font-size: 18px
}
.item_referral .div_addr,
.item_referral .div_city,  
.item_referral .div_hp,
.item_merchant .div_addr,
.item_merchant .div_city,  
.item_merchant .div_hp{  
    font-size: 13px
}
.item_referral .merc_desc,
.item_merchant .merc_desc{ 
    margin-top: 10px;
    padding-top: 10px;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-top: 1px solid #ddd;
}
.item_merchant .merc_desc{ 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.inv_box{
    border: 1px solid #ddd;
    border-radius: 8px;
}
.inv_box .inv_number{
    border-bottom: 1px solid #ddd;
    padding: 10px 15px;
}
.inv_box .inv_info{ 
    padding: 10px 15px;
}
.inv_box .iv_amount{ 
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.inv_box .iv_note{ 
    font-size: 13px; 
}
.buyer_id{
    font-weight: 600;
}
.act_filter_merchant{
    cursor: pointer;
    color: #222121;
    font-size: 22px;
    text-transform: capitalize;
    text-decoration: none;
}
.act_filter_merchant:hover{  
    text-decoration: none;
} 
.filter_merchat{
    height: 0px;
    overflow: hidden;
    transition: all ease-in-out 0.5s; 
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 10px 15px;
    display: none;
}
.filter_merchat.show{
    display: block;
    height: auto;
    overflow: visible;
    transition: all ease-in-out 0.5s; 
}
.btn-default{
    background: #f5acac;
}
.input_search{
    display: inline-flex;
    position: relative;
    width: 100%;
}
.opsi_search_filter{
    display: none;
    position: absolute;
    top: 35px;
    left: 0px;
    border-radius: 15px;
    border: 1px solid #ddd;
    background: #fff;
    transition: all ease-in-out 0.3s;
}
.opsi_search_filter .f_select{
    padding: 10px 15px;
}
.opsi_search_filter.show{
    display: inline-block; 
    transition: all ease-in-out 0.3s;
}
.opsi_search_filter a{
    display: block; 
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
}
.opsi_search_filter a.selected{
    font-weight: bold;
}
.opsi_search_filter a:last-child{ 
    margin-bottom: 0;
}
.input_search > div > select,
.input_search > div > input{
    width: 100%;
}
.input_search > div > select,
.input_search > div > input,
.input_search > div > select:focus,
.input_search > div > input:focus,
.input_search > div > select:active,
.input_search > div > input:active{
    border: none !important;
    outline: none !important;
    box-shadow:  none !important;
    background: transparent !important; 
}
.input_search .act_filter_search{ 
    position: absolute;
    font-size: 20px;
    right: 10px;
    top: 4px;
    cursor: pointer;
    color: #a39f9f;
}
.nav-filter-merchant a{
    background-color: #ededed;
}
.nav-filter-merchant a.active{
    background-color: #07501d;
    color: #fff;
}
.newpreactivate_icon{
    position: relative;
}
.newpreactivate_icon.active:after{
    content: "";
    position: absolute;
    top: 0;
    left: 103%;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
}
.link_sosmed a{
    color: grey;
}
@media(max-width: 991px){
    .adminuiux-wrap .adminuiux-content.has-sidebar { 
        padding-top: 62px;
    }
}