.new-user,
.new-user input {
    font-size: 18px;
}

.custom-icon {
    font-size: 19px;
    vertical-align: -2px;
    background: #44c566;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
}


.signpages .login_form {
    border-radius: 5px;
    border: 1px solid #cfcfcf;
}

.titr_rigester {
    border-bottom: 1px solid #cfcfcf;
    padding: 15px !important;
    margin-bottom: 1% !important;
    width: 100%;
}

.login-container {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-box {
    display: flex;
    width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.login-left {
    width: 40%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.login-register {
    /* margin-left: calc(var(--bs-border-width)* -1); */
    /* border-top-left-radius: 0; */
    /* border-bottom-left-radius: 0; */
    border-radius: 10px 0 0 10px !important;
    position: relative;
    left: 2px;
    z-index: 2
}


























[data-menu-styles=dark] {
    --menu-bg: rgb(14, 14, 35);
    --menu-prime-color: rgba(255, 255, 255, 0.4);
    --menu-border-color: rgba(255, 255, 255, 0.1);
}

[data-menu-styles=light] {
    --menu-bg: #25233c;
    --menu-prime-color: rgba(255, 255, 255, 0.4);
    --menu-border-color: rgba(255, 255, 255, 0.1);
}

.custom-scrollbar {
    overflow: auto;
    /* یا overflow-x: auto; overflow-y: auto; */
    max-height: 100%
        /* یا ارتفاع دلخواه */
}

.profile-cover__img img{
    border:0 !important;
}

.profile-cover__img>img+.h3 {
    color: #000000 !important;
}

/* استایل برای اسکرول بار در مرورگرهای وبکیت */
.custom-scrollbar::-webkit-scrollbar {
    width: 2px;
    height: 3px;
}

.pagination {
    margin: 1% !important;
}

.custom_card_dashboard {
    height: 90% !important;
}

marquee {
    height: 100%;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #86a38f;
    border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #616f64;
}

.tooltip-btn {
    position: relative;
    display: inline-block;
}

.tooltip-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #30536a;
    color: #fff;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tooltip-btn::after {
    content: "";
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #30536a;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

.tooltip-btn:hover::before,
.tooltip-btn:hover::after {
    opacity: 1;
    visibility: visible;
}


.tooltip-icon {
    position: relative;
    display: inline-block;
}

.tooltip-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background: #30536a;
    color: #fff;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tooltip-icon::after {
    content: "";
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #30536a;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

.tooltip-icon:hover::before,
.tooltip-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

.index-tooltip .tooltip-icon::before {
    position: relative;
    bottom: 124% !important;
}

.bg-img {
    background: linear-gradient(80deg, #1dbca3, #3edd7a);
    background-size: cover;
    background-position: bottom;
}

.table ::-webkit-scrollbar {
    width: 2px !important;
    height: 2px !important;
}

.preview-container {
    margin-top: 12px;
    border: 2px dashed #007bff;
    border-radius: 8px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 123, 255, 0.05);
}

.profile-cover__img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
}



.name_user {
    position: relative;
    top: 50px;
    right: 3%;
    height: 100%;
}

[data-theme-mode=dark] .name_user h3 {
    color: #ffffff;
}

.profile-cover__img {
    position: absolute;
    top: 9%;
    margin-bottom: 50%;
}

[data-theme-mode=light] .profile-cover__img img {
    width: 110px;
    height: 110px;
    border-radius: 20px;
}

[data-theme-mode=dark] .profile-cover__img img {
    width: 110px;
    height: 110px;
    border-radius: 20px;
}
.profile-tab{
    margin-top: 15%;
}
.body-profile {
    border: 1px solid #cfcfcf;
}

.custom_profile_info {
    padding: 20px;
}

.icon_profile {
    font-size: 25px;
    vertical-align: -3px;
}

.text-white-50 {
    --bs-text-opacity: 2;
    color: rgb(255 255 255) !important;
}

.preview-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.file-name {
    font-size: 14px;
    color: #555;
    font-style: italic;
    margin-top: 8px;
}

.btn-send {
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 50%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: #ffff;
}

.edit_profile_btn {
    position: absolute;
    top: -10px;
    left: 49%;
    border-radius: 50%;
    text-align: center;
    font-size: 15px;
}

[data-theme-mode=light] .edit_profile_btn i {
    background-color: #fff;
    position: relative;
    font-size: 15px;
    border-radius: 50%;
    padding: 8px;
    left: 0px;
    top: 0px;
}
[data-theme-mode=dark] .edit_profile_btn i {
    background-color: #0E0E23;
    position: relative;
    font-size: 15px;
    border-radius: 50%;
    padding: 8px;
    left: 0px;
    top: 0px;
    color: #fff;
}

.profile_info .tooltip-icon::before {
    position: absolute !important;
    /* برای اطمینان از قرارگیری درست */
    bottom: 110% !important;
    /* تنظیم موقعیت بالای آیکون */
    left: 50% !important;
    /* وسط چین کردن */
    transform: translateX(-50%) !important;
    /* تنظیم موقعیت افقی */
    z-index: 9999;
    /* برای نمایش در بالای سایر عناصر */
}

.profile-cover__img .tooltip-icon::before {
    bottom: 110% !important;
}


@media (min-width: 300px) and (max-width: 720px){
    .name_user h3{
        position: relative;
        left: 120%;
        top: -5vh;
    }
    .profile-cover__img img{
        position: relative;
        right: 8%;
        top: -2vh;
    }
    .profile-cover__img a{
        position: relative;
        left: 85px;
        top: -5px;
    }
    .profile-cover__img .tooltip-icon::before{
        bottom: 103% !important;
    }
    .profile-cover__img .tooltip-icon::after{
        bottom: 93% !important;
    }
    .profile-nav-line{
        margin-top: 30%;
    }
    .profile-nav-line a{
        border: 0 !important;
    }
}


.profile-cover__action{
    margin: 0;
}

[data-theme-mode=light] .profile-nav-line {
    box-shadow: 1px 2px 10px #cfcfcf;
    padding: 20px !important;
    border-radius: 20px;
}

[data-theme-mode=dark] .profile-nav-line {
    box-shadow: 1px 2px 10px #051129;
    padding: 20px !important;
    border-radius: 20px;
}

.profile-nav-line a {
    border-left: 1px solid #cfcfcf;
    border-radius: 0;
}

.profile-nav-line a:nth-child(4) {
    border-left: 0;
}

.img_thomnail img {
    border-radius: 10px;
    width: 50%;
    height: 50%;
}

[data-theme-mode=light] .search_box {
    margin: 0 auto;
    background-color: #ffffff;
    border: 0;
    box-shadow: 1px 2px 20px #ededed;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 5%;
}


[data-theme-mode=dark] .search_box {
    margin: 0 auto;
    background-color: #020d25;
    border: 1px #040923 solid;
    box-shadow: 1px 2px 20px #051129;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 5%;
}

.eleman_search {
    margin-bottom: 2%;
}

.titr_filter {
    text-align: center;
    font-size: 20px;
    padding: 10px;
}

.buttn_filter {
    text-align: center;
    max-width: 100%;
}

.buttn_filter button {
    width: 50%;
}

.img_card {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 10px;
    position: relative;
    width: 100%;
}

.bank_kard {
    border-bottom: 0;
    padding-bottom: 0;
}

.img_card img {
    margin-bottom: 8%;
    border-radius: 10px;
}

.img_card a:active {
    border: 0;
}

.action_product {
    position: absolute;
    left: -3%;
    top: -3%;
    text-align: center;
}

.action_product a {
    display: block;
    border: 1px solid #cccc;
    border-radius: 50%;
    padding: 7px;
    margin-top: 12%;
    backdrop-filter: blur(5px);
    background-color: #5656563d;
    color: #fff;
}

.titr_card {
    font-weight: bold;
    width: 80%;
}

.info_img_card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: justify;
    width: 100%;
}


.info_card {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    position: relative;
}

.quantity_card {
    text-align: center;
    position: absolute;
    padding-bottom: 10px;
    left: 0;
    top: 8px;
    padding: 10px 30px;
    color: #000000;
    border-radius: 10px;
}

[data-theme-mode=dark] .quantity_card {
    color: #fff;
}

[data-theme-mode=dark] .price_product {
    color: #fff;
}
.add_to_cart_item{
    width: 90% !important;
    position: relative;
    left: 7%;
}
[data-theme-mode=dark] .add_to_cart_item {
    box-shadow: 1px 2px 20px #051129;
}

.price_product {
    text-align: center;
    position: absolute;
    padding-bottom: 10px;
    right: -5%;
    top: 8px;
    padding: 10px 30px;
    color: #027619;
    border-radius: 5px;
}



#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: #00000033;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loading img {
    width: 10%;
    /* تنظیم سایز لودر */
    height: auto;
}

