﻿.app-header {
    box-shadow: none !important;
}

.font-75rem {
    font-size: 0.750rem !important;
}

.bell-lable {
    top: 0.4rem !important;
}

.btn-icon-text {
    margin-left: 6px;
    position: relative;
    top: 2px;
}

.btn-padding-rl {
    padding-right: 16px;
    padding-left: 16px;
}

.toast {
    min-width: 250px;
    max-width: 350px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    .toast.show {
        opacity: 1;
    }

    .toast.hide {
        opacity: 0;
    }

/* رنگ پس‌زمینه ملایم سبز و قرمز */
.bg-toast-success {
    background-color: #198754 !important; /* سبز Bootstrap اصلی */
    background-color: rgba(25, 135, 84, 0.85) !important; /* کمی شفاف‌تر */
}

.bg-toast-danger {
    background-color: #dc3545 !important; /* قرمز Bootstrap اصلی */
    background-color: rgb(209 41 57 / 90%) !important /* کمی شفاف‌تر */ /* کمی شفاف‌تر */
}

/* متن سفید و کمی ضخیم‌تر */
.toast {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
}

    .toast .toast-body {
        font-weight: 500;
        color: #fff;
        font-size: var(--bs-body-font-size);
    }


.dataTables_wrapper .top {
    display: flex;
    justify-content: space-between; /* فاصله گرفتن از هم */
    align-items: center; /* تراز عمودی */
    flex-wrap: nowrap; /* در یک خط نگه داره */
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    float: none !important;
}

.dt-container .top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
    gap: 10px;
    flex-wrap: wrap;
}


.dt-container .dt-length {
    flex: 0 0 auto; /* اندازه ثابت بر اساس محتوا */
}

.dt-container .dt-search {
    flex: 1 1 auto; /* فضای باقی‌مانده رو اشغال کنه */
    min-width: 150px; /* حداقل اندازه */
    max-width: 100%; /* بیشینه */
}

.dt-container .top .dt-search input {
    width: 70%; /* عرض دلخواه */
    max-width: 100%;
}

.dt-container .bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

table tbody tr td {
    vertical-align: middle; /* وسط چین عمودی */
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
    margin-left: 5px;
    position: relative;
    top: 4px;
}

.active {
    background-color: #3472ff42;
    border-radius: 30px;
}

.menu-item {
    margin-top: 5px;
}

input {
    margin-bottom: 5px;
}

.select2 {
    border: 1px solid #d1d9e7 !important;
}

.select2-container {
    /* */
    border-radius: 4px !important;
    padding-top: 5px;
}

.select2-results__option--highlighted {
    background-color: #3472ff42 !important;
}

.access-denied-code {
    font-size: 7.5rem;
}

.error-page {
    padding: 0 !important;
}

#LinkDashboard.active, #LinkUserBank.active, #LinkMyTransaction.active {
    width: 95% !important;
}

body, html {
    height: 100%;
}

.text-bold {
    font-weight: bold !important;
}

.text-italic {
    font-style: italic !important;
}

.font-size-095rem {
    font-size: 0.95rem !important;
}

.pb-075 {
    padding-bottom: 0.75rem !important;
}

.pt-075 {
    padding-top: 0.75rem !important;
}

.img-circle {
    border-radius: 50%;
}

.app-sidebar-mobile-backdrop {
    right: 240px !important;
}

.border-index-quantity {
    border: 1px solid #d1d9e7;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #FAFAFA;
}

.border-index-quantity-label {
    position: absolute;
    top: 20px;
    right: 40px;
    background-color: #ffffff;
    font-weight: bold;
}

.mt-btn {
    margin-top: 20px;
}

.height-35 {
    height: 35px;
}

.show-price {
    border: 1px solid #d1d9e7;
    border-radius: 8px;
    background-color: #FAFAFA;
}

.bg-success2 {
    background-color: #095F1F !important;
}

.bg-danger2 {
    background-color: rgb(167 14 6) !important;
}

.show-price-box {
    border: 1px solid #d1d9e7;
    border-radius: 8px;
    padding-top: 16px;
    padding-left: 10px;
    padding-right: 10px;
}

.show-price-label {
    position: relative;
    background-color: #ffffff;
    top: 10px;
    right: 15px;
    font-weight: bold;
}

#pricesContainer {
    position: relative;
}

.overlay-disabled {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(179 179 179 / 96%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid;
    border-radius: 8px;
}

.overlay-text {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 10px;
    border: 2px solid #aaa;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* برای محو کردن اسکرول و جلوگیری از کلیک */
.overlay-disabled::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    pointer-events: all;
}

.border-buy-price {
    border: 1px solid #124708;
    padding-bottom: 8px;
    padding-top: 8px;
    /*border-end-start-radius: 8px;
    border-start-start-radius: 8px;*/
    background-color: #2a6d21;
    color: #ffffff;
}

.border-buy-price2 {
    border: 1px solid #124708;
    padding-bottom: 8px;
    padding-top: 8px;
    /* border-end-end-radius: 8px;
    border-start-end-radius: 8px;*/
    background-color: #2a6d21;
    color: #ffffff;
}

.input-error {
    border: 1px solid red !important; /* !important برای روی‌زدن استایل‌های دیگر */
    box-shadow: none !important;
    outline: none;
    transition: border 2s ease;
}

.border-radius-0 {
    border-radius: 0 !important;
}

.timer-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.timer-circle {
    transform: rotate(-90deg);
}

    .timer-circle circle:nth-child(2) {
        transition: stroke-dashoffset 1s linear;
        transform: rotate(0deg);
        transform-origin: 50% 50%;
    }

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
}


.border-sell-price {
    border: 1px solid #47081d;
    padding-bottom: 8px;
    padding-top: 8px;
    background-color: #6d2121;
    color: #ffffff;
}

.btn-menu{
    border:0px !important;
    background-color:transparent !important;
}

.w-fit-content {
    width: fit-content !important;
}
.line-height-1-9rem{
    line-height:1.9rem;
}

.bg-table-gold {
    background-color: #FFF1E6 !important;
}

.bg-table-price {
    background-color: #E6F0FF !important;
}

.my-bg-success {
    background-color: #E6F6EE !important;
}

.my-bg-danger {
    background-color: #FCEAEA !important;
}