body { min-height: 100vh; margin: 0; padding: 0 0 78px; background: #f4f7fb; color: #172033; }
.user-header { position: relative; z-index: 1000; float: none; width: 100%; height: 64px; margin: 0 0 20px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 3px 16px rgba(15, 23, 42, .10); }
.tickets-page { clear: both; margin: 0 auto; padding: 6px 16px 24px; }
.tickets-page h1 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid #dfdfdf; color: #1e293b; font-size: 15pt; }
.tickets-table { width: 100%; border-collapse: collapse; background: #fff; }
.tickets-table th, .tickets-table td { padding: 12px 8px; border-bottom: 1px solid #e5e7eb; text-align: right; font-size: 9pt; overflow-wrap: anywhere; }
.tickets-table th { background: #f8fafc; }
.tickets-table a { color: #2563eb; text-decoration: none; }
.tickets-page .empty { padding: 28px; background: #fff; border-radius: 10px; color: #64748b; }
.user-brand { color: #1e293b; font-size: 12pt; font-weight: 700; }
.user-menu-button, .user-notification { position: absolute; top: 0; height: 64px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #334155; font-size: 18pt; cursor: pointer; text-decoration: none; }
.user-menu-button { right: 14px; width: 46px; }
.user-notification { left: 14px; width: 46px; }
.user-notification b { position: absolute; top: 12px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 9px; line-height: 17px; text-align: center; }
.user-home { width: 100%; max-width: 550px; min-height: calc(100vh - 142px); margin-right: auto; margin-left: auto; padding: 28px 18px 24px; text-align: center; box-sizing: border-box; }
.user-home h1 { margin: 0 0 8px; font-size: 19pt; }.user-home p { color: #64748b; }
.user-drawer-overlay { position: fixed; inset: 0; z-index: 1900; visibility: hidden; opacity: 0; background: rgba(15,23,42,.30); backdrop-filter: blur(3px); transition: opacity .22s, visibility .22s; }
.user-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2000; width: 70%; padding: 10px 16px 20px; overflow-y: auto; background: #fff; box-shadow: -12px 0 35px rgba(15,23,42,.18); transform: translateX(105%); transition: transform .25s ease; }
.user-drawer.is-open { transform: translateX(0); }.user-drawer-overlay.is-open { visibility: visible; opacity: 1; }
.user-drawer-brand { padding: 5px 8px 10px; margin-bottom: 12px; border-bottom: 1px solid #e2e8f0; text-align: center; }.user-drawer-brand img { display: block; max-width: 100%; max-height: 100px; width: auto; height: auto; margin: 0 auto; object-fit: contain; }
.user-drawer-nav { display: flex; flex-direction: column; }
.user-drawer-nav > a, .user-drawer-parent, .user-drawer-nav form button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: #334155; font: inherit; text-decoration: none; text-align: right; cursor: pointer; }
.user-drawer-nav > a:hover, .user-drawer-parent:hover, .user-drawer-nav form button:hover { background: #eff6ff; color: #2563eb; }.user-drawer-nav i:first-child { width: 28px; margin-left: 9px; text-align: center; font-size: 15px; }.user-drawer-nav span { flex: 1; }.user-drawer-parent .user-submenu-arrow { width: auto; margin: 0; transition: transform .2s; }.user-drawer-group.is-open .user-submenu-arrow { transform: rotate(-90deg); }
.user-drawer-sub { display: none; margin: -2px 12px 5px 0; padding-right: 10px; border-right: 1px solid #cbd5e1; }.user-drawer-group.is-open .user-drawer-sub { display: block; }.user-drawer-sub a { display: flex; align-items: center; min-height: 36px; color: #64748b; font-size: 12px; text-decoration: none; }.user-drawer-sub a:hover { color: #2563eb; }.user-drawer-sub i { width: 25px; margin-left: 7px; text-align: center; }
.user-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    height: 62px;
    padding: 8px 8px 0;
    background: #fff;
    box-shadow: 0 -3px 16px rgba(15, 23, 42, .10);
}.user-footer a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #94a3b8; font-size: 12pt; text-decoration: none; transition: color .2s, transform .2s; }
.user-footer a span { font-size: 9pt; }.user-footer a:hover,.user-footer a.active { color: #2563eb; transform: translateY(-2px); }
.user-footer .w3 { margin: 0; }
@media (max-width: 768px) { .user-footer .w3 { width: 25%; } }

/* فرم پروفایل کاربر */
.user-profile-page { max-width: 720px; margin: 0 auto; padding: 28px 16px 30px; text-align: right; }
.user-profile-card { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 5px 24px rgba(15,23,42,.09); }
.user-profile-card h1 { margin: 0 0 8px; font-size: 14pt; color: #1e293b; }
.user-profile-card .profile-intro { margin: 0 0 20px; color: #64748b; font-size: 11pt; }
.user-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.user-profile-form .field { display: flex; flex-direction: column; gap: 6px; }
.user-profile-form .field.full { grid-column: 1 / -1; }
.user-profile-form label { color: #334155; font-size: 9pt; }
.user-profile-form input, .user-profile-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #dbe3ee; border-radius: 8px; padding: 11px 12px; background: #f8fafc; color: #172033; font: inherit; outline: 0; }
.user-profile-form input.bank-card-number { direction: ltr; text-align: center; letter-spacing: 1px; }
.bank-cards-list { margin: 16px 0 22px; }
.bank-cards-list h2 { margin: 0 0 12px; color: #26344b; font-size: 11pt; }
.bank-card-item { display: flex; align-items: center; gap: 10px; margin: 7px 0; padding: 11px 13px; border: 1px solid #e1e8f2; border-radius: 8px; background: #f8faff; color: #475569; font-size: 9pt; }
.bank-card-item i { color: #4564df; }
.bank-card-item strong { margin-right: auto; color: #1e293b; }
.user-profile-form textarea { min-height: 110px; resize: vertical; }
.user-profile-form input:focus, .user-profile-form textarea:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.user-profile-actions { grid-column: 1 / -1; display: flex; justify-content: flex-start; padding-top: 6px; border-top: 1px solid #e5e7eb; margin-top: 4px; }
.user-profile-actions button { border: 0; border-radius: 8px; padding: 11px 25px; background: #2563eb; color: #fff; font: inherit; cursor: pointer; }
.user-profile-actions button:hover { background: #1d4ed8; }
.profile-success { margin-bottom: 16px; padding: 11px 14px; border-radius: 8px; background: #dcfce7; color: #166534; }
@media (max-width: 600px) { .user-profile-form { grid-template-columns: 1fr; } .user-profile-form .field.full, .user-profile-actions { grid-column: auto; } }

/* صفحه خرید طلا */
.gold-buy-page { max-width: 720px; margin: 0 auto; padding: 28px 16px 30px; text-align: right; }
.gold-buy-card { padding: 22px; background: #fff; border-radius: 14px; box-shadow: 0 5px 24px rgba(15,23,42,.09); }
.gold-buy-card h1 {
    margin: 0 0 18px;
    color: #1e293b;
    font-size: 15pt;
    clear: both;
    border-bottom: solid 1px #dfdfdf;
    padding-bottom: 10px;
}
.gold-buy-card h1 i { margin-left: 7px; color: #c99522; }
.gold-buy-success { margin-bottom: 14px; padding: 11px 14px; border-radius: 8px; background: #dcfce7; color: #166534; }
.gold-buy-error { margin-bottom: 14px; padding: 11px 14px; border-radius: 8px; background: #fdf2f8; color: #be185d; }
.gold-buy-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.gold-price-box { position: relative; display: flex; flex-direction: column; min-height: 135px; padding: 17px 15px; overflow: hidden; border-radius: 14px; color: #fff; box-shadow: 0 8px 18px rgba(15,23,42,.12); }
.gold-price-box:after { content: ''; position: absolute; right: -25px; bottom: -42px; width: 150px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.12); transform: rotate(-10deg); }
.gold-buy-price { background: linear-gradient(135deg, #45b8ff, #8066e8 52%, #e32ed2); }
.gold-sell-price { background: linear-gradient(135deg, #8066e8, #e83bb8 45%, #ff9f68); }
.gold-price-box > i { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 9px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 17px; }
.gold-price-box > span { margin-bottom: 8px; font-size: 10pt; }
.gold-price-box strong, .gold-price-box b { position: relative; z-index: 1; font-size: 11pt; font-weight: 700; }
.gold-price-box b { margin-top: 5px; font-size: 10pt; font-weight: 500; }
.gold-price-box small { font-size: 8pt; font-weight: 400; opacity: .85; }
.gold-buy-form { display: grid; gap: 14px; margin-top: 20px; }
.gold-count-row { display: block; }
.gold-count-row .field { position: relative; }
.gold-buy-form .field { display: flex; flex-direction: column; gap: 6px; }
.gold-buy-form .field > span { color: #334155; font-size: 10pt; }
.gold-buy-form .field > span em { color: #64748b; font-size: 9pt; font-style: normal; }
.silver-type-buttons { display: flex; gap: 7px; }
.silver-type-btn { padding: 5px 10px; border: 0; border-radius: 5px; background: #111827; color: #fff; font: inherit; font-size: 8pt; cursor: pointer; transition: background .2s, transform .2s; }
.silver-type-btn:hover { background: #374151; transform: translateY(-1px); }
.silver-type-btn.is-active { background: #000; box-shadow: 0 0 0 2px #64748b; }
.gold-buy-form input { width: 100%; box-sizing: border-box; border: 1px solid #dbe3ee; border-radius: 8px; padding: 11px 12px; background: #f8fafc; color: #172033; font: inherit; outline: 0; }
.gold-buy-form input.is-invalid { border-color: #f472b6; background: #fdf2f8; }
.gold-buy-form input:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.gold-buy-form input[data-gold-total] { background: #eef6ff; color: #1d4ed8; font-weight: 700; }
.gold-buy-form .field small { color: #94a3b8; font-size: 8.5pt; }
.gold-buy-asset { position: absolute; left: 8px; bottom: 27px; z-index: 2; min-width: 88px; padding: 8px 10px; border: 1px solid #facc15; border-radius: 8px; background: linear-gradient(135deg, #fef08a, #facc15); color: #854d0e; font-size: 8.5pt; font-weight: 600; text-align: center; box-shadow: 0 4px 10px rgba(202,138,4,.18); pointer-events: none; }
.gold-buy-asset strong { font-weight: 800; }
.gold-count-row input[data-gold-count] { padding-left: 112px; }
.gold-buy-remaining { margin-top: 4px; padding: 9px 11px; border-radius: 7px; background: #f0fdf4; color: #166534; font-size: 9pt; }
.gold-buy-remaining strong { font-weight: 700; }
.gold-buy-remaining.is-negative { background: #fdf2f8; color: #dc2626; }
.gold-buy-actions { display: flex; justify-content: flex-start; padding-top: 6px; border-top: 1px solid #e5e7eb; }

/* دکمه‌های استاندارد کاربر */
.btn { display: inline-block; padding: 9px 16px; border: 0; border-radius: 7px; color: #fff; font: inherit; font-size: 10pt; line-height: 1.5; text-decoration: none; cursor: pointer; box-shadow: 0 5px 12px rgba(15,23,42,.14); transition: transform .2s, filter .2s, box-shadow .2s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 7px 16px rgba(15,23,42,.18); }
.btn:active { filter: brightness(.94); transform: translateY(0); }
.btnr { background: linear-gradient(135deg, #fb7185, #e11d48); }
.btng { background: linear-gradient(135deg, #4ade80, #059669); }
.btnb { background: linear-gradient(135deg, #60a5fa, #4f46e5); }
.btny { background: linear-gradient(135deg, #facc15, #d97706); }
.btnp { background: linear-gradient(135deg, #c084fc, #7e22ce); }
.btno { background: linear-gradient(135deg, #fb923c, #ea580c); }
.btnc { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.btnpink { background: linear-gradient(135deg, #f472b6, #be185d); }
.btngray { background: linear-gradient(135deg, #94a3b8, #475569); }
.btndark { background: linear-gradient(135deg, #475569, #0f172a); }

/* پاپ‌آپ عمومی تأیید */
.boxup-overlay { position: fixed; inset: 0; z-index: 6000; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(15,23,42,.48); backdrop-filter: blur(4px); }
.boxup { position: relative; width: min(100%, 430px); padding: 24px 20px 20px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 25px 70px rgba(15,23,42,.3); direction: rtl; animation: boxup-in .2s ease-out; }
.boxup h2 {
    margin: -6px 0 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e5e7eb;
    color: #1e293b;
    font-size: 14pt;
    text-align: right;
}
.boxup-close {
    position: absolute;
    top: 22px;
    left: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    opacity: .35;
    cursor: pointer;
    font-size: 18pt;
    transition: opacity .2s, color .2s;
}
.boxup-close:hover { opacity: 1; color: #dc2626; }
.boxup-body > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; font-size: 10pt; }
.boxup-body strong { color: #334155; }
.boxup-body span { color: #64748b; text-align: left; }
.boxup-body .boxup-total strong, .boxup-body .boxup-total span { color: #1d4ed8; font-weight: 800; }
.boxup-warning { margin: 12px 0 0; padding: 8px 10px; border-radius: 8px; background: #fee2e2; color: #b91c1c; font-size: 9pt; text-align: right; }
.boxup-actions { display: flex; justify-content: flex-start; gap: 9px; margin-top: 20px; }
.boxup-actions .btn { min-width: 105px; }
.partner-order-wait { position: fixed; inset: 0; z-index: 7000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.7); direction: rtl; }
.partner-order-wait-card { width: min(100%, 330px); padding: 28px 20px; color: #fff; text-align: center; }
.partner-order-wait-card > i { display: block; margin-bottom: 10px; color: #fbbf24; font-size: 24pt; }
.partner-order-wait-card strong { display: block; font-size: 16pt; }
.partner-order-wait-card span { display: block; margin-top: 8px; color: rgba(255,255,255,.8); font-size: 10pt; }
.partner-order-wait-card b { display: block; margin: 17px auto 12px; color: #fbbf24; font-family: sans-serif; font-size: 24pt; letter-spacing: 2px; direction: ltr; }
.partner-order-wait-card small { display: block; color: rgba(255,255,255,.66); font-size: 8.5pt; line-height: 1.9; }
.partner-order-wait-card.is-finished b { color: #f59e0b; }
.partner-order-wait-card.is-resolved > i { margin-bottom: 14px; font-size: 48pt; line-height: 1; }
.partner-order-wait-card.is-resolved strong { font-size: 17pt; }
.partner-order-wait-card.is-resolved span { margin-top: 12px; font-size: 10pt; }
.partner-order-wait-card.is-approved > i { color: #4ade80; }
.partner-order-wait-card.is-rejected > i { color: #fb7185; }
.today-orders { margin-top: 22px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.08); overflow: hidden; }
.today-orders > header { padding: 12px 13px; border-bottom: 1px solid #edf0f3; }
.today-orders h2 { margin: 0; color: #334155; font-size: 10pt; font-weight: 700; }
.today-orders h2 i { margin-left: 6px; color: #5865e8; font-size: 11pt; }
.today-orders-table-wrap { overflow-x: auto; }
.today-orders table { width: 100%; border-collapse: collapse; text-align: center; white-space: nowrap; }
.today-orders th { padding: 9px 6px; background: #f8fafc; color: #64748b; font-size: 8pt; font-weight: 700; }
.today-orders td { padding: 10px 6px; border-top: 1px solid #f0f2f5; color: #475569; font-size: 8.5pt; }
.today-orders tbody tr.today-order-buy td { background: rgba(96,165,250,.075); }
.today-orders tbody tr.today-order-sell td { background: rgba(251,113,133,.07); }
.today-order-status { position: relative; padding-left: 20px !important; }
.today-order-kind { position: absolute; top: 50%; left: 1px; color: #2563eb; font-size: 6pt; font-weight: 700; line-height: 1; transform: translateY(-50%) rotate(-90deg); transform-origin: center; }
.today-order-sell .today-order-kind { color: #e11d48; }
.today-orders .st { display: inline-block; min-width: 0; padding: 3px 7px; font-size: 7.5pt; }
.today-orders .st { border-radius: 999px; color: #fff; line-height: 1.6; }
.today-orders .st1 { background: #16a34a; }.today-orders .st2 { background: #64748b; }.today-orders .st3 { background: #dc2626; }.today-orders .st4 { background: #ca8a04; }.today-orders .st5 { background: #2563eb; }.today-orders .st10 { background: #0f766e; }
.today-orders-empty { color: #94a3b8 !important; }
.daily-report-page { max-width: 550px; margin: 0 auto; padding: 0 14px 24px; }
.daily-report-card { background: #fff; border: 1px solid #e7e9ee; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.daily-report-card h1, .daily-report-card h2 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #eee; font-size: 11pt; color: #303744; }
.daily-report-card h1 i, .daily-report-card h2 i { color: #d39a13; margin-left: 6px; }
.daily-report-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #eceef1; border-radius: 9px; padding: 10px 12px; margin-top: 9px; }
.daily-report-row strong, .daily-report-row small { display: block; }
.daily-report-row small, .daily-report-note, .daily-report-empty { color: #89909b; font-size: 9pt; margin-top: 5px; }
.daily-report-row a, .daily-report-range button { color: #342600; background: #f6c84c; border: 0; border-radius: 7px; padding: 7px 15px; text-decoration: none; font: inherit; cursor: pointer; }
.daily-report-back { display: inline-block; margin-bottom: 12px; font-size: 9pt; color: #667085; }
.daily-report-range { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.daily-report-range label.w6 { flex: 0 0 calc(50% - 5px); width: calc(50% - 5px); margin: 0; min-width: 0; font-size: 9pt; color: #525b69; }
.daily-report-range-actions { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 10px; }
.daily-report-range input { box-sizing: border-box; width: 100%; margin-top: 6px; border: 1px solid #dfe3e8; border-radius: 7px; padding: 9px; direction: ltr; }
.daily-report-range button { min-height: 39px; }
.daily-report-range .daily-report-pdf { background: #343d4c; color: #fff; }
.daily-report-error { color: #c62828; font-size: 9pt; }
.daily-report-table { margin-top: 0; box-shadow: none; }
.daily-report-balances { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.daily-report-balances > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; padding: 12px; border-radius: 8px; background: #fff7df; font-size: 9pt; }
.daily-report-balances > div:nth-child(2), .daily-report-balances > div:nth-child(3) { background: #f0f2f4; }
.daily-report-balances > div:last-child { background: #eaf7ed; }
.buy_es [data-buy-es-balances]:not(:empty) { margin-top: 16px; }
.inactive-user-page { max-width: 550px; margin: 0 auto; padding: 16px; text-align: center; }
.inactive-user-page img { display: block; width: 100%; height: auto; border-radius: 12px; }
.inactive-user-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0; }
.inactive-user-actions a, .inactive-user-actions button { display: inline-block; border: 0; border-radius: 7px; background: #d2a32b; color: #fff; font: inherit; padding: 10px 18px; text-decoration: none; cursor: pointer; }
.inactive-user-actions button { background: #596273; }
.mobile-login-page { max-width: 460px; margin: 7vh auto 0; padding: 16px; }
.mobile-login-card { padding: 26px; background: #fff; border: 1px solid #e7ebf2; border-radius: 16px; box-shadow: 0 12px 40px #1c2c4c19; }
.mobile-login-card h1 { margin: 0 0 12px; font-size: 16pt; color: #172033; }
.mobile-login-card p { color: #667085; font-size: 10pt; line-height: 1.9; }
.mobile-login-card label { display: block; margin: 18px 0 7px; font-size: 10pt; }
.mobile-login-card input { display: block; box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #cfd7e6; border-radius: 7px; direction: ltr; font: inherit; }
.mobile-login-card button { width: 100%; margin-top: 14px; padding: 12px; border: 0; border-radius: 7px; color: #fff; background: #2563eb; font: inherit; cursor: pointer; }
.mobile-login-card .mobile-login-resend { margin-top: 20px; border-top: 1px solid #e7ebf2; }
.mobile-login-card .mobile-login-resend button { background: #64748b; }
.mobile-login-error, .profile-error { margin-top: 14px; padding: 10px; border-radius: 7px; color: #b42318; background: #fef3f2; font-size: 9pt; }
.mobile-login-card .mobile-login-test { padding: 8px; border-radius: 7px; background: #fff7df; color: #795600; }
.mobile-login-staff { display: inline-block; margin-top: 18px; color: #64748b; font-size: 9pt; text-decoration: none; }
.login-code-overlay[hidden], .mobile-login-error[hidden] { display: none; }
.login-code-box { width: min(100%, 410px); text-align: right; }
.login-code-box p { color: #64748b; font-size: 10pt; line-height: 2; margin: 15px 0; }
.login-code-box .mobile-login-test { background: #fff7df; color: #795600; padding: 8px; border-radius: 7px; }
.login-code-inputs { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.login-code-inputs input { width: 52px; height: 56px; box-sizing: border-box; border: 1px solid #d3daea; border-radius: 9px; background: #f8faff; text-align: center; font: 18pt inherit; font-size: 18pt; color: #182444; outline: none; }
.login-code-inputs input:focus { border-color: #4969e8; box-shadow: 0 0 0 3px #4969e823; }
.login-code-submit { width: 100%; padding: 12px; border: 0; border-radius: 7px; background: linear-gradient(135deg,#4564df,#2952c8); color: white; font: inherit; cursor: pointer; }
.login-code-submit:disabled, .mobile-login-card button:disabled { opacity: .6; cursor: wait; }
.login-change-number { display: block; margin: 16px auto 0; border: 0; background: transparent; color: #5268aa; font: inherit; font-size: 9pt; cursor: pointer; }
@media (max-width: 380px) { .daily-report-page { padding: 0 8px 20px; } .daily-report-card { padding: 12px; } .daily-report-balances { grid-template-columns: 1fr; } }
.cash-request-page { width: 100%; max-width: 550px; margin: 0 auto; box-sizing: border-box; padding: 18px 12px 85px; }
.cash-wallet-box { margin-bottom: 18px; padding: 18px 16px; border-radius: 12px; background: linear-gradient(135deg,#e0f2fe,#bfdbfe); color: #1e3a8a; box-shadow: 0 6px 18px rgba(37,99,235,.12); text-align: center; }
.cash-wallet-box small,.cash-wallet-box span { display: block; font-size: 9pt; }.cash-wallet-box strong { display: block; margin: 7px 0; font-size: 17pt; }.cash-wallet-box b { font-weight: 800; }
.cash-request-types { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-bottom:13px; }.cash-request-types button { padding:6px 9px; border:1px solid #bfdbfe; border-radius:7px; background:#fff; color:#1e3a8a; font:inherit; font-size:8.5pt; cursor:pointer; }.cash-request-types button.is-active { background:#2563eb; color:#fff; }
.cash-request-form { display: grid; gap: 12px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.08); }.cash-request-form .field { display: flex; flex-direction: column; gap: 6px; }.cash-request-form .field > span { color: #334155; font-size: 10pt; }.cash-request-form input { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #dbe3ee; border-radius: 8px; background: #f8fafc; font: inherit; outline: 0; }.cash-request-form input:focus { border-color: #2563eb; background: #fff; }.cash-request-form input.is-invalid { border-color: #f472b6; background: #fdf2f8; }.cash-request-form small { color: #94a3b8; font-size: 8pt; }
.cash-gold-result { display: flex; justify-content: space-between; gap: 8px; padding: 10px 11px; border-radius: 8px; background: #f8fafc; color: #475569; font-size: 9pt; }.cash-gold-result strong { color: #1d4ed8; }.cash-gold-result.remaining { background: #f0fdf4; }.cash-gold-result.remaining strong.is-negative { color: #dc2626; }

/* واریز وجه */
.deposit-page { width:100%; max-width:550px; margin:0 auto; box-sizing:border-box; padding:18px 12px 85px; }
.deposit-image-field[hidden] { display:none !important; }
.deposit-wallet-box { background:linear-gradient(135deg,#e0e7ff,#bfdbfe 54%,#dbeafe); }
.deposit-card { overflow:hidden; border-radius:13px; background:#fff; box-shadow:0 6px 18px rgba(15,23,42,.08); }
.deposit-tabs { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid #e5e7eb; background:#f8fafc; }
.deposit-tabs button { min-height:54px; padding:7px 4px; border:0; border-left:1px solid #e5e7eb; background:transparent; color:#64748b; font:inherit; font-size:8.5pt; cursor:pointer; transition:background .2s,color .2s; }
.deposit-tabs button:last-child { border-left:0; }.deposit-tabs button i { display:block; margin-bottom:4px; font-size:13pt; }.deposit-tabs button.is-active { background:#fff; color:#2563eb; box-shadow:inset 0 -3px #2563eb; }
.deposit-form { display:grid; gap:12px; padding:16px; }.deposit-form .field { display:flex; flex-direction:column; gap:6px; }.deposit-form .field > span { color:#334155; font-size:9pt; }.deposit-form input { width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid #dbe3ee; border-radius:8px; background:#f8fafc; color:#172033; font:inherit; outline:0; }.deposit-form input:focus { border-color:#2563eb; background:#fff; box-shadow:0 0 0 3px rgba(37,99,235,.08); }.deposit-form input[type=file] { padding:9px; font-size:8.5pt; }
.deposit-panel { display:none; padding:10px 11px; border-radius:9px; background:#f8fafc; color:#64748b; font-size:8.5pt; line-height:1.9; }.deposit-panel.is-active { display:block; }.deposit-panel p { margin:0; }.deposit-panel .field { margin-top:9px; }.deposit-success,.deposit-error { display:flex; align-items:center; gap:7px; margin:0 0 12px; padding:10px 12px; border-radius:9px; font-size:9pt; }.deposit-success { background:#ecfdf5; color:#047857; }.deposit-error { background:#fff1f2; color:#be123c; }.deposit-success i,.deposit-error i { font-size:13pt; }
.user-primary-btn { min-height:43px; border:0; border-radius:7px; background:linear-gradient(135deg,#2563eb,#4f46e5); color:#fff; font:inherit; font-size:10pt; cursor:pointer; box-shadow:0 5px 11px rgba(37,99,235,.2); }.user-primary-btn:hover { filter:brightness(1.05); }.user-primary-btn:active { transform:translateY(1px); }
@media (max-width:380px) { .deposit-tabs button { min-height:50px; font-size:7.5pt; }.deposit-tabs button i { font-size:11pt; } }
@keyframes boxup-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 360px) { .gold-buy-prices { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
    .gold-price-box { min-height: 120px; padding: 12px 10px; }
    .gold-price-box > span { margin-bottom: 6px; font-size: 9pt; }
    .gold-price-box strong { font-size: 10pt; }
    .gold-price-box b { font-size: 9pt; }
    .gold-price-box small { font-size: 7.5pt; }
}
@media (max-width: 370px) {
    .gold-price-box { min-height: 108px; padding: 9px 7px; }
    .gold-price-box > span { margin-bottom: 4px; font-size: 8pt; }
    .gold-price-box strong { font-size: 9pt; }
    .gold-price-box b { margin-top: 3px; font-size: 8pt; }
    .gold-price-box small { font-size: 7pt; }
}
@media (max-width: 480px) {
    .gold-buy-page { padding: 20px 10px 24px; }
    .gold-buy-card { padding: 16px 13px; }
}
@media (max-width: 380px) {
    .gold-buy-page { padding: 14px 6px 20px; }
    .gold-buy-card { padding: 12px 9px; }
}

/* اعلان‌های کاربر */
.notifications-page { max-width: 720px; margin: 0 auto; padding: 28px 16px 30px; text-align: right; }
.notifications-card { padding: 22px; background: #fff; border-radius: 14px; box-shadow: 0 5px 24px rgba(15,23,42,.09); }
.notifications-card h1 { margin: 0 0 18px; color: #1e293b; font-size: 15pt; }
.notifications-card h1 i { margin-left: 7px; color: #2563eb; }
.notification-item { position: relative; margin-bottom: 10px; padding: 14px 14px 12px; border: 1px solid #e2e8f0; border-radius: 9px; background: #f8fafc; }
.notification-item.unread { border-color: #bfdbfe; background: #eff6ff; }
.notification-text { color: #334155; line-height: 1.9; }
.notification-item small { display: block; margin-top: 5px; color: #94a3b8; font-size: 8.5pt; }
.notification-factor { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 7px 10px; border-radius: 7px; background: #2563eb; color: #fff; font-size: 9pt; text-decoration: none; }
.notification-factor:hover { background: #1d4ed8; }
.notifications-empty { padding: 28px 10px; color: #64748b; text-align: center; }

/* هشدارهای کاربر */
.jq-alerts { position: fixed; top: 18px; right: 18px; z-index: 5000000; width: min(360px, calc(100% - 36px)); direction: rtl; }
.jq-alert { display: flex; align-items: center; min-height: 48px; margin-bottom: 9px; padding: 10px 13px; border-radius: 8px; opacity: 0; transform: translateX(25px); color: #fff; font-size: 11pt; box-shadow: 0 7px 22px rgba(0,0,0,.18); }
.jq-alert.success, .jq-alert.info, .jq-alert.warning { background: rgba(0,0,0,.7); }
.jq-alert-icon { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-left: 8px; font-size: 11pt; }
.jq-alert.success .jq-alert-icon { color: #22c55e; }
.jq-alert.info .jq-alert-icon { color: #22d3ee; }
.jq-alert.warning .jq-alert-icon { color: #ef4444; }
.jq-alert.is-showing { animation: jq-alert-in .25s ease-out forwards; }
@keyframes jq-alert-in { to { opacity: 1; transform: translateX(0); } }

/* عرض استاندارد صفحات کاربر در موبایل */
.user-profile-page, .gold-buy-page, .notifications-page, .profile-page, .tickets-page, .ticket-page { width: 100%; max-width: 550px !important; box-sizing: border-box; }
.special-prices-page { width: min(100%, 550px); margin: 0 auto; padding: 12px 8px 80px; }
.notif_y, .notif_r, .notif_g, .notif_b { display: block; min-height: 42px; margin: 0 0 14px; padding: 8px 12px; border-radius: 10px; font-size: 9pt; line-height: 26px; direction: rtl; overflow: hidden; }
.notif_y i, .notif_r i, .notif_g i, .notif_b i { float: right; margin-left: 7px; font-size: 15pt; line-height: 26px; }
.notif_y span, .notif_r span, .notif_g span, .notif_b span { float: right; white-space: nowrap; }
.notif_y strong, .notif_r strong, .notif_g strong, .notif_b strong { float: left; direction: ltr; font-size: 8.5pt; font-weight: 700; }
.notif_y { border: 1px solid #fde1a2; background: #fff9e8; color: #9a6412; }
.notif_y i { color: #f2b84b; }
.notif_r { border: 1px solid #fecaca; background: #fff1f2; color: #b42336; }
.notif_r i { color: #ef476f; }
.notif_g { border: 1px solid #d7d7d7; background: #f3f4f6; color: #5b6470; }
.notif_g i { color: #7b8490; }
.notif_b { border: 1px solid #bfdbfe; background: #eff6ff; color: #1d5fa8; }
.notif_b i { color: #3b82f6; }
.es-market-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 21px; }
.es-market-box > div { position: relative; min-height: 54px; padding: 8px 7px; border-radius: 9px; background: linear-gradient(145deg, #ececec, #d7d7d7); box-shadow: 0 4px 9px rgba(0,0,0,.16); color: #263238; text-align: center; }
.es-market-box small { position: absolute; top: -7px; right: 50%; transform: translateX(50%); padding: 0 7px; border-radius: 7px; background: #d8d8d8; color: #34404a; font-size: 7pt; white-space: nowrap; }
.es-market-box strong { display: inline-block; margin-top: 10px; font-size: 10pt; }
.es-market-box i { margin-right: 5px; color: #5d6973; font-size: 9pt; }
.es-trades-title { margin: 0 0 20px; padding: 0 0 12px; border-bottom: 1px solid #dfe3e7; text-align: right; }
.es-trades-title h1 { margin: 0; color: #263238; font-size: 13pt; }
.special-prices-head { margin-bottom: 10px; text-align: right; }
.special-prices-head h1 { margin: 0; font-size: 12pt; color: #263238; }
.special-price-row { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: stretch; gap: 0; min-height: 76px; margin-bottom: 10px; direction: ltr; background: #f3f3f3; border-radius: 7px; overflow: hidden; }
.special-price-actions { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: stretch; gap: 0; padding: 0; background: transparent; }
.special-price-global-actions { margin-bottom: 20px; }
.special-price-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    justify-self: stretch;
    width: 100%;
    padding: 8px 10px;
    border: 2px solid currentColor;
    border-radius: 8px;
    background: #e9e9e9;
    font: inherit;
    font-size: 12pt;
    color: #2f2f2f;
    cursor: pointer;
}.special-price-actions button i { font-size: 10pt; }
.special-action-sell { grid-column: 1; color: #e3263f; }
.special-action-buy { grid-column: 3; color: #13a348; }
.special-price-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 7px 10px 2px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    direction: rtl;
    cursor: pointer;
    border-radius: 8px;
}.special-price-side strong { font-size: 8pt; font-weight: 500; }
.buy_es .special-price-side { position: relative; isolation: isolate; }
.buy_es .special-price-side::before { content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(45deg, #eee0, #00000061); z-index: 1 !important; border-radius: 7px; pointer-events: none; }
.buy_es .special-price-side > * { position: relative; z-index: 2; }
.special-price-side strong i { font-size: 8pt; }
.special-price-side b {
    font-size: 13pt;
    line-height: 25px;
}
.special-price-side small { font-size:11pt; opacity: .9; }
.special-price-side .special-unit { font-size: 10pt; font-weight: 700; opacity: .95; }
.special-buy {
    background: #0cab62;height: max-content
}.special-sell { background: linear-gradient(135deg, #d51d38, #b9152d);height:max-content }
.special-price-name { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 5px; text-align: center; direction: rtl; color: #263238; }
.special-price-name span { font-size: 9pt; font-weight: 700; }
.special-price-name small { font-size: 7pt; color: #607d8b; }
.special-price-side.is-disabled {
    align-items: center;
    background: #bdbdbd;
    pointer-events: none;
    padding-top: 12px;
}
.special-price-side.is-disabled b { align-self: center; font-size: 9pt; line-height: 1; }
.special-price-row.has-active { grid-template-rows: auto auto; }
.special-price-row.has-active.is-buy-active { grid-template-columns: minmax(0, 2fr) 12px minmax(0, 3fr); }
.special-price-row.has-active.is-sell-active { grid-template-columns: minmax(0, 3fr) 12px minmax(0, 2fr); }
.special-price-row.has-active .special-price-name { width: 12px; padding: 0; overflow: hidden; visibility: hidden; }
.special-price-side.is-active {
    min-width: 0;
    padding: 7px 5px 5px;
    overflow: hidden;
}.special-trade-fields { display: none; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
.special-price-side.is-active .special-trade-fields { display: block; }
.special-trade-input { display: flex; align-items: center; width: 100%; min-width: 0; max-width: 100%; gap: 5px; height: 36px; margin-top: 4px; padding: 3px 5px; border-radius: 8px; background: #fff; direction: ltr; box-sizing: border-box; }
.special-trade-input input { width: 0; min-width: 0; max-width: 100%; flex: 1 1 0; height: 28px; padding: 3px 5px; border: 0; border-radius: 5px; background: #eee; color: #222; text-align: center; font-size: 11pt; box-sizing: border-box; }
.special-trade-input button { flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: #64b866; color: #fff; font-size: 17px; line-height: 24px; cursor: pointer; }
.special-trade-input button i {
    font-size: 14pt;
    line-height: 24px;
}.special-trade-input button[data-special-step="-1"], .special-trade-input button[data-special-step-price="-1"] { background: #ff6e73; }
.special-trade-submit { display: none; grid-column: 1 / -1; width: 100%; min-height: 42px; margin-top: 10px; border: 0; border-radius: 8px; color: #fff; font: inherit; font-size: 10pt; cursor: pointer; }
.special-price-row.has-active .special-trade-submit { display: block; background: #0cab62 }
@media (max-width: 370px) { .special-price-row { grid-template-columns: 1fr 1.2fr 1fr; }
 .special-price-side b { font-size: 11pt; } .special-price-side strong { font-size: 9pt; } .special-price-name span { font-size: 9pt; } }
@media (max-width: 410px) {
    .special-prices-page { width: 100%; padding: 8px 4px 70px; overflow: hidden; }
    .special-prices-head h1 { font-size: 10pt; }
    .special-price-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); min-height: 68px; margin-bottom: 8px; }
    .special-price-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); padding: 5px 0 3px; }
    .special-price-actions button {padding: 4px 6px; font-size: 10pt; }
    .special-price-side { min-width: 0; padding: 7px 4px 3px; gap: 3px; }
    .special-price-side.is-active { min-width: 0; padding: 11px 5px 8px; overflow: hidden; }
    .special-price-side b { font-size: 12pt; white-space: nowrap; }
    .special-price-side small { font-size: 10pt; white-space: nowrap; }
    .special-price-side .special-unit { font-size: 9.5pt; white-space: nowrap; }
    .special-price-name span { max-width: 100%; font-size: 8pt; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .special-price-name small { font-size: 7pt; }
    .special-trade-input { gap: 3px; height: 34px; margin-top: 4px; padding: 3px 4px; border-radius: 7px; }
    .special-trade-input input { width: 0; min-width: 0; max-width: 100%; height: 27px; padding: 3px; font-size: 10pt; }
    .special-trade-input button { flex: 0 0 22px; width: 22px; height: 22px; line-height: 22px; }
    .special-trade-input button i { font-size: 9pt; line-height: 22px; }
    .special-trade-submit { min-height: 39px; margin-top: 8px; font-size: 9pt; }
}

/* پوشش بازار غیرفعال همکار */
.partner-market-closed{position:fixed;inset:0;z-index:8000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.7);direction:rtl}.partner-market-closed section{width:min(100%,330px);padding:26px 20px;text-align:center;color:#fff}.partner-market-closed i{display:block;margin:0 0 14px;color:#fb7091;font-size:42pt}.partner-market-closed strong{display:block;font-size:16pt;font-weight:800}.partner-market-closed small{display:block;margin-top:12px;color:#fbb948;font-size:9.5pt;line-height:1.9}

/* انتخاب کاربر همکار برای ادمین در buy_es */
.hamkar-user-picker{width:min(100%,550px);margin:30px auto;padding:18px;border:1px solid #e1e4e7;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(38,50,56,.08);direction:rtl}.hamkar-user-picker header{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid #eceff1}.hamkar-user-picker header i{color:#6574e8;font-size:15pt}.hamkar-user-picker header strong{font-size:13pt;color:#37474f}.hamkar-user-picker header small{margin-right:auto;color:#8b969d;font-size:8pt}.hamkar-user-picker label{display:block}.hamkar-user-picker label span{display:block;margin-bottom:5px;color:#607078;font-size:9pt}.hamkar-user-picker input{width:100%;height:39px;padding:0 11px;border:1px solid #d9dee2;border-radius:8px;outline:0;background:#fafbfc;color:#263238;font:inherit;font-size:10pt}.hamkar-user-picker input:focus{border-color:#6977e8;box-shadow:0 0 0 3px rgba(105,119,232,.1)}.hamkar-user-results{display:grid;gap:6px;margin-top:10px}.hamkar-user-result{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 11px;border:1px solid #e5e8ea;border-radius:8px;background:#f8fafb;color:#37474f;text-align:right;cursor:pointer;font:inherit}.hamkar-user-result:hover{border-color:#8a91ed;background:#f2f3ff}.hamkar-user-result strong{font-size:9.5pt}.hamkar-user-result small{color:#849097;font-size:8pt;direction:rtl}.hamkar-user-searching{padding:10px;color:#8a949a;text-align:center;font-size:9pt}.hamkar-selected-user{display:flex;align-items:center;gap:8px;width:min(100%,550px);margin:12px auto 14px;padding:9px 12px;border-radius:9px;background:#fff7dc;color:#6d571b;font-size:9pt}.hamkar-selected-user i{font-size:11pt}.hamkar-selected-user a{margin-right:auto;color:#8063d6;text-decoration:none;font-size:8pt}.buy_es-admin{max-width:100%!important}
@media(max-width:480px){.hamkar-user-picker{margin:15px auto;padding:13px}.hamkar-user-picker header{display:block}.hamkar-user-picker header small{display:block;margin-top:3px}.hamkar-user-result{display:block}.hamkar-user-result small{display:block;margin-top:2px}.hamkar-selected-user{font-size:8pt}}
/* بازار سکه: خرید و فروش در یک صفحه */
.coin-trade-page { clear: both; width: 100%; max-width: 550px; box-sizing: border-box; margin: 0 auto; padding: 6px 16px 24px; direction: rtl; }
.coin-trade-page *, .coin-confirm-overlay *, .coin-assets-overlay * { box-sizing: border-box; }
.coin-trade-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 9px; margin-bottom: 19px; border-radius: 9px; background: #252525; }
.coin-trade-tabs button { height: 36px; border: 0; border-radius: 5px; background: #383838; color: #d5d5d5; font: inherit; font-size: 10pt; cursor: pointer; transition: background .2s, color .2s; }
.coin-trade-tabs button.is-active { background: #fff; color: #333; box-shadow: 0 2px 6px #0002; }
.coin-trade-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 12px; margin-bottom: 12px; border-bottom: 1px solid #e2e2e2; }
.coin-trade-title h1 { margin: 0; font-size: 13pt; color: #b08b38; }
.coin-assets-button { padding: 5px 8px; border: 1px solid #eddba8; border-radius: 6px; background: #fff7df; color: #987323; font: inherit; font-size: 8pt; cursor: pointer; }
.coin-trade-title > span { font-size: 8pt; color: #919191; }
.coin-trade-list { display: grid; gap: 12px; }
.coin-buy-item { display: grid; grid-template-columns: 83px minmax(0, 1fr); align-items: stretch; gap: 9px; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: #f0f0f0; transition: border-color .2s, background .2s; }
.coin-buy-item.is-selected { border-color: #edce83; background: #fff7e4; }
.coin-buy-heading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; text-align: center; }
.coin-buy-heading img, .coin-image-placeholder { width: 52px; height: 52px; border-radius: 12px; background: #fff; object-fit: contain; }
.coin-image-placeholder { display: flex; align-items: center; justify-content: center; color: #dba929; background: #fff4cd; font-size: 30pt; }
.coin-buy-heading h2 { margin: 0; font-size: 8.5pt; line-height: 1.6; color: #343434; overflow-wrap: anywhere; }
.coin-buy-heading small { font-size: 7pt; color: #8a8a8a; line-height: 1.5; }
.coin-buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); align-items: center; min-width: 0; gap: 6px; padding: 14px 8px; border-radius: 10px; background: #fff; }
.coin-buy-grid > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; text-align: center; }
.coin-buy-grid > div > span, .coin-buy-grid label { color: #353535; font-size: 8pt; font-weight: 700; }
.coin-buy-grid strong { display: inline-block; max-width: 100%; min-width: 0; color: #303030; font-size: 8.5pt; line-height: 1.7; overflow-wrap: anywhere; }
.coin-buy-counter { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; direction: ltr; }
.coin-buy-counter button { display: flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: #9ce9b7; color: #198950; cursor: pointer; }
.coin-buy-counter [data-coin-step="-1"] { background: #ffb6b8; color: #dc4b52; }
.coin-buy-counter .fa-minus-1, .coin-buy-counter .fa-plus-1 { font-size: calc(10pt + 2pt); line-height: 1; }
.coin-buy-counter input { width: 30px; min-width: 0; height: 28px; padding: 0 2px; border: 1px solid #dfe3e7; border-radius: 5px; text-align: center; direction: ltr; font: inherit; font-size: 8.5pt; background: #fff; color: #343434; }
.coin-buy-counter button:disabled { opacity: .4; cursor: not-allowed; }
.coin-trade-summary { display: grid; grid-template-columns: 1fr 1fr 1.35fr; margin-top: 24px; border: 1px solid #d4d4d4; border-radius: 10px; overflow: hidden; background: #fff; }
.coin-trade-summary > div { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; min-width: 0; padding: 14px 8px; text-align: center; }
.coin-trade-summary > div + div { border-right: 1px solid #e2e2e2; }
.coin-trade-summary span { font-size: 8.5pt; color: #6f6f6f; }
.coin-trade-summary strong { display: flex; flex-direction: column; align-items: center; gap: 5px; max-width: 100%; }
.coin-trade-summary b { font-size: 11pt; color: #393939; max-width: 100%; overflow-wrap: anywhere; }
.coin-trade-summary small { font-size: 8pt; color: #888; }
.coin-summary-symbol > i { font-size: 31pt; color: #e4af24; }
.coin-trade-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin-top: 14px; padding: 12px; border: 0; border-radius: 10px; background: linear-gradient(115deg, #f2c45d, #e6af3d); color: #513b10; font: inherit; font-size: 11pt; font-weight: 700; box-shadow: 0 5px 13px #d9a62d29; cursor: pointer; }
.coin-trade-submit > i { font-size: 15pt; }
.coin-trade-submit:disabled, .coin-confirm-overlay .btn:disabled { opacity: .5; cursor: not-allowed; }
.coin-trade-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 24px 0 0; font-size: 8pt; color: #929292; line-height: 1.9; text-align: center; }
.coin-trade-empty { padding: 32px 15px; text-align: center; background: #fff; border-radius: 12px; font-size: 10pt; color: #878787; }
.coin-trade-empty > i { color: #e0b744; font-size: 30pt; }
.coin-confirm-overlay .boxup, .coin-assets-overlay .boxup { max-height: 90vh; overflow-y: auto; }
.coin-buy-confirm-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 14px; font-size: 9pt; }
.coin-buy-confirm-table th, .coin-buy-confirm-table td { display: table-cell; vertical-align: middle; padding: 10px 5px; border-bottom: 1px solid #e5e7eb; text-align: center; overflow-wrap: anywhere; }
.coin-buy-confirm-table th { background: #f7f7f7; color: #666; font-size: 8pt; }
.coin-buy-confirm-table th:first-child { width: 35%; }
.coin-buy-confirm-table td { color: #454545; }
.coin-buy-confirm-table td .num_drt { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.coin-confirm-overlay .coin-buy-confirm-table th:first-child { width: 30%; }
.coin-confirm-overlay .coin-buy-confirm-table th:nth-child(2) { width: 12%; }
.coin-trade-receipts { display: grid; gap: 8px; margin-top: 16px; }
.coin-trade-receipts a { padding: 10px; background: #fff8e8; border: 1px solid #eddaa8; border-radius: 7px; color: #8a6820; text-decoration: none; font-size: 10pt; }
@media (max-width: 480px) {
    .coin-trade-page { padding-right: 12px; padding-left: 12px; }
    .coin-buy-item { grid-template-columns: 73px minmax(0, 1fr); padding: 8px; gap: 6px; }
    .coin-buy-grid { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); padding: 13px 5px; gap: 4px; }
    .coin-buy-grid strong { font-size: 8pt; }
    .coin-buy-counter button { width: 22px; height: 22px; flex-basis: 22px; }
    .coin-buy-counter input { width: 28px; height: 26px; }
}
@media (max-width: 380px) {
    .coin-trade-page { padding-right: 8px; padding-left: 8px; }
    .coin-buy-item { grid-template-columns: 62px minmax(0, 1fr); padding: 7px; gap: 4px; }
    .coin-buy-heading h2 { font-size: 7.5pt; }
    .coin-buy-heading img, .coin-image-placeholder { width: 43px; height: 43px; }
    .coin-buy-grid { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); padding: 12px 3px; gap: 3px; }
    .coin-buy-grid strong { font-size: 7.5pt; }
    .coin-buy-grid label, .coin-buy-grid > div > span { font-size: 7.5pt; }
    .coin-buy-counter { gap: 3px; }
    .coin-buy-counter button { width: 20px; height: 20px; flex-basis: 20px; }
    .coin-buy-counter input { width: 25px; height: 25px; }
    .coin-trade-summary b { font-size: 9.5pt; }
}
.support-page { clear: both; width: 100%; max-width: 550px; margin: 0 auto; padding: 12px 16px 32px; box-sizing: border-box; text-align: center; }
.support-card { margin-bottom: 20px; padding: 25px 20px; border: 1px solid #f0f2f5; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .08); }
.support-card h1, .support-card h2 { margin: 12px 0; color: #30343b; font-size: 13pt; font-weight: 700; }
.support-card p { margin: 0 auto 20px; max-width: 400px; color: #7b818b; font-size: 10pt; line-height: 2; }
.support-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; font-size: 18pt; }
.support-icon-phone { background: #e8f8ee; color: #2caa5a; }
.support-icon-ticket { background: #fff0f2; color: #e11d48; }
.support-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 16px; border: 0; border-radius: 9px; font: inherit; font-size: 10pt; text-decoration: none; cursor: pointer; }
.support-call { color: #168447; background: #d9f4e2; }
.support-ticket { color: #fff; background: linear-gradient(135deg, #f43f5e, #e11d48); }
.support-action:disabled { opacity: .5; cursor: not-allowed; }
.support-number { margin-top: 20px; color: #7b818b; font-size: 9pt; }
@media (max-width: 380px) { .support-page { padding: 8px 10px 24px; } .support-card { padding: 22px 14px; } }