.choices__inner {
    height: 40px !important;
}

[data-theme-mode=light] .custom-card-header {
    border-bottom: 1px solid #e3e3e3 !important;
    padding: 20px !important;
    transition: .3s;
}

[data-theme-mode=dark] .custom-card-header {
    border-bottom: 1px solid #0c2c40 !important;
    padding: 20px !important;
    transition: .3s;
}

.custom-card-header .card-title {
    font-size: 18px !important;
}

.slector {
    margin-bottom: 1%;
}

.check-slector input {
    box-shadow: 1px 2px 10px #cccc;
    border: 1px solid #ccc;
    margin-left: 1%;
    vertical-align: -4px;
}

.rows {
    display: flex;
    flex-direction: row;
}

.btn-delete {
    background-color: #d42c2c;
    padding: 2px 10px;
    color: #fff;
    font-size: 20px;
}

.btn-delete:hover {
    background-color: #ff0000;
    color: #fff;
}

.head-users-table th {
    width: 1%;
}

.swal-open {
    overflow: hidden;
    /* جلوگیری از اسکرول */
}

.swal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 998;
    pointer-events: auto;
}

.swal-active {
    pointer-events: auto !important;
}

.container-preview {
    position: relative;
    right: 34%;
    font-size: 18px;
}

.img-prev {
    display: none;
    text-align: center;
    width: 30%;
    border-radius: 10px;
}

