

button:focus {
    outline: none;
  }
button{    font-size: 14px;
    font-weight: 600;}
.gold-trading-wrapper {
    --main-font: "IRANYekanWeb", sans-serif;
    --color-h1: #ff4d4d;
    --color-h3: #fff;
    --font-size-h3: 15px;
    --margin-h3: !important;
    --color-span: #02474b;
  }


#all-transactions-modal{display:none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4);}
#all-transactions-modal .body-modal{background-color: #fefefe; margin:5% auto; padding: 20px;border: 1px solid #d1b167;
    border-radius: 8px; width: 80%; max-height: 70%; overflow-y: auto;}
#all-transactions-modal .body-modal #close-modal{color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;}
#all-transactions-modal .body-modal #close-modal:hover {
        color: #064c4d;
    }
#all-transactions-modal table{border-collapse: collapse;border: 1px solid #d1b167;}
#all-transactions-modal table thead th{border:none !important}
#all-transactions-modal td{border: 1px solid #d1b167 !important;
    border-right: none !important;
    border-left: none !important;}
.gold-trading-wrapper h1,h2,h3,h4,h5,h6,p,label,table,div,span,button, select, input{font-family:IRANYekanWeb !important;letter-spacing: normal !important}
.gold-trading-wrapper h1 { color: var(--color-h1); }
.gold-trading-wrapper h3 { color: var(--color-h3);font-size: var(--font-size-h3);
    margin: var(--margin-h3); }

.gold-trading-wrapper span { color: var(--color-span); }
.gold-trading-wrapper .gold-balance-and-tr-box span.amount-gold {color:#d1b167;font-size: 37px;font-weight: 700; }
.gold-trading-wrapper .gold-balance-and-tr-box label{color:#cba95a; font-weight: 700;font-size: 13px;}
.balance-box-int{margin: 12px 0 0 0;}
.current-value{color: #fff !important;margin-bottom: 2px;}
#balance-current-value{color: #fff !important;}
.gold-trading-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
    direction: rtl;
}
.balance-details{margin-top:37px;}
.right-panel .balance-amount{margin:16px 0px 16px 0;font-size: 22px;}
.right-panel .balance-amount .balance-quantity{color: #2e5a9f;font-weight: 700;}
.right-panel .balance-amount .currency{font-size: 14px;font-weight: 700;margin-right: 4px;}

#withdraw-form-container #withdraw-form{display: inline-block;width:100%;margin: 12px 0;
    background: #ffffff70;
    padding: 14px;
    border-radius: 5px;}
#withdraw-form-container #withdraw-form label{font-size: 13px;font-weight: 600;}  
#withdraw-form-container #withdraw-form input{border-radius: 7px;
    margin: 12px 0;
    background: #fff;
    border: 1px solid transparent !important ;
    text-align: left;
    padding-left: 19px;
    color: #0a4c4e;transition: all 0.3s ease-in-out !important;}
#withdraw-form-container #withdraw-form input:focus-within{ border-color: #449b66 !important }    
#withdraw-form-container #withdraw-form #bank-name{text-align: right;}
#withdraw-form-container #withdraw-form select{background: #fff;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
    width: 70%;
    margin: 7px 0;
    float: right;font-size: 15px;}
#withdraw-form-container #withdraw-form #add-new-bank{ float: right;
    width: 28%;
    font-size: 12px;
    padding: 15px 0px;
    margin: 9px 6px 0 0;
    background: #c36266;} 
#withdraw-form-container #withdraw-form #new-bank-form{margin-top: 10px;
    clear: both;}
#withdraw-form-container #withdraw-form #save-new-bank{background-color: white;
    color: #0e5150;
    border: 2px solid #0e5251;
    border-radius: 5px;
    font-size: 13px;}
#withdraw-form-container #withdraw-form .withdraw-btn{float: left;
    background: #0b5050;
    font-size: 13px;
    padding: 15px;}
.withdraw-elm-box{border: 1px solid #073a3a14;
    padding: 7px;
    border-radius: 7px;
    margin: 5px 0;}
#withdraw-history-container{display: none; margin-top: 27px;background: #f0f4f4;
    padding: 13px;
    border-radius: 5px;}
