@import url(general.css);

/* ---------------------------------------cart_pop ups------------------------------------------ */
/* .musk {} */

.search__price__table td {
padding: 5px;
text-align: center;
font-size: 14px;
}

.enter_customer_info_musk,
.enter_new_draft_name_musk,
.enter_new_qty_musk {
width: 100%;
height: 100vh;
position: absolute;
top: 0;
left: 0;
display: none;
z-index: 2000000;
}


.enter_customer_info_musk_hide,
.enter_new_qty_musk_hide,
.enter_new_draft_name_musk_hide {
width: 100%;
height: 100vh;
background-color: rgba(1, 5, 23, 0.394);
position: absolute;
top: 0;
left: 0;
z-index: 2000001;
}

.enter_customer_info,
.enter_new_qty,
.enter_new_draft_name {
position: absolute;
background-color: #2e2e2e;
max-height: 80vh;
overflow-y: auto;
}


.search__buy_basket__invoice {
background-color: #2e2e2e;
max-height: 80vh;
overflow-y: auto;
overflow-x: hidden;
}

.enter_customer_info,
.enter_customer_info_container {
z-index: 2000002;
}

.enter_new_draft_name,
.enter_new_draft_name_container {
z-index: 2000002;
}

.enter_new_qty,
.enter_new_qty_container {
z-index: 2000002;
}

.search__buy_basket__invoice::-moz-scrollbar {
width: 10px;
}

.search__buy_basket__invoice::-moz-scrollbar-thumb {
background: var(--blue);
opacity: 0.7;
border-radius: 10px;
}

.search__buy_basket__invoice::-webkit-scrollbar {
width: 10px;
}

.search__buy_basket__invoice::-webkit-scrollbar-thumb {
background: var(--blue);
opacity: 0.7;
border-radius: 10px;
}


.enter_customer_info input[type="text"],
.enter_new_qty input[type="text"] {
border-radius: 4px;
/* border: #000 solid 1px; */
border: none;
padding: 3px;
box-shadow: 0 0 3px white;
}

.enter_customer_info>div{
margin: 10px 0;
}

.draft_item {
background-color: #707070;
width: 100%;
float: right;
text-align: center;
color: white;
transition: all .3s;
position: relative;
cursor: pointer;
padding: 2px 0;
margin: 1px 0;
}

.draft_item:first-child {
border-top-right-radius: 20px;
}

.draft_item:last-child {
border-bottom-right-radius: 20px;
}

.draft_item:hover {
background-color: #8d8989;
z-index: 321313;
transition: all .3s;
}

.draft_item.active {
background-color: #fff;
color: black;
font-weight: bold;
z-index: 321313;
}

.draft_item.active .draft_item_inner {
background-color: transparent;
color: black;
font-weight: bold;
z-index: 321313;
}


.draft_item_inner {
background-color: transparent;
width: 100%;
text-align: center;
padding: 2px 0;
color: white;
transition: all .3s;
position: relative;
cursor: pointer;
}

.draft_item_inner:first-child {
border-top-right-radius: 20px;
}

.draft_item_inner:last-child {
border-bottom-right-radius: 20px;
}

.btn_for_draft_box {
position: absolute;
right: -35px;
top: 5%;
transition: 0.3s;
display: flex;
opacity: 0;
}

.draft_item:hover .btn_for_draft_box {
transition: 0.3s;
opacity: 1;

}

.search__price__table tr td,
.search__price__table tr th {
border: 1px solid #dee2e6;
cursor: default;
}

.search__price__table tr>td:nth-last-child() {
border: none;
}

.td_delete_cartitem_button {
position: absolute;
opacity: 0;
transition: all .2s;
}

.search__price__table tr:hover .td_delete_cartitem_button {
transition: all .2s;
opacity: 1;

}


.enter_new_qty__mask {
width: 100%;
height: 100vh;
background-color: rgba(1, 5, 23, 0.394);
position: fixed;
right: 0;
z-index: 1000;
top: 0px;
display: none;
align-items: center;
justify-content: center;
}

.enter_new_qty__mask--box {
width: 30%;
height: auto;
background-color: #2e2e2e;
padding: 2rem;
z-index: 5;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.216);
}

.enter_new_qty__mask--box input {
width: 100%;
height: 40px;
padding: 0 10px;
text-align: center;
border-radius: 5px;
border: none;
outline: none;

}

.enter_new_qty__mask--box button {
width: 100%;
height: 40px;
text-align: center;
border-radius: 5px;
border: none;
background-color: var(--blue);
outline: none;
margin-top: .5rem;
}

.enter_new_qty__mask--out {
width: 100%;
height: 100%;
position: absolute;
}

.captcha_box input{
width: 90px;
height: 100%;
padding: 0;
border-radius: 2px;
}

.give_trackingcode_popUp_musk{
width: 100vw;
height: 100vh;
position: absolute;
background-color:rgba(109, 109, 109, 0.24);
top: 0;
left: 0;
z-index: 100000000000;
}
.give_trackingcode_popUp_content{
padding: 10px;
border-radius: 6px;
background-color: #2e2e2e;
color: white;
max-width: 60vw;
position: absolute;
z-index: 100000000002;
}
.give_trackingcode_popUp_musk_hide{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100000000001;
}

.ul_foreach_old_buyers{
max-height: 200px;
overflow-y: auto;
z-index: 2000004;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}

.ul_foreach_old_buyers li{
margin-bottom: 5px;
color: var(--blue);
}

.ul_foreach_old_buyers::-moz-scrollbar {
width: 10px;
}

.ul_foreach_old_buyers::-moz-scrollbar-thumb {
background: var(--blue);
opacity: 0.7;
border-radius: 10px;
}

.ul_foreach_old_buyers::-webkit-scrollbar {
width: 10px;
}

.ul_foreach_old_buyers::-webkit-scrollbar-thumb {
background: var(--blue);
opacity: 0.7;
border-radius: 10px;
}

.buyer_search_box{
min-width: 500px;
max-width: 900px;
background: #2e2e2e;
z-index: 1000000;
}

.search_box_old_buyers::focus{
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
}

.buyer_item{
cursor: pointer;
}



.prefactors_box{
max-height: 70vh;
top: 12vh;
right: 10px;

}

.prefactor_item:hover{
background: var(--blue);
transition: 0.3s ease;
color: #fff;
}

.prefactor_item{
transition: 0.3s ease;
}


.right{
gap: 5px;

}

.line {
border-left: 1px solid black;
height: auto;

}




.close-popup-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    line-height: 1;
    z-index: 1000;
}

.close-popup-btn:hover {
    color: darkred;
    background: transparent;
}







.popup-content{
z-index: 1000000000000000000;
width: 600px;
padding: 20px;

}
.button{
/* height: 100%; */
margin-top: auto;
}
.count{

}
.box_agaim_m select {
margin-bottom: 5px; /* یا هر مقدار دلخواه دیگری که می‌خواهید */
width: 50%;
}
/* loader_for_popup styles */
.loader_for_popup {
/* display: none; */
display: flex;
justify-content: center; /* وسط چین کردن در جهت افقی */
align-items: center;
z-index: 999;
background-color: #f3f3f3;
border: 6px solid #f3f3f3;
width: 100%;
height: 100%;
position: absolute;
right: 0;
top: 0;

}
/* .loader_for_popup1{
margin: auto;
} */

@media print {
body * {
visibility: hidden;
}
.print-table, .print-table * {
visibility: visible;
}
.print-table {
position: absolute;
left: 0;
top: 0;
width: 100%;
}
}