.createUser input {
    font-size: 20px;
}

#header-notification-scroll {
    overflow: auto;
}

.new-product,
.new-product input {
    font-size: 18px;
}

.title_card {
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 1%;
    width: 100%;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

[data-theme-mode=dark] .title_card {
    border-bottom: 1px solid #0c2c40 !important;
    transition: .3s;
}

.title_product {
    width: 75%;
    flex-grow: 1;
    /* اجازه می‌دهد که عنوان فضای بیشتر بگیرد */
    white-space: nowrap;
    /* جلوگیری از شکسته شدن متن در خط‌های جدید */
    overflow: hidden;
    /* مخفی کردن بخش اضافی متن */
    text-overflow: ellipsis;
    /* نمایش "..." در انتهای متن در صورت برش */
}

.count_product {
    font-weight: none;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #b1b1b1;
}

.info_product {
    display: flex;
    flex-direction: row-reverse;
    margin: 0 2%;
    justify-content: space-between;
    align-items: center;
}

.img_logo {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.selector {
    position: relative;
    right: 10%;
    top: 8px;
}

.selector select {
    border: 1px solid #cfcfcf !important;
}

.buttn_send {
    text-align: center;
}

.send-btn {
    width: 80%;
}

.buy_order {
    width: 60%;
    position: relative;
    box-shadow: 1px 2px 20px #cacacacc;
}

.btn_disabled {
    cursor: not-allowed;
}

.custom_icon_modal {
    font-size: 20px;
    vertical-align: -4px;
    margin-left: 1%;
}

.product_order {
    width: 100% !important;
}

.namayandeh {
    font-size: 15px !important;
    position: relative;
    top: -3px;
    right: 8%;
    padding: 10px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
}

.logo_product {
    margin: 5%;
}

.selprice {
    margin-top: 3%;
    margin-right: 2%;
    margin-left: 5%;
    position: relative;
    right: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}



.new-user,
.new-user input {
    font-size: 18px;
}

.custom-icon {
    font-size: 19px;
    vertical-align: -2px;
    background: #44c566;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
}


.signpages .login_form {
    border-radius: 5px;
    border: 1px solid #cfcfcf;
}

.titr_rigester {
    border-bottom: 1px solid #cfcfcf;
    padding: 15px !important;
    margin-bottom: 1% !important;
    width: 100%;
}

.login-container {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-box {
    display: flex;
    width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.login-left {
    width: 40%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.login-left svg {
    width: 80px;
    height: 80px;
}

.login-right {
    width: 60%;
    padding: 30px;
    background: #fff;
}

.login-register {
    /* margin-left: calc(var(--bs-border-width)* -1); */
    /* border-top-left-radius: 0; */
    /* border-bottom-left-radius: 0; */
    border-radius: 10px 0 0 10px !important;
    position: relative;
    left: 2px;
    z-index: 2
}

.quantity-container {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    left: 9%;
    float: right;
}

.quantity-btn {
    width: 60px;
    height: 40px;
    border: none;
    background: #77b6ca;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.quantity-btn:hover {
    background: #0056b3;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    outline: none;
}

.modal_item_icon {
    font-size: 30px;
    vertical-align: -4px;
    margin-left: 0;
}

.body_cart {
    padding: 10px;
    font-size: 17px;
}

.titr_item_category {
    font-size: 20px;
    margin-bottom: 2%;
}

.product_listed {
    font-size: 17px;
}

.products_list_item {
    border-bottom: 1px solid #cfcf;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    padding-bottom: 10px;
    margin-bottom: 2%;
}

.delete_item {
    position: relative;
    top: 20px;
}

.delete_item i {
    font-size: 20px;
    color: red;
}

.info_item_products {
    position: relative;
    right: 95px;
    top: -17%;
    color: #a32424;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 35px;
}


.modal-content {
    width: 124% !important;
}

.total_price {
    color: #058854;
    font-size: 20px;
    text-align: center;
}

.action_transaction button {
    font-size: 20px;
    width: 100%;
    background-color: #44c566;
    color: #fff;
}

.action_transaction button:hover {
    font-size: 20px;
    width: 100%;
    background-color: #0c872d;
    color: #fff;
}

.action_transaction i {
    vertical-align: -3px;
}

.btn_icon {
    font-size: 20px;
}

.btn_icon .fa-check {
    color: #17bc51;
}

.btn_icon .fa-circle-xmark {
    color: #d21717;
}

.btn_icon .fa-triangle-exclamation {
    color: #cdb30f;
}

.img-prev img {
    max-width: 200px;
    margin: 5px;
    border-radius: 10px;
}

.img_arrived img {
    border-radius: 10px;
    margin: 2%;
}

.img_arrived button {
    position: relative;
    top: 18%;
    right: 45%;
    background: #ffff;
    border-radius: 0 20px 20px 0;
    padding: 10px;
    color: #d21111;
    font-size: 13px;
}

.img_arrived button:hover {
    background-color: #fff;
    color: #d21111;
}

.custom_modal_content {
    width: 110% !important;
}

.show_img_arrived img {
    max-width: 100%;
}

.action_delete_arrived button {
    font-size: 20px;
    width: 100%;
    background-color: #b1120c;
    color: #fff;
}

.action_delete_arrived button:hover {
    font-size: 20px;
    width: 100%;
    background-color: #ac0707;
    color: #fff;
}

.action_delete_arrived i {
    vertical-align: -3px;
}


.priced {
    font-weight: none;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #077707;
}

[data-theme-mode=dark] .priced {
    color: #fff;
}