#withdraw-history-container th {text-align: center !important;}
.withdraw-history-title svg{background: #064c4d;
    padding: 4px;
    border-radius: 5px;}

    .withdraw-detail-group {
        
    }
   
    .withdrawal-limits {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;  /* چسباندن محتوا به بالا */
        gap: 20px;
        font-size: 12px;
        border: 3px solid #ffffff;
        padding: 9px;  /* حذف padding از div والد */
        border-radius: 7px;
        margin-top: 11px;
        text-align: center;
        box-sizing: border-box; /* افزودن این برای جلوگیری از افزایش غیرمنتظره ارتفاع */
    }
    
    .limit-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        flex-grow: 0;  /* جلوگیری از رشد اضافی */
    }
    
    .limit-item p {
        display: flex;
        align-items: center;
        gap: 5px;
        margin: 0;  /* حذف margin اضافی از p */
        line-height: 1;  /* تنظیم line-height برای جلوگیری از فاصله اضافی */
    }
    
    .limit-item:first-child p {
        flex-direction: row-reverse; /* حداقل: آیکون سمت راست */
    }
    
    .limit-item:last-child p {
        flex-direction: row; /* حداکثر: آیکون سمت چپ */
    }
    
    .lable-wth {
        font-weight: bold;
    }
    
    .withdrawal-limits .value {
        color:  #4c4c4c;
        font-weight: bold;
    }
    
    .icon-min, .icon-max {
        width: 18px;
        height: 11px;
        display: block;
        background-size: contain !important;
    }
    
    .icon-min {
        background: url(../img/limit-min.svg) no-repeat;
    }
    
    .icon-max {
        background: url(../img/limit-max.svg) no-repeat;
    }
    
    
       
.withdraw-history-title{display: inline-flex;}
.withdraw-history-title h5{margin: 9px 5px 9px 0;font-size: 14px;}
#withdraw-history-table{font-size: 13px;}
#withdraw-history-table tr td{font-weight: bold;text-align: center;}
#withdraw-history-table tr td.status-cell{text-align: right}
#withdraw-history-table tr td span{vertical-align: middle;}


/* استایل نشانگر نوتیفیکیشن در تب‌ها */
.notification-badge {
    display: inline-block;
    background-color: #ca4a1f;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-size: 11px;
    margin-right: 5px;
    margin-left: 5px;
    position: relative;
    top: -1px;
}

/* استایل ردیف‌های خوانده نشده */
.unread-row {
    background-color: rgba(255, 247, 225, 0.7) !important;
    position: relative;
}

/* نشانگر "جدید" برای تراکنش‌های خوانده نشده */
.unread-badge {
    display: inline-block;
    background-color: #ca4a1f;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-right: 5px;
    vertical-align: middle;
}

.card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
#export-result, #import-result {
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 4px;
}
.trade-tabs {

    
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 6px;
    background: #d1b167;
}

.tab-button {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: #d1b164;
    color: #044b4c;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
}
.tab-button:hover {background: none !important;}
.tab-button.active:hover{background:#ffffff !important;}
.tab-button.active {
    background: #ffffff;
    color: #064d4e;
}

.trading-form {
    background:#e5eceb;
    padding: 20px;
    border-radius: 8px;
}

#withdraw-history-table i, #all-withdrawals-modal i{width: 18px;height: 18px; display: inline-block; vertical-align: middle;}
.pending-icon{background: url(../img/pending-icon.svg) no-repeat;}
.approve-icon{background: url(../img/approve-icon.svg) no-repeat;}
.rejected-icon{background: url(../img/rejected-icon.svg) no-repeat;}
.rejected-icon {
    position: relative;
    cursor: help;
}

.rejected-icon:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1;
    font-size: 12px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;font-size: 12px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.price-info {
    margin: 15px 0;
    padding: 10px;
    border-radius: 6px;
    color: #fff;
    border: 2px solid;
    display: flex
;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
}
.price-info span{color: #449b66;
    font-weight: 700;
    font-size: 14px;}
.price-info span#current-price, .price-info .loading-text{color: #cf571c !important;
}
.submit-button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-button:hover {
    background: #0056b3;
}

.trading-limits {
    margin-top: 20px;
    padding: 15px;
    background: #ffffff70;
    border-radius: 4px;
    font-size: 14px;display: flex;
    flex-direction: column;
    gap: 8px;font-weight: 600;
}
.trading-item {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee; 
}
.trading-item:last-child {
    border-bottom: none; /* خط آخر حذف شود */
}


/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.total-amount {
    font-weight: bold;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.gold-trading-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 400px;
    max-width: 90%;
    opacity: 0;
    transition: all 0.3s ease;
}

.gold-trading-popup.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
}

.popup-overlay.show {
    display: block;
}

.popup-content {
    padding: 20px;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.popup-tabs {
    display: flex;
    margin-bottom: 20px;
}

.popup-tabs .tab-button {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup-tabs .tab-button.active {
    background-color: #007bff;
    color: white;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding:8px 8px 8px 24px;
    border: none !important;
    background: none !important;
    border-radius: 4px;
    text-align: left;
    font-size: 19px;
    font-weight: 700;
    color: #02474b;
    letter-spacing: 2px !important;
}

.forgot-password {
    display: block;
    text-align: left;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
}

.error-message {
    color: red;
    margin-bottom: 10px;
    text-align: center;
}

.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #218838;
}

.rejection-tooltip {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
}

.rejection-tooltip::before {
    content: attr(data-tooltip);
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 6px;
    border-radius: 5px;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    min-width: 200px;
    opacity: 0;
    transition: opacity 0.3s;
}

.rejection-tooltip:hover::before {
    visibility: visible;
    opacity: 1;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    width: 200px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    text-align: right;
}

.tooltip:hover::before {
    visibility: visible;
    opacity: 1;
}

.search-box {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box input {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-box button {
    white-space: nowrap;
}

/* تنظیمات کلی */
.gold-trading-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.right-panel {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 40%; overflow: visible;
}

.left-panel {
    flex: 3;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5eceb;
    min-width: 55%; position: sticky;
    top: 20px; /* فاصله از بالای صفحه پس از چسبیدن - می‌توانید تنظیم کنید */
    align-self: flex-start;
    max-height: 100vh; /* حداکثر ارتفاع برابر با ارتفاع ویوپورت */
    transition: top 0.2s ease; /* انیمیشن ملایم هنگام ثابت شدن */
}
.left-panel .gold-trading-container {
    overflow-y: auto;
    max-height: calc(100vh - 40px); /* حداکثر ارتفاع با احتساب فاصله از بالا و پایین */
}



.trading-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wallet-balance-box{flex: 1; background:#e5eceb; padding: 20px; border-radius: 8px; margin-bottom:-7px;position: relative;overflow: hidden}
.wallet-balance-box:before{content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 143px;
    height:159px;
    opacity: 0.4;
    background: radial-gradient(circle, #d1ab5d 10%, transparent 10%) 0 0 / 12px 12px;
    --fade-right: 52%;
    --fade-bottom: 71%;
    -webkit-mask-image: linear-gradient(to right, rgb(209 177 103) calc(var(--fade-right) - 20%), rgba(0, 0, 0, 0) var(--fade-right)), linear-gradient(to bottom, rgb(209 177 102) calc(var(--fade-bottom) - 20%), rgba(0, 0, 0, 0) var(--fade-bottom));
    mask-image: linear-gradient(to right, rgb(209 177 103) calc(var(--fade-right) - 96%), rgba(0, 0, 0, 0) var(--fade-right)), linear-gradient(to bottom, rgb(209 177 103) calc(var(--fade-bottom) - 87%), rgba(0, 0, 0, 0) var(--fade-bottom));}
.wallet-balance-box h3{color:#02474b;}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-input-group .color-hex {
    width: 100px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.color-input-group .color-picker {
    padding: 0;
    width: 50px;
    height: 30px;
    cursor: pointer;
}

.gold-balance-box{background: radial-gradient(circle at top right, transparent 0%, rgba(60, 104, 90, 0.2) 10%, transparent 20%, rgba(60, 104, 90, 0.2) 30%, transparent 40%, rgb(68 120 104 / 20%) 50%, transparent 60%, rgba(60, 104, 90, 0.2) 70%, transparent 80%, rgb(46 62 57 / 20%) 90%), 
    /* url('../img/gold-b-icon.svg'),*/ #02474b;; 
    padding: 17px;
    border-radius: 10px;position: relative;overflow: hidden}

.gold-balance-box:before {
    content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 143px;
    height:159px;
    opacity: 0.4;
    background: radial-gradient(circle, #d1ab5d 10%, transparent 10%) 0 0 / 12px 12px;
    --fade-right: 52%;
    --fade-bottom: 71%;
    -webkit-mask-image: linear-gradient(to right, rgb(209 177 103) calc(var(--fade-right) - 20%), rgba(0, 0, 0, 0) var(--fade-right)), linear-gradient(to bottom, rgb(209 177 102) calc(var(--fade-bottom) - 20%), rgba(0, 0, 0, 0) var(--fade-bottom));
    mask-image: linear-gradient(to right, rgb(209 177 103) calc(var(--fade-right) - 96%), rgba(0, 0, 0, 0) var(--fade-right)), linear-gradient(to bottom, rgb(209 177 103) calc(var(--fade-bottom) - 87%), rgba(0, 0, 0, 0) var(--fade-bottom));
  }

  .transaction-boxes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.transaction-box {
    flex: 1;
    min-width:100%;
   
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.transaction-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* رنگ‌های متفاوت برای تراکنش‌های خرید و فروش */
.transaction-box span{font-size:15px}
.transaction-box.transaction-buy {
    border-right: 4px solid #4CAF50;
}

.transaction-box.transaction-sell {
    border-right: 4px solid #cd4041;
}
.transaction-box.transaction-sell .transaction-type span{color:#cd4041;}
.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.transaction-type {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.transaction-icon {
    margin-left: 8px;
    font-size: 20px;
}

.transaction-buy .transaction-type {
    color: #4CAF50;
}

.transaction-sell .transaction-type {
    color: #FF9800;
}

.transaction-date {
    font-size: 14px;
    color: #2a4872;
    font-weight: 700;
    letter-spacing: 1px;
}

.transaction-code {
    background-color: #f9f9f9;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-family: 'Tahoma', 'Arial', sans-serif;
    text-align: center;
}
.transaction-code .transaction-value{float: none !important;letter-spacing: 1px !important;}
.transaction-details {
    display: grid;
   
    gap: 10px;
}
.balance-details-title{ display: flex
    ;
        justify-content: space-between;
        align-items: center;}
.balance-details-title h4{font-size: 15px;
    margin:0px 7px 0 0}
.transaction-item {
    padding: 6px 11px;
    border: 1px solid #d1b167;
    border-radius: 6px;
}

.transaction-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.transaction-value {
    font-size:14px !important;
    font-weight:700;
    color: #333;float: left;
}
#show-all-transactions{    margin: 0;
    color: #0c5150;
    padding: 3px 0 3px 23px;
    background: none, url(../img/all-trx.svg) no-repeat 3px !important;
    background-size: 9% !important;
}
.payment-box{display: flex
    ;position: relative;
        align-items: center;
        justify-content: space-between;border:1px solid #fff;
        background: #fff;
        border-radius: 8px;
        padding: 5px 13px;
        max-width: 100%;transition: all 0.3s ease-in-out;}
.payment-box:focus-within{ border:1px solid #d1b167; }
.payment-info{display: flex
    ;
        flex-direction: column;
        text-align: right;
        width:93px;
        margin-top: 5px;
        color: #02474b;}
.payment-subtext{font-size: 12px;
    color: #7b8a8b;}
.currency-symbol{    font-size: 12px;
    color: #7b8a8b;
   
    padding: 0;
    line-height: 1em;
    width: 30px;
    position: absolute;
    left: 0;}


.error-input {
    border: 1px solid red !important;
    background-color: rgba(255, 0, 0, 0.05) !important;
}
#amount-preview , #sell-amount-preview{    font-weight: 600;
    color: #202020;
    margin-right: 4px;}
.limit-error {
    font-size: 12px;
    margin:5px 0 15px;
    display: none;
    text-align: center;
    background: #f5f8f7;
    font-weight: 600;
    border-radius: 8px;
    padding: 13px;
}
.limit-error span{    position: relative;
    padding-right: 19px;
    color: #d11818;}
.limit-error span:before{content: '';
    width: 17px;
    height: 17px;
    background: url(../img/errore-icon.svg) no-repeat;
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);}
.transaction-type .separator{margin: 0 4px}
.transaction-status.failed{color: #bd1616;}

.amount-preview {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}
/* حذف فلش‌های بالا و پایین در input[type=number] */
input[type="number"] {
    -moz-appearance: textfield; /* برای فایرفاکس */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; /* برای کروم و سافاری */
}

#view-all-withdrawals {
    margin: 15px auto 5px;
    display: block;
    background-color: #064c4d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
}

#view-all-withdrawals:hover {
    background-color: #043638;
}
#view-all-withdrawals span{color: #ffed5f;}
/* استایل مودال نمایش همه */
.withdrawal-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.withdrawal-modal .modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #d1b167;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.withdrawal-modal .close-button {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.withdrawal-modal .close-button:hover {
    color: #064c4d;
}

.withdrawal-modal h2 {
    color: #064c4d;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1b167;
}

/* استایل راهنمای متنی (tooltip) */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    right: 0;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    max-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 10;
    font-size: 12px;
    text-align: right;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}



/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .gold-trading-wrapper {
        flex-direction: column;
    }
    .right-panel, .left-panel {
        width: 100%;
    }
    .trade-tabs {
        flex-direction: column;
    }
}



.content-area{width:100% !important}
