/* ============================================================
   Accounti – My Account Dashboard Styles
   ============================================================ */

@font-face {
    font-family: 'IRYekan';
    src: url('https://pmashop.ir/wp-content/themes/mweb-digiland-pro/assets/fonts/IRYekan-medium-fanum.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --accd-brand:        #ed6205;
    --accd-brand-light:  #fff4ec;
    --accd-brand-hover:  #d45700;
    --accd-brand-muted:  #fde8d4;

    --accd-bg-page:      #f7f7f8;
    --accd-bg-card:      #ffffff;
    --accd-bg-muted:     #f3f4f6;

    --accd-border:       #e5e7eb;
    --accd-border-light: #f0f0f1;

    --accd-text-primary:   #111827;
    --accd-text-secondary: #4b5563;
    --accd-text-muted:     #9ca3af;

    --accd-green:  #10b981;
    --accd-red:    #ef4444;
    --accd-yellow: #f59e0b;
    --accd-blue:   #3b82f6;

    --accd-radius-sm: 8px;
    --accd-radius-md: 12px;
    --accd-radius-lg: 16px;

    --accd-sidebar-w: 240px;
}

/* ── Layout ──────────────────────────────────────────────── */
.accd-wrap {
    direction: rtl;
    font-family: 'IRYekan', IRANSans, Tahoma, Arial, sans-serif;
    background: var(--accd-bg-page);
    min-height: 60vh;
    padding: 28px 0;
}

.accd-layout {
    display: grid;
    grid-template-columns: var(--accd-sidebar-w) 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .accd-layout {
        grid-template-columns: 1fr;
        padding: 0 12px;
        gap: 16px;
    }
    .accd-wrap { padding: 16px 0; }
}

/* ── Sidebar col ─────────────────────────────────────────── */
.accd-sidebar-col {
    position: sticky;
    top: 24px;
}

@media (max-width: 768px) {
    .accd-sidebar-col { position: static; }
}

/* ════════════════════════════════════════════════════════════
   منوی سایدبار (آیتم‌ها از WooCommerce، HTML از ما)
   ════════════════════════════════════════════════════════════ */

.accd-nav {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.accd-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accd-text-secondary);
    border-bottom: 1px solid var(--accd-border-light);
    transition: background 0.15s, color 0.15s;
    text-decoration: none !important;
    position: relative;
}
.accd-nav-item i {
    font-size: 19px;
    flex-shrink: 0;
    opacity: 0.75;
}
.accd-nav-item:hover i,
.accd-nav-item.active i { opacity: 1; }
.accd-nav-item:last-child { border-bottom: none; }

.accd-nav-item:hover {
    background: var(--accd-brand-light);
    color: var(--accd-brand);
}
.accd-nav-item.active {
    background: var(--accd-brand-light);
    color: var(--accd-brand);
    font-weight: 600;
}
.accd-nav-item.active::before {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accd-brand);
    border-radius: 0 3px 3px 0;
}
.accd-nav-item.logout {
    color: var(--accd-red) !important;
    border-bottom: none;
}
.accd-nav-item.logout:hover {
    background: #fef2f2 !important;
}
.accd-nav-badge {
    margin-right: auto;
    background: var(--accd-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ── Main Content ────────────────────────────────────────── */
.accd-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* ── Card ────────────────────────────────────────────────── */
.accd-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
}
.accd-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--accd-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.accd-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--accd-text-primary);
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}
.accd-card-title i { color: var(--accd-brand); font-size: 17px; }
.accd-card-body { padding: 16px 20px; }

.accd-view-all {
    font-size: 12px;
    color: var(--accd-brand);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}
.accd-view-all:hover { text-decoration: underline; }

/* ── Welcome Card ────────────────────────────────────────── */
.accd-welcome-card {
    background: linear-gradient(135deg, var(--accd-brand) 0%, #ff8c3a 100%);
    border: none;
    border-radius: var(--accd-radius-lg);
    padding: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.accd-welcome-card::before {
    content: '';
    position: absolute;
    left: -40px; top: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.accd-welcome-card::after {
    content: '';
    position: absolute;
    left: 60px; bottom: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.accd-welcome-text { position: relative; z-index: 1; }
.accd-welcome-text h2 {
    font-size: 20px; font-weight: 800;
    margin: 0 0 4px; color: #fff;
}
.accd-welcome-text p { font-size: 13px; opacity: 0.85; margin: 0; }
.accd-welcome-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.accd-welcome-stat {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--accd-radius-md);
    padding: 10px 16px;
    text-align: center;
    min-width: 80px;
}
.accd-welcome-stat-num  { font-size: 20px; font-weight: 800; display: block; }
.accd-welcome-stat-label { font-size: 11px; opacity: 0.8; display: block; margin-top: 2px; }

/* ── Quick Actions ───────────────────────────────────────── */
.accd-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 580px) {
    .accd-quick-actions { grid-template-columns: repeat(2, 1fr); }
}
.accd-quick-btn {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-md);
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
    color: inherit;
}
.accd-quick-btn:hover {
    border-color: var(--accd-brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237,98,5,0.1);
    text-decoration: none;
    color: inherit;
}
.accd-qa-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.accd-qa-icon.orange { background: var(--accd-brand-light); color: var(--accd-brand); }
.accd-qa-icon.green  { background: #ecfdf5; color: var(--accd-green); }
.accd-qa-icon.blue   { background: #eff6ff; color: var(--accd-blue); }
.accd-qa-icon.purple { background: #f5f3ff; color: #7c3aed; }
.accd-qa-label { font-size: 12px; font-weight: 600; color: var(--accd-text-secondary); }

/* ── Wallet Card ─────────────────────────────────────────── */
.accd-wallet-card {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: none;
    border-radius: var(--accd-radius-lg);
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.accd-wallet-card::before {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 140px; height: 140px;
    background: rgba(237,98,5,0.12);
    border-radius: 50%;
}
.accd-wallet-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; position: relative;
}
.accd-wallet-title { font-size: 13px; font-weight: 600; opacity: 0.7; display: flex; align-items: center; gap: 6px; }
.accd-wallet-title i { font-size: 16px; color: var(--accd-brand); }
.accd-wallet-balance { font-size: 28px; font-weight: 800; margin-bottom: 4px; position: relative; }
.accd-wallet-currency { font-size: 12px; opacity: 0.6; margin-bottom: 16px; }
.accd-wallet-pending-row {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.08);
    border-radius: var(--accd-radius-sm);
    padding: 8px 12px; font-size: 12px; margin-bottom: 14px;
}
.accd-wallet-pending-row span:first-child { opacity: 0.7; }
.accd-wallet-pending-row span:last-child { font-weight: 600; color: var(--accd-yellow); }
.accd-wallet-withdraw-btn {
    width: 100%; padding: 10px;
    border-radius: var(--accd-radius-md);
    border: 1px solid rgba(237,98,5,0.5);
    background: rgba(237,98,5,0.15);
    color: var(--accd-brand);
    font-size: 13px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-family: inherit; transition: all 0.15s;
}
.accd-wallet-withdraw-btn:hover {
    background: var(--accd-brand); color: #fff; border-color: var(--accd-brand);
}

/* ── Verification Card ───────────────────────────────────── */
.accd-verification-card {
    border-radius: var(--accd-radius-lg);
    overflow: hidden;
    border: 1px solid var(--accd-border);
}
.accd-verif-bar { height: 4px; background: var(--accd-yellow); }
.accd-verif-bar.verified { background: var(--accd-green); }
.accd-verif-bar.rejected { background: var(--accd-red); }
.accd-verif-bar.not-submitted { background: var(--accd-border); }

.accd-verif-body { background: var(--accd-bg-card); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.accd-verif-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.accd-verif-icon.pending       { background: #eff6ff; color: var(--accd-blue); }
.accd-verif-icon.verified      { background: #ecfdf5; color: var(--accd-green); }
.accd-verif-icon.rejected      { background: #fef2f2; color: var(--accd-red); }
.accd-verif-icon.not-submitted { background: var(--accd-bg-muted); color: var(--accd-text-muted); }

.accd-verif-text h4 { font-size: 13px; font-weight: 700; color: var(--accd-text-primary); margin: 0 0 3px; }
.accd-verif-text p  { font-size: 12px; color: var(--accd-text-muted); margin: 0; }
.accd-verif-action {
    margin-right: auto; padding: 7px 14px;
    border-radius: var(--accd-radius-sm); border: none;
    font-size: 12px; font-weight: 600; cursor: pointer;
    font-family: inherit; text-decoration: none;
    display: inline-block; white-space: nowrap;
}
.accd-verif-action.cta { background: var(--accd-brand); color: #fff; }
.accd-verif-action.cta:hover { background: var(--accd-brand-hover); color: #fff; text-decoration: none; }
.accd-verif-action.passive { background: var(--accd-bg-muted); color: var(--accd-text-muted); cursor: default; }

/* ── Two-col grid ────────────────────────────────────────── */
.accd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .accd-two-col { grid-template-columns: 1fr; } }

/* ── Orders Table ────────────────────────────────────────── */
.accd-orders-table { width: 100%; border-collapse: collapse; }
.accd-orders-table th {
    font-size: 11px; font-weight: 600; color: var(--accd-text-muted);
    padding: 8px 16px; text-align: right;
    background: var(--accd-bg-muted); border-bottom: 1px solid var(--accd-border);
}
.accd-orders-table td {
    padding: 12px 16px; font-size: 13px;
    color: var(--accd-text-secondary); border-bottom: 1px solid var(--accd-border-light);
}
.accd-orders-table tr:last-child td { border-bottom: none; }
.accd-orders-table tr:hover td { background: var(--accd-bg-muted); }
.accd-order-product-name { color: var(--accd-text-primary); font-weight: 500; font-size: 13px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.accd-order-price { font-weight: 700; color: var(--accd-text-primary); }

/* ── Status Badge ────────────────────────────────────────── */
.accd-status-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 10px;
    font-size: 11px; font-weight: 600;
}
.accd-status-badge.completed { background: #ecfdf5; color: var(--accd-green); }
.accd-status-badge.pending   { background: #fef3c7; color: var(--accd-yellow); }
.accd-status-badge.cancelled { background: #fef2f2; color: var(--accd-red); }
.accd-status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── Listing Rows ────────────────────────────────────────── */
.accd-listing-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--accd-border-light); }
.accd-listing-row:last-child { border-bottom: none; }
.accd-listing-thumb { width: 48px; height: 48px; border-radius: var(--accd-radius-sm); background: var(--accd-bg-muted); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.accd-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.accd-listing-thumb i { font-size: 20px; color: var(--accd-text-muted); }
.accd-listing-info { flex: 1; min-width: 0; }
.accd-listing-title { font-size: 13px; font-weight: 600; color: var(--accd-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 3px; }
.accd-listing-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--accd-text-muted); }
.accd-listing-meta i { font-size: 12px; }
.accd-listing-price { font-size: 13px; font-weight: 700; color: var(--accd-text-primary); white-space: nowrap; }

/* ── Add Listing Button ──────────────────────────────────── */
.accd-add-listing-btn {
    width: 100%; padding: 10px;
    border: 2px dashed var(--accd-brand-muted);
    border-radius: var(--accd-radius-md);
    background: var(--accd-brand-light); color: var(--accd-brand);
    font-size: 13px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-family: inherit; transition: all 0.15s; text-decoration: none; margin-top: 12px;
}
.accd-add-listing-btn:hover { background: var(--accd-brand-muted); border-color: var(--accd-brand); text-decoration: none; color: var(--accd-brand); }

/* ── Chat + Wallet row ───────────────────────────────────── */
.accd-chat-wallet-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 580px) {
    .accd-chat-wallet-row { grid-template-columns: 1fr; }
}

/* ── Chat CTA Card ───────────────────────────────────────── */
.accd-chat-cta-card {
    background: var(--accd-brand-light);
    border: 1px solid var(--accd-brand-muted);
    border-radius: var(--accd-radius-lg);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
}
/* حالت مربعی — عمودی */
.accd-chat-cta-card--square {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}
.accd-chat-cta-card--square .accd-chat-cta-btn { margin-right: 0; margin-top: auto; }

.accd-chat-cta-icon { width: 48px; height: 48px; border-radius: var(--accd-radius-md); background: var(--accd-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 22px; }
.accd-chat-cta-text h4 { font-size: 14px; font-weight: 700; color: var(--accd-text-primary); margin: 0 0 3px; }
.accd-chat-cta-text p  { font-size: 12px; color: var(--accd-text-muted); margin: 0; }
.accd-chat-cta-btn { margin-right: auto; padding: 8px 16px; background: var(--accd-brand); color: #fff; border: none; border-radius: var(--accd-radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: background 0.15s; }
.accd-chat-cta-btn:hover { background: var(--accd-brand-hover); color: #fff; text-decoration: none; }

/* کیف پول حالت مربعی */
.accd-wallet-card--square {
    display: flex;
    flex-direction: column;
}
.accd-wallet-card--square .accd-wallet-balance {
    font-size: 24px;
    margin-top: auto;
}
.accd-wallet-goto-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 9px 16px;
    border-radius: var(--accd-radius-md);
    border: 1px solid rgba(237,98,5,0.45);
    background: rgba(237,98,5,0.12);
    color: var(--accd-brand);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    width: 100%;
    justify-content: center;
}
.accd-wallet-goto-btn:hover {
    background: var(--accd-brand);
    color: #fff;
    border-color: var(--accd-brand);
    text-decoration: none;
}

/* ── WooCommerce content wrapper ─────────────────────────── */
.accd-wc-content {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    padding: 20px;
}

/* ── Helper classes ──────────────────────────────────────── */
.accd-view-all { font-size: 12px; color: var(--accd-brand); text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 3px; }
.accd-view-all:hover { text-decoration: underline; }
.accd-date-muted { font-size: 11px; color: var(--accd-text-muted); }

/* ════════════════════════════════════════════════════════════
   CHAT PANEL REDESIGN
   ════════════════════════════════════════════════════════════ */

.asp-chat-panel-wrap {
    font-family: 'IRYekan', IRANSans, Tahoma, Arial, sans-serif;
}

/* ── هدر صفحه ── */
.asp-chat-page-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.asp-chat-page-header__title {
    display: flex; align-items: center; gap: 8px; flex: 1;
}
.asp-chat-page-header__title i {
    font-size: 22px; color: var(--accd-brand);
}
.asp-chat-page-header__title h2 {
    margin: 0; font-size: 18px; font-weight: 700;
    color: var(--accd-text-primary);
}

/* دکمه اعلان */
.asp-chat-notify-toggle {
    display: inline-flex !important;
    align-items: center; gap: 6px;
    border: 1px solid var(--accd-border) !important;
    border-radius: var(--accd-radius-sm) !important;
    background: var(--accd-bg-card) !important;
    color: var(--accd-text-secondary) !important;
    font-size: 12px !important; font-weight: 600;
    padding: 7px 12px !important;
    font-family: inherit !important;
    cursor: pointer; transition: all 0.15s;
}
.asp-chat-notify-toggle i { font-size: 15px; }
.asp-chat-notify-toggle.is-on {
    border-color: #16a34a !important;
    background: #ecfdf5 !important;
    color: #166534 !important;
}
.asp-chat-notify-toggle.is-off:hover {
    border-color: var(--accd-brand) !important;
    color: var(--accd-brand) !important;
}

/* ── حالت offline ── */
.asp-chat-offline-state {
    text-align: center; padding: 64px 24px;
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
}
.asp-chat-offline-state__icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--accd-bg-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--accd-text-muted);
    margin: 0 auto 16px;
}
.asp-chat-offline-state h3 { font-size: 16px; color: var(--accd-text-primary); margin: 0 0 6px; }
.asp-chat-offline-state p  { font-size: 13px; color: var(--accd-text-muted); margin: 0; }

/* ── چارچوب اصلی ── */
.asp-chat-app {
    border: 1px solid var(--accd-border) !important;
    border-radius: var(--accd-radius-lg) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    background: var(--accd-bg-card) !important;
}

/* ── سایدبار ── */
.asp-chat-sidebar {
    background: var(--accd-bg-muted) !important;
    border-left: 1px solid var(--accd-border-light) !important;
}
.asp-chat-sidebar__header {
    padding: 16px !important;
    border-bottom: 1px solid var(--accd-border) !important;
    background: var(--accd-bg-card) !important;
}
.asp-chat-sidebar__header h3 {
    font-size: 14px !important; font-weight: 700 !important;
    color: var(--accd-text-primary) !important; margin: 0 !important;
}

/* ── وضعیت اتصال ── */
.asp-chat-connection-widget {
    padding: 8px 14px !important;
    border-bottom: 1px solid var(--accd-border-light) !important;
    background: var(--accd-bg-card) !important;
}
.asp-chat-connection-widget strong {
    font-size: 11px !important; color: var(--accd-text-secondary) !important;
}
.asp-chat-connection-widget.is-connecting .asp-chat-connection-widget__dot { background: var(--accd-yellow) !important; }
.asp-chat-connection-widget.is-connected  .asp-chat-connection-widget__dot { background: var(--accd-green)  !important; }
.asp-chat-connection-widget.is-disconnected .asp-chat-connection-widget__dot { background: var(--accd-red) !important; }

/* ── آیتم لیست گفتگو ── */
.asp-chat-list-item {
    background: var(--accd-bg-card) !important;
    border-bottom: 1px solid var(--accd-border-light) !important;
    padding: 12px 14px !important;
}
.asp-chat-list-item:hover { background: var(--accd-brand-light) !important; }
.asp-chat-list-item.is-active { background: var(--accd-brand-light) !important; }
.asp-chat-list-item__unread {
    background: var(--accd-brand) !important;
}

/* ── خالی بودن لیست ── */
.asp-chat-list-empty {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 32px 16px;
    text-align: center;
    color: var(--accd-text-muted) !important;
    font-size: 13px;
    gap: 8px;
}
.asp-chat-list-empty i { font-size: 36px; color: var(--accd-border); }

/* ── Thread پنل ── */
.asp-chat-thread-wrap {
    background: var(--accd-bg-card) !important;
}
.asp-chat-thread-empty {
    color: var(--accd-text-muted) !important;
}
.asp-chat-thread-empty h3 {
    font-size: 16px !important; color: var(--accd-text-primary) !important;
    margin: 0 0 6px !important;
}
.asp-chat-thread-empty p { font-size: 13px !important; }

/* هدر thread */
.asp-chat-thread__header {
    border-bottom: 1px solid var(--accd-border-light) !important;
    background: var(--accd-bg-card) !important;
    padding: 12px 16px !important;
}
.asp-chat-peer-meta strong {
    color: var(--accd-text-primary) !important; font-size: 14px !important;
}
.asp-chat-peer-meta small {
    color: var(--accd-text-muted) !important; font-size: 11px !important;
}

/* پیام‌ها */
.asp-chat-messages { background: var(--accd-bg-muted) !important; }

/* حباب پیام — طرف مقابل */
.asp-chat-message__bubble {
    background: var(--accd-bg-card) !important;
    border: 1px solid var(--accd-border-light) !important;
}
/* حباب خودم */
.asp-chat-message.is-me .asp-chat-message__bubble {
    background: var(--accd-brand-light) !important;
    border-color: var(--accd-brand-muted) !important;
}

/* دکمه بارگذاری قدیمی‌تر */
.asp-chat-load-older-btn {
    border: 1px solid var(--accd-border) !important;
    background: var(--accd-bg-card) !important;
    color: var(--accd-text-secondary) !important;
    border-radius: var(--accd-radius-sm) !important;
    font-family: inherit !important;
}
.asp-chat-load-older-btn:hover {
    border-color: var(--accd-brand) !important;
    color: var(--accd-brand) !important;
}

/* ── پیش‌نمایش ریپلای ── */
.asp-chat-reply-preview {
    background: var(--accd-brand-light) !important;
    border-top: 1px solid var(--accd-brand-muted) !important;
    padding: 8px 14px !important;
    gap: 8px !important;
}
.asp-chat-reply-preview strong { color: var(--accd-brand) !important; }
.asp-chat-reply-preview button {
    background: var(--accd-brand-muted) !important;
    color: var(--accd-brand) !important;
    border-radius: 50%; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; padding: 0;
}
.asp-chat-reply-preview button i { font-size: 13px; }

/* ── فرم ارسال ── */
.asp-chat-send-form {
    border-top: 1px solid var(--accd-border-light) !important;
    background: var(--accd-bg-card) !important;
    padding: 10px 12px !important;
    gap: 8px !important;
}
.asp-chat-input {
    border: 1.5px solid var(--accd-border) !important;
    border-radius: var(--accd-radius-sm) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    background: var(--accd-bg-muted) !important;
    transition: border-color 0.15s !important;
}
.asp-chat-input:focus {
    border-color: var(--accd-brand) !important;
    box-shadow: 0 0 0 3px rgba(237,98,5,0.1) !important;
    background: var(--accd-bg-card) !important;
}
.asp-chat-send-btn {
    background: var(--accd-brand) !important;
    border-radius: var(--accd-radius-sm) !important;
    width: 40px; height: 40px;
    padding: 0 !important;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.15s !important;
}
.asp-chat-send-btn:hover { background: var(--accd-brand-hover) !important; }
.asp-chat-send-btn i { font-size: 18px; }

.asp-chat-attach-btn {
    border: 1.5px solid var(--accd-border) !important;
    border-radius: var(--accd-radius-sm) !important;
    background: var(--accd-bg-muted) !important;
    color: var(--accd-text-secondary) !important;
    transition: all 0.15s !important;
}
.asp-chat-attach-btn:hover {
    border-color: var(--accd-brand) !important;
    color: var(--accd-brand) !important;
    background: var(--accd-brand-light) !important;
}
.asp-chat-attach-icon { font-size: 18px !important; }

/* ── پیش‌نمایش تصویر ── */
.asp-chat-image-preview {
    background: var(--accd-brand-light) !important;
    border-top: 1px dashed var(--accd-brand-muted) !important;
    padding: 8px 12px 10px !important;
}
.asp-chat-image-preview button {
    background: var(--accd-brand-muted) !important;
    color: var(--accd-brand) !important;
    border: none; cursor: pointer; border-radius: 50%;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
}
.asp-chat-image-preview button i { font-size: 13px; }

/* ── دکمه reply روی پیام ── */
.asp-chat-message__reply-btn {
    background: var(--accd-brand-light) !important;
    color: var(--accd-brand) !important;
    border-radius: 50% !important;
}

/* ════════════════════════════════════════════════════════════
   SELLER PANEL REDESIGN
   ════════════════════════════════════════════════════════════ */

.accounti-seller-panel { font-family: 'IRYekan', IRANSans, Tahoma, Arial, sans-serif; }

/* ── Page header ── */
.accd-wc-content .asp-page-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
    padding-bottom: 16px; border-bottom: 1px solid var(--accd-border); flex-wrap: wrap;
}
.accd-wc-content .asp-page-header h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--accd-text-primary); flex: 1; }
.accd-wc-content .asp-back-btn {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
    color: var(--accd-text-secondary); text-decoration: none; padding: 6px 12px;
    border: 1px solid var(--accd-border); border-radius: var(--accd-radius-sm);
    background: var(--accd-bg-page); transition: all 0.15s;
}
.accd-wc-content .asp-back-btn:hover { border-color: var(--accd-brand); color: var(--accd-brand); text-decoration: none; }
.accd-wc-content .asp-new-btn,
.asp-new-listing-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; background: var(--accd-brand); color: #fff;
    border-radius: var(--accd-radius-sm); font-size: 13px; font-weight: 600;
    text-decoration: none; transition: background 0.15s;
}
.accd-wc-content .asp-new-btn:hover,
.asp-new-listing-btn:hover { background: var(--accd-brand-hover); color: #fff; text-decoration: none; }

/* ── Seller Dashboard Header ── */
.asp-sd-header { margin-bottom: 20px; }
.asp-sd-header h2 { font-size: 20px; font-weight: 800; color: var(--accd-text-primary); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.asp-sd-header h2 i { color: var(--accd-brand); }
.asp-sd-header p  { font-size: 13px; color: var(--accd-text-muted); margin: 0; }

/* ── Seller Dashboard Tiles ── */
.asp-sd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .asp-sd-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.asp-sd-tile {
    display: flex; align-items: center; gap: 12px; padding: 16px 14px;
    background: var(--accd-bg-card); border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-md); text-decoration: none;
    color: var(--accd-text-primary); transition: all 0.15s; position: relative;
}
.asp-sd-tile:hover {
    border-color: var(--accd-brand); color: var(--accd-text-primary);
    box-shadow: 0 4px 14px rgba(237,98,5,0.1); transform: translateY(-1px); text-decoration: none;
}
.asp-sd-tile__icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0;
}
.asp-sd-tile__icon.orange { background: var(--accd-brand-light); color: var(--accd-brand); }
.asp-sd-tile__icon.green  { background: #ecfdf5; color: var(--accd-green); }
.asp-sd-tile__icon.blue   { background: #eff6ff; color: var(--accd-blue); }
.asp-sd-tile__icon.purple { background: #f5f3ff; color: #7c3aed; }
.asp-sd-tile__icon.yellow { background: #fef3c7; color: var(--accd-yellow); }
.asp-sd-tile__icon.dark   { background: #1f2937; color: #f3f4f6; }

.asp-sd-tile__body { flex: 1; min-width: 0; }
.asp-sd-tile__title { display: block; font-size: 13px; font-weight: 700; color: var(--accd-text-primary); margin-bottom: 2px; }
.asp-sd-tile__hint  { display: block; font-size: 11px; color: var(--accd-text-muted); }
.asp-sd-tile__arrow { font-size: 15px; color: var(--accd-text-muted); flex-shrink: 0; transition: transform 0.15s; }
.asp-sd-tile:hover .asp-sd-tile__arrow { color: var(--accd-brand); transform: translateX(-3px); }
.asp-sd-tile .asp-chat-menu-unread { position: absolute; top: 8px; left: 8px; }

/* روی موبایل — کارت عمودی + متن وسط‌چین */
@media (max-width: 600px) {
    .asp-sd-tile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 10px 14px;
        gap: 8px;
    }
    .asp-sd-tile__icon {
        width: 46px; height: 46px; font-size: 22px;
    }
    .asp-sd-tile__body { min-width: 0; width: 100%; }
    .asp-sd-tile__title { font-size: 12px; white-space: normal; word-break: keep-all; }
    .asp-sd-tile__hint  { font-size: 10px; }
    .asp-sd-tile__arrow { display: none; }
}

/* ── Gate Card (verification required) ── */
.asp-gate-card {
    max-width: 460px; margin: 20px auto;
    background: var(--accd-bg-card); border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg); padding: 36px 28px; text-align: center;
}
.asp-gate-card__icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 16px;
}
.asp-gate-card__icon.pending  { background: #eff6ff; color: var(--accd-blue); }
.asp-gate-card__icon.rejected { background: #fef2f2; color: var(--accd-red); }
.asp-gate-card__icon.default  { background: var(--accd-brand-light); color: var(--accd-brand); }
.asp-gate-card h3 { font-size: 16px; font-weight: 700; color: var(--accd-text-primary); margin: 0 0 8px; }
.asp-gate-card p  { font-size: 13px; color: var(--accd-text-muted); margin: 0 0 20px; line-height: 2; }
.asp-gate-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; background: var(--accd-brand); color: #fff;
    border-radius: var(--accd-radius-sm); font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background 0.15s;
}
.asp-gate-btn:hover { background: var(--accd-brand-hover); color: #fff; text-decoration: none; }
.asp-gate-pending-dots { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.asp-gate-pending-dots span {
    width: 8px; height: 8px; border-radius: 50%; background: var(--accd-blue);
    animation: aspGateDot 1.2s infinite;
}
.asp-gate-pending-dots span:nth-child(2) { animation-delay: .2s; }
.asp-gate-pending-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes aspGateDot {
    0%,80%,100% { opacity: 0.2; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.1); }
}
.asp-gate-reject-reason {
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: var(--accd-radius-sm); padding: 8px 14px;
    font-size: 12px; color: var(--accd-red); margin-bottom: 16px;
    text-align: right;
}

/* ── Listings list ── */
.asp-listings-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.asp-listings-header h2 { font-size: 18px; font-weight: 700; color: var(--accd-text-primary); margin: 0; display: flex; align-items: center; gap: 8px; }
.asp-listings-header h2 i { color: var(--accd-brand); }

.asp-listings-list { display: flex; flex-direction: column; }

.asp-listing-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--accd-border-light);
}
.asp-listing-row:last-child { border-bottom: none; }

.asp-listing-row__thumb {
    width: 58px; height: 58px; border-radius: var(--accd-radius-sm); overflow: hidden;
    flex-shrink: 0; background: var(--accd-bg-muted);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; border: 1px solid var(--accd-border-light); position: relative;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    padding: 0; background-size: cover; background-position: center;
}
.asp-listing-row__thumb i { font-size: 22px; color: var(--accd-text-muted); }
.asp-listing-row__sold-dot {
    position: absolute; top: 3px; right: 3px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--accd-red);
}
.asp-listing-row__body { flex: 1; min-width: 0; }
.asp-listing-row__title {
    font-size: 13px; font-weight: 600; color: var(--accd-text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    margin-bottom: 5px; text-decoration: none; display: block;
}
a.asp-listing-row__title:hover { color: var(--accd-brand); }
.asp-listing-row__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.asp-listing-row__price { font-size: 13px; font-weight: 700; color: var(--accd-text-primary); white-space: nowrap; flex-shrink: 0; }
.asp-listing-row__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
.asp-row-btn {
    font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 6px;
    text-decoration: none; border: 1px solid; transition: all 0.15s; white-space: nowrap; cursor: pointer; font-family: inherit; background: none;
}
.asp-row-btn.edit { color: var(--accd-brand); border-color: var(--accd-brand-muted); background: var(--accd-brand-light); }
.asp-row-btn.edit:hover { background: var(--accd-brand); color: #fff; text-decoration: none; }
.asp-row-btn.view { color: var(--accd-blue); border-color: #bfdbfe; background: #eff6ff; }
.asp-row-btn.view:hover { background: var(--accd-blue); color: #fff; text-decoration: none; }
.asp-row-btn.disabled { color: var(--accd-text-muted); border-color: var(--accd-border); background: var(--accd-bg-muted); cursor: default; pointer-events: none; }

.asp-lst-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 7px; border-radius: 8px; font-size: 10px; font-weight: 600;
}
.asp-lst-badge::before { content:''; width:5px; height:5px; border-radius:50%; background: currentColor; }
.asp-lst-badge.published { background: #ecfdf5; color: var(--accd-green); }
.asp-lst-badge.pending   { background: #fef3c7; color: var(--accd-yellow); }
.asp-lst-badge.draft     { background: var(--accd-bg-muted); color: var(--accd-text-muted); }
.asp-lst-badge.sold      { background: #fef2f2; color: var(--accd-red); }
.asp-lst-badge.rejected  { background: #fef2f2; color: var(--accd-red); }

.asp-game-chip {
    display: inline-flex; align-items: center; gap: 4px; font-size: 10px;
    color: var(--accd-text-secondary); background: var(--accd-bg-muted);
    border: 1px solid var(--accd-border-light); border-radius: 6px; padding: 2px 6px;
}
.asp-reject-box {
    margin-top: 5px; background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 5px; padding: 4px 8px; font-size: 11px; color: var(--accd-red);
}
.asp-listings-empty { text-align: center; padding: 48px 20px; }
.asp-listings-empty i { font-size: 48px; display: block; margin-bottom: 12px; color: var(--accd-border); }
.asp-listings-empty p { font-size: 13px; color: var(--accd-text-muted); margin-bottom: 16px; }

/* ── Badges redesign ── */
.asp-badges-redesign { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 580px) { .asp-badges-redesign { grid-template-columns: 1fr; } }

.asp-badge-new-card { border-radius: var(--accd-radius-lg); border: 1px solid var(--accd-border); overflow: hidden; background: var(--accd-bg-card); }
.asp-badge-new-card__top { padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--accd-border-light); }
.asp-badge-new-card__icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.asp-badge-new-card__icon.ok      { background: #ecfdf5; color: var(--accd-green); }
.asp-badge-new-card__icon.pending { background: #eff6ff; color: var(--accd-blue); }
.asp-badge-new-card__icon.rejected{ background: #fef2f2; color: var(--accd-red); }
.asp-badge-new-card__icon.none    { background: var(--accd-bg-muted); color: var(--accd-text-muted); }
.asp-badge-new-card__icon.gold    { background: #fef3c7; color: #d97706; }

.asp-badge-new-card__meta { flex: 1; }
.asp-badge-new-card__meta h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--accd-text-primary); }

.asp-badge-status-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 9px;
}
.asp-badge-status-chip.ok       { background: #ecfdf5; color: var(--accd-green); }
.asp-badge-status-chip.pending  { background: #eff6ff; color: var(--accd-blue); }
.asp-badge-status-chip.rejected { background: #fef2f2; color: var(--accd-red); }
.asp-badge-status-chip.none     { background: var(--accd-bg-muted); color: var(--accd-text-muted); }
.asp-badge-status-chip::before  { content:''; width:5px; height:5px; border-radius:50%; background: currentColor; }

.asp-badge-new-card__body { padding: 14px 18px; }
.asp-badge-new-card__desc { font-size: 12px; color: var(--accd-text-secondary); margin-bottom: 10px; line-height: 1.8; }
.asp-badge-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.asp-badge-perks li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--accd-text-secondary); }
.asp-badge-perks li::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--accd-brand); flex-shrink:0; margin-top:4px; }

.asp-badge-new-card__footer { padding: 0 18px 16px; display: flex; gap: 8px; }
.asp-badge-cta-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
    background: var(--accd-brand); color: #fff; border-radius: var(--accd-radius-sm);
    font-size: 12px; font-weight: 600; text-decoration: none;
    transition: background 0.15s; border: none; cursor: pointer; font-family: inherit;
}
.asp-badge-cta-btn:hover { background: var(--accd-brand-hover); color: #fff; text-decoration: none; }

.asp-badge-reject-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 8px 12px; font-size: 12px; color: var(--accd-red); margin: 0 18px 10px; }

/* کارت راهنمای احراز طلایی */
.asp-gold-guide-card {
    display: flex; align-items: center; gap: 14px;
    background: #fef3c7; border: 1px solid #fde68a;
    border-radius: var(--accd-radius-lg); padding: 16px 18px;
    margin-bottom: 16px;
}
.asp-gold-guide-card__icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: #fef3c7; border: 2px solid #f59e0b;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #d97706; flex-shrink: 0;
}
.asp-gold-guide-card__text h4 { font-size: 13px; font-weight: 700; color: #78350f; margin: 0 0 4px; }
.asp-gold-guide-card__text p  { font-size: 12px; color: #92400e; margin: 0; line-height: 1.8; }

/* ── Wallet redesign ── */
.asp-wallet-redesign { display: flex; flex-direction: column; gap: 18px; }

.asp-wallet-balances { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
@media (max-width: 480px) { .asp-wallet-balances { grid-template-columns: 1fr; } }

.asp-wbal-card { border-radius: var(--accd-radius-md); padding: 16px; }
.asp-wbal-card.w-available { background: linear-gradient(135deg, #111827, #1f2937); color: #fff; }
.asp-wbal-card.w-pending   { background: #fef3c7; border: 1px solid #fde68a; }
.asp-wbal-card.w-awaiting  { background: #eff6ff; border: 1px solid #bfdbfe; }

.asp-wbal-card__icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 10px; }
.w-available .asp-wbal-card__icon { background: rgba(237,98,5,0.2); color: var(--accd-brand); }
.w-pending   .asp-wbal-card__icon { background: rgba(245,158,11,0.15); color: var(--accd-yellow); }
.w-awaiting  .asp-wbal-card__icon { background: rgba(59,130,246,0.15); color: var(--accd-blue); }

.asp-wbal-card__label { font-size: 11px; font-weight: 600; margin-bottom: 6px; display: block; }
.w-available .asp-wbal-card__label { color: rgba(255,255,255,0.7); }
.w-pending   .asp-wbal-card__label { color: #92400e; }
.w-awaiting  .asp-wbal-card__label { color: #1e40af; }

.asp-wbal-card__amount { font-size: 22px; font-weight: 800; display: block; }
.w-available .asp-wbal-card__amount { color: #fff; }
.w-pending   .asp-wbal-card__amount { color: #78350f; }
.w-awaiting  .asp-wbal-card__amount { color: #1e3a8a; }

.asp-wbal-card__unit { font-size: 11px; display: block; margin-top: 3px; }
.w-available .asp-wbal-card__unit { color: rgba(255,255,255,0.5); }
.w-pending   .asp-wbal-card__unit { color: #a16207; }
.w-awaiting  .asp-wbal-card__unit { color: #3b82f6; }

.asp-wallet-section-card { background: var(--accd-bg-card); border: 1px solid var(--accd-border); border-radius: var(--accd-radius-lg); overflow: hidden; }
.asp-wallet-section-card__header {
    padding: 13px 18px; border-bottom: 1px solid var(--accd-border-light);
    display: flex; align-items: center; gap: 9px;
    font-size: 14px; font-weight: 700; color: var(--accd-text-primary);
}
.asp-wallet-section-card__header i { color: var(--accd-brand); font-size: 18px; }
.asp-wallet-section-card__body { padding: 16px 18px; }

.asp-withdraw-row { display: flex; gap: 10px; align-items: flex-end; }
.asp-withdraw-row .accounti-input { flex: 1; }
.asp-wallet-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
    background: var(--accd-brand); color: #fff; border: none;
    border-radius: var(--accd-radius-sm); font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit; transition: background 0.15s; white-space: nowrap;
}
.asp-wallet-btn:hover { background: var(--accd-brand-hover); }
.asp-wallet-btn:disabled { background: var(--accd-bg-muted); color: var(--accd-text-muted); cursor: not-allowed; }

.asp-bank-toggle-btn {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 18px;
    background: none; border: none; cursor: pointer; font-size: 14px; font-weight: 700;
    color: var(--accd-text-primary); font-family: inherit; text-align: right;
    transition: background 0.15s;
}
.asp-bank-toggle-btn:hover { background: var(--accd-bg-muted); }
.asp-bank-toggle-btn i.icon { color: var(--accd-brand); font-size: 18px; }
.asp-bank-toggle-btn .asp-toggle-arrow { margin-right: auto; color: var(--accd-text-muted); transition: transform 0.2s; font-size: 16px; }
.asp-bank-toggle-btn.is-open .asp-toggle-arrow { transform: rotate(180deg); }
.asp-bank-form-body { padding: 16px 18px; border-top: 1px solid var(--accd-border-light); display: none; }
.asp-bank-form-body.is-open { display: block; }
.asp-bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 500px) { .asp-bank-grid { grid-template-columns: 1fr; } }

.asp-txn-table-wrap { overflow-x: auto; }
.asp-txn-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.asp-txn-table th { font-size: 11px; font-weight: 600; color: var(--accd-text-muted); padding: 8px 14px; text-align: right; background: var(--accd-bg-muted); border-bottom: 1px solid var(--accd-border); white-space: nowrap; }
.asp-txn-table td { padding: 11px 14px; font-size: 12px; color: var(--accd-text-secondary); border-bottom: 1px solid var(--accd-border-light); vertical-align: top; }
.asp-txn-table tr:last-child td { border-bottom: none; }
.asp-txn-table tr:hover td { background: var(--accd-bg-muted); }
.asp-txn-amount { font-weight: 700; font-size: 13px; }
.asp-txn-amount.is-credit { color: var(--accd-green); }
.asp-txn-amount.is-debit  { color: var(--accd-red); }
.asp-txn-status-chip { display: inline-block; padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 600; }
.asp-txn-status-chip.waiting  { background: #eff6ff; color: var(--accd-blue); }
.asp-txn-status-chip.holding  { background: #fef3c7; color: var(--accd-yellow); }
.asp-txn-status-chip.released { background: #ecfdf5; color: var(--accd-green); }
.asp-txn-status-chip.paid     { background: #ecfdf5; color: var(--accd-green); }
.asp-txn-status-chip.rejected { background: #fef2f2; color: var(--accd-red); }
.asp-txn-status-chip.pending  { background: #fef3c7; color: var(--accd-yellow); }
.asp-wallet-detail-toggle { font-size: 11px; color: var(--accd-brand); background: var(--accd-brand-light); border: 1px solid var(--accd-brand-muted); border-radius: 6px; padding: 3px 8px; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.asp-wallet-detail-toggle:hover { background: var(--accd-brand-muted); }
.asp-wallet-detail-row td { background: #f9fafb !important; }
.asp-wallet-detail-content { font-size: 12px; color: var(--accd-text-secondary); }
.asp-txn-fin-grid { display: flex; flex-direction: column; gap: 0; margin-top: 8px; border: 1px solid var(--accd-border-light); border-radius: var(--accd-radius-sm); overflow: hidden; }
.asp-txn-fin-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px; border-bottom: 1px solid var(--accd-border-light); font-size: 12px; }
.asp-txn-fin-row:last-child { border-bottom: none; font-weight: 700; color: var(--accd-text-primary); background: #f0fdf4; }
.asp-txn-fin-row.deduct { color: var(--accd-red); }
.asp-wallet-gross-hint { display: block; font-size: 10px; color: var(--accd-text-muted); text-decoration: line-through; }
.asp-wallet-txn-empty { text-align: center; padding: 36px 20px; }
.asp-wallet-txn-empty i { font-size: 40px; display: block; margin-bottom: 10px; color: var(--accd-border); }
.asp-wallet-txn-empty p { font-size: 13px; color: var(--accd-text-muted); }

/* کارت "در انتظار واریز" */
/* ════════════════════════════════════════════════════════════
   VERIFICATION REDESIGN
   ════════════════════════════════════════════════════════════ */

/* نوار پیشرفت */
.asp-ver-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    direction: rtl;
}
.asp-ver-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accd-text-muted);
}
.asp-ver-step__num {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accd-bg-muted);
    border: 2px solid var(--accd-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
    transition: all .2s;
}
.asp-ver-step.is-active .asp-ver-step__num {
    background: var(--accd-brand); border-color: var(--accd-brand); color: #fff;
}
.asp-ver-step.is-active .asp-ver-step__label { color: var(--accd-text-primary); }
.asp-ver-step.is-done .asp-ver-step__num {
    background: var(--accd-green); border-color: var(--accd-green); color: #fff;
}
.asp-ver-step__line {
    flex: 1; height: 2px; background: var(--accd-border); margin: 0 10px;
}

/* بخش قوانین */
.asp-ver-rules-wrap { display: flex; flex-direction: column; gap: 16px; }

.asp-ver-rules-section {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    overflow: hidden;
}
.asp-ver-rules-section--warning { border-color: #fde68a; }

.asp-ver-rules-section__header {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    background: #f9fafb;
    border-bottom: 1px solid var(--accd-border);
    font-size: 14px; font-weight: 700; color: var(--accd-text-primary);
}
.asp-ver-rules-section--warning .asp-ver-rules-section__header {
    background: #fffbeb; border-color: #fde68a; color: #92400e;
}
.asp-ver-rules-section__header i { font-size: 18px; }

.asp-ver-rule-list { padding: 6px 0; }

.asp-ver-rule-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--accd-border-light);
    transition: background .15s;
}
.asp-ver-rule-item:last-child { border-bottom: none; }
.asp-ver-rule-item:hover { background: #f9fafb; }

.asp-ver-rule-item__icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0; margin-top: 2px;
}
.asp-ver-rule-item__icon.green  { background: #ecfdf5; color: #059669; }
.asp-ver-rule-item__icon.blue   { background: #eff6ff; color: #2563eb; }
.asp-ver-rule-item__icon.orange { background: #fff7ed; color: var(--accd-brand); }
.asp-ver-rule-item__icon.purple { background: #f5f3ff; color: #7c3aed; }
.asp-ver-rule-item__icon.red    { background: #fef2f2; color: #dc2626; }
.asp-ver-rule-item__icon.yellow { background: #fffbeb; color: #d97706; }

.asp-ver-rule-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--accd-text-primary); margin-bottom: 3px; }
.asp-ver-rule-item p { margin: 0; font-size: 12px; color: var(--accd-text-secondary); line-height: 1.7; }

/* دکمه موافقت */
.asp-ver-agree-form { display: flex; justify-content: center; padding-top: 4px; }
.asp-ver-agree-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #f97316, #ed6205);
    color: #fff; border: none; border-radius: var(--accd-radius-md);
    font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
    transition: all .2s; box-shadow: 0 4px 16px rgba(237,98,5,.3);
    width: 100%; justify-content: center;
}
.asp-ver-agree-btn:hover { background: linear-gradient(135deg, #ea6510, #c94f00); transform: translateY(-1px); }
.asp-ver-agree-btn i { font-size: 20px; }

/* فرم مرحله ۲ */
.asp-ver-form-wrap {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    padding: 24px;
}
.asp-ver-form-hint {
    display: flex; align-items: center; gap: 8px;
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: var(--accd-radius-sm); padding: 10px 14px;
    font-size: 12px; color: #1e40af; font-weight: 600; margin-bottom: 20px;
}
.asp-ver-form-hint i { font-size: 16px; flex-shrink: 0; }

.asp-required { color: var(--accd-red); margin-right: 2px; }

/* خطای فیلد */
.asp-field-error-msg {
    display: none; font-size: 11px; color: var(--accd-red);
    margin-top: 4px; font-weight: 600;
}
.asp-input-invalid + .asp-field-error-msg,
.asp-input-invalid ~ .asp-field-error-msg { display: block; }
.accounti-input.asp-input-invalid,
.accounti-textarea.asp-input-invalid {
    border-color: var(--accd-red) !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}

/* footer فرم */
.asp-ver-form-footer {
    display: flex; align-items: center; gap: 16px;
    margin-top: 20px; flex-wrap: wrap;
}
.asp-ver-form-footer__hint {
    font-size: 11px; color: var(--accd-text-muted);
    display: flex; align-items: center; gap: 4px;
}

/* کارت در انتظار واریز */
.asp-wbal-card.w-withdraw { background: #fdf4ff; border: 1px solid #e9d5ff; }
.w-withdraw .asp-wbal-card__icon { background: rgba(139,92,246,0.12); color: #7c3aed; }
.w-withdraw .asp-wbal-card__label { color: #6b21a8; }
.w-withdraw .asp-wbal-card__amount { color: #581c87; }
.w-withdraw .asp-wbal-card__unit { color: #7c3aed; }

/* ── Wallet Toast Notifications ── */
#asp-wallet-toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    width: 340px;
    max-width: calc(100vw - 32px);
}
.asp-wallet-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    pointer-events: all;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    direction: rtl;
}
.asp-wallet-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.asp-wallet-toast--success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.asp-wallet-toast--error   { background: #fef2f2; color: #7f1d1d; border: 1px solid #fca5a5; }
.asp-wallet-toast--info    { background: #eff6ff; color: #1e3a8a; border: 1px solid #93c5fd; }
.asp-wallet-toast i { font-size: 18px; flex-shrink: 0; }
.asp-wallet-toast--success i { color: #10b981; }
.asp-wallet-toast--error   i { color: #ef4444; }
.asp-wallet-toast--info    i { color: #3b82f6; }
.asp-wallet-toast span { flex: 1; }
.asp-wallet-toast__close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    padding: 0 2px;
    font-family: inherit;
    transition: opacity 0.15s;
}
.asp-wallet-toast__close:hover { opacity: 1; }

/* ════════════════════════════════════════════════════════════
   USERNAME SETUP PAGE
   ════════════════════════════════════════════════════════════ */

.asp-slug-setup-wrap {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* هدر */
.asp-slug-setup-hero {
    text-align: center;
    padding: 32px 20px 20px;
}
.asp-slug-setup-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}
.asp-slug-setup-hero__badge i { font-size: 15px; color: #10b981; }
.asp-slug-setup-hero__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--accd-text-primary);
    margin: 0 0 8px;
}
.asp-slug-setup-hero__sub {
    font-size: 13px;
    color: var(--accd-text-muted);
    margin: 0;
}

/* کارت‌های راهنما */
.asp-slug-guide-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 580px) { .asp-slug-guide-cards { grid-template-columns: 1fr; } }

.asp-slug-guide-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.asp-slug-guide-card--warn {
    background: #fffbeb;
    border-color: #fde68a;
}
.asp-slug-guide-card__icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--accd-brand-light);
    color: var(--accd-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.asp-slug-guide-card--warn .asp-slug-guide-card__icon {
    background: #fef3c7;
    color: #d97706;
}
.asp-slug-guide-card strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accd-text-primary);
    margin-bottom: 4px;
}
.asp-slug-guide-card p {
    margin: 0;
    font-size: 11px;
    color: var(--accd-text-secondary);
    line-height: 1.7;
}

/* فرم */
.asp-slug-form-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    padding: 24px;
}
.asp-slug-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accd-text-primary);
    margin-bottom: 10px;
}
.asp-slug-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--accd-border);
    border-radius: var(--accd-radius-sm);
    overflow: hidden;
    transition: border-color .2s;
    background: #fff;
}
.asp-slug-input-wrap:focus-within {
    border-color: var(--accd-brand);
    box-shadow: 0 0 0 3px rgba(237,98,5,.1);
}
.asp-slug-input-prefix {
    background: var(--accd-bg-muted);
    padding: 11px 14px;
    font-size: 11px;
    color: var(--accd-text-muted);
    white-space: nowrap;
    border-left: 1px solid var(--accd-border);
    flex-shrink: 0;
    font-family: monospace;
    direction: ltr;
}
.asp-slug-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accd-text-primary);
    background: transparent;
    font-family: monospace;
    direction: ltr;
    box-shadow: none !important;
    min-width: 0;
}

.asp-slug-rules {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.asp-slug-rules li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--accd-text-muted);
}
.asp-slug-rules li i { font-size: 8px; color: var(--accd-brand-muted); flex-shrink: 0; }

.asp-slug-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: linear-gradient(135deg, #f97316, #ed6205);
    color: #fff;
    border: none;
    border-radius: var(--accd-radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(237,98,5,.3);
}
.asp-slug-submit-btn:hover {
    background: linear-gradient(135deg, #ea6510, #c94f00);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(237,98,5,.4);
}
.asp-slug-submit-btn i { font-size: 18px; }

/* ════════════════════════════════════════════════════════════
   SELLER PROFILE PAGE REDESIGN
   ════════════════════════════════════════════════════════════ */

/* ── layout اصلی: دو ستون ── */
.asp-sp-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
}
@media (max-width: 700px) { .asp-sp-layout { grid-template-columns: 1fr; } }

/* ── ستون سمت راست: پروفایل + مدال‌ها ── */
.asp-sp-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* کارت آواتار */
.asp-sp-avatar-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    padding: 24px 20px;
    text-align: center;
}
.asp-seller-avatar-box {
    position: relative;
    width: 90px; height: 90px;
    margin: 0 auto 12px;
}
.asp-seller-avatar-img,
.asp-seller-avatar-placeholder {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accd-brand-light);
}
.asp-seller-avatar-placeholder {
    background: var(--accd-brand-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--accd-brand);
}
.is-hidden { display: none !important; }

/* دکمه‌های آواتار */
.asp-seller-avatar-icon {
    position: absolute;
    width: 26px; height: 26px;
    border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; transition: all 0.15s;
}
.asp-remove-seller-avatar {
    top: 0; left: 0;
    background: var(--accd-red); color: #fff;
}
.asp-change-seller-avatar {
    bottom: 0; left: 0;
    background: var(--accd-brand); color: #fff;
}
.asp-seller-avatar-icon:hover { transform: scale(1.1); }

.asp-sp-avatar-card__name { font-size: 15px; font-weight: 700; color: var(--accd-text-primary); margin-bottom: 3px; }
.asp-sp-avatar-card__slug { font-size: 12px; color: var(--accd-text-muted); margin-bottom: 12px; }
.asp-sp-avatar-card__upload-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--accd-brand);
    border: 1.5px dashed var(--accd-brand-muted);
    border-radius: var(--accd-radius-sm); padding: 6px 14px;
    cursor: pointer; transition: all 0.15s; background: var(--accd-brand-light);
}
.asp-sp-avatar-card__upload-btn:hover { border-color: var(--accd-brand); background: var(--accd-brand-muted); }

/* لینک پروفایل عمومی */
.asp-sp-public-link {
    display: flex; align-items: center; gap: 6px;
    margin-top: 12px; padding: 8px 12px;
    background: var(--accd-bg-muted); border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-sm); font-size: 11px;
    color: var(--accd-text-muted);
}
.asp-sp-public-link a { color: var(--accd-brand); font-weight: 600; text-decoration: none; word-break: break-all; }
.asp-sp-public-link a:hover { text-decoration: underline; }
.asp-sp-public-link i { flex-shrink: 0; }

/* کارت مدال‌ها */
.asp-sp-medals-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    overflow: hidden;
}
.asp-sp-medals-card__header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--accd-border-light);
    font-size: 13px; font-weight: 700; color: var(--accd-text-primary);
    display: flex; align-items: center; gap: 7px;
}
.asp-sp-medals-card__header i { color: var(--accd-brand); font-size: 16px; }
.asp-sp-medals-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.asp-sp-medal-row {
    display: flex; align-items: center; gap: 10px;
}
.asp-sp-medal-icon {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.asp-sp-medal-icon.basic  { background: #ecfdf5; color: var(--accd-green); }
.asp-sp-medal-icon.gold   { background: #fef3c7; color: #d97706; }
.asp-sp-medal-icon.none   { background: var(--accd-bg-muted); color: var(--accd-text-muted); }
.asp-sp-medal-text { flex: 1; }
.asp-sp-medal-name { font-size: 12px; font-weight: 700; color: var(--accd-text-primary); display: block; }
.asp-sp-medal-status { font-size: 10px; color: var(--accd-text-muted); display: block; margin-top: 1px; }
.asp-sp-medal-action {
    font-size: 11px; color: var(--accd-brand);
    text-decoration: none; padding: 4px 9px;
    border: 1px solid var(--accd-brand-muted);
    border-radius: 6px; background: var(--accd-brand-light);
    white-space: nowrap; transition: all 0.15s;
}
.asp-sp-medal-action:hover { background: var(--accd-brand); color: #fff; text-decoration: none; }

/* ── ستون اصلی (محتوا) ── */
.asp-sp-main { display: flex; flex-direction: column; gap: 16px; }

/* کارت آمار */
.asp-sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 580px) { .asp-sp-stats-grid { grid-template-columns: repeat(2, 1fr); } }

.asp-sp-stat {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-md);
    padding: 16px 14px;
    text-align: center;
}
.asp-sp-stat__val {
    font-size: 22px; font-weight: 800;
    color: var(--accd-text-primary); display: block; margin-bottom: 4px;
}
.asp-sp-stat__val.green  { color: var(--accd-green); }
.asp-sp-stat__val.orange { color: var(--accd-brand); }
.asp-sp-stat__val.yellow { color: #d97706; }
.asp-sp-stat__label {
    font-size: 11px; color: var(--accd-text-muted); font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.asp-sp-stat__label i { font-size: 13px; }

/* کارت ویرایش بیو */
.asp-sp-bio-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    overflow: hidden;
}
.asp-sp-bio-card__header {
    padding: 13px 18px;
    border-bottom: 1px solid var(--accd-border-light);
    font-size: 14px; font-weight: 700; color: var(--accd-text-primary);
    display: flex; align-items: center; gap: 8px;
}
.asp-sp-bio-card__header i { color: var(--accd-brand); font-size: 17px; }
.asp-sp-bio-card__body { padding: 16px 18px; }
.asp-sp-bio-card__body label { font-size: 12px; font-weight: 600; color: var(--accd-text-secondary); display: block; margin-bottom: 6px; }
.asp-sp-bio-counter { font-size: 11px; color: var(--accd-text-muted); margin-top: 5px; text-align: left; }
.asp-sp-save-btn {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 14px; padding: 10px 24px;
    background: var(--accd-brand); color: #fff;
    border: none; border-radius: var(--accd-radius-sm);
    font-size: 13px; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: background 0.15s;
}
.asp-sp-save-btn:hover { background: var(--accd-brand-hover); }

/* بخش نظرات */
.asp-sp-reviews-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    overflow: hidden;
}
.asp-sp-reviews-card__header {
    padding: 13px 18px;
    border-bottom: 1px solid var(--accd-border-light);
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; color: var(--accd-text-primary);
}
.asp-sp-reviews-card__header i { color: var(--accd-brand); font-size: 17px; }
.asp-sp-reviews-body { padding: 0; }
.asp-sp-review-row {
    display: flex; gap: 12px; padding: 14px 18px;
    border-bottom: 1px solid var(--accd-border-light);
}
.asp-sp-review-row:last-child { border-bottom: none; }
.asp-sp-review-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--accd-brand-muted); color: var(--accd-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}
.asp-sp-review-body { flex: 1; }
.asp-sp-review-top {
    display: flex; align-items: center; gap: 8px; margin-bottom: 5px;
}
.asp-sp-review-name { font-size: 12px; font-weight: 700; color: var(--accd-text-primary); }
.asp-sp-review-stars { display: flex; gap: 2px; }
.asp-sp-review-star { font-size: 12px; color: #d1d5db; }
.asp-sp-review-star.filled { color: #f59e0b; }
.asp-sp-review-date { font-size: 10px; color: var(--accd-text-muted); margin-right: auto; }
.asp-sp-review-comment { font-size: 12px; color: var(--accd-text-secondary); line-height: 1.8; }
.asp-sp-no-reviews { padding: 32px; text-align: center; color: var(--accd-text-muted); }
.asp-sp-no-reviews i { font-size: 36px; display: block; margin-bottom: 8px; color: var(--accd-border); }
.asp-sp-no-reviews p { font-size: 13px; margin: 0; }

/* ════════════════════════════════════════════════════════════
   SUBMIT LISTING – Game Search + Ad Form Redesign
   ════════════════════════════════════════════════════════════ */

/* ── Step 1: جستجوی بازی ── */
.asp-game-search-redesign {
    max-width: 560px;
    margin: 0 auto;
}
.asp-game-search-redesign__header {
    text-align: center;
    margin-bottom: 24px;
}
.asp-game-search-redesign__icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--accd-brand-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--accd-brand);
    margin: 0 auto 14px;
}
.asp-game-search-redesign__header h3 {
    font-size: 18px; font-weight: 800;
    color: var(--accd-text-primary); margin: 0 0 6px;
}
.asp-game-search-redesign__header p {
    font-size: 13px; color: var(--accd-text-muted); margin: 0;
}

.asp-game-search-box-new {
    position: relative;
    background: var(--accd-bg-card);
    border: 2px solid var(--accd-border);
    border-radius: var(--accd-radius-md);
    display: flex; align-items: center;
    gap: 10px; padding: 0 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.asp-game-search-box-new:focus-within {
    border-color: var(--accd-brand);
    box-shadow: 0 0 0 3px rgba(237,98,5,0.12);
}
.asp-game-search-box-new i { font-size: 20px; color: var(--accd-text-muted); flex-shrink: 0; }
.asp-game-search-box-new input {
    flex: 1; border: none; outline: none;
    padding: 14px 0; font-size: 14px;
    font-family: inherit; color: var(--accd-text-primary);
    background: transparent; direction: rtl;
}
.asp-game-search-box-new input::placeholder { color: var(--accd-text-muted); }

/* Dropdown نتایج — JS با .show()/.hide() کنترل می‌کنه */
.asp-game-search-results-new {
    position: absolute;
    top: calc(100% + 6px); right: 0; left: 0;
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
    overflow: hidden;
    list-style: none;
    margin: 0; padding: 0;
}

/* آیتم‌هایی که JS با class="asp-game-result-item" می‌سازه */
.asp-game-search-results-new .asp-game-result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--accd-border-light);
    transition: background 0.12s;
    font-size: 13px; font-weight: 600;
    color: var(--accd-text-primary);
}
.asp-game-search-results-new .asp-game-result-item:last-child { border-bottom: none; }
.asp-game-search-results-new .asp-game-result-item:hover { background: var(--accd-brand-light); color: var(--accd-brand); }

/* تصویر بازی که JS با class="asp-result-icon" می‌سازه */
.asp-game-search-results-new .asp-result-icon {
    width: 36px; height: 36px;
    border-radius: 8px; object-fit: cover;
    background: var(--accd-bg-muted);
    flex-shrink: 0;
}
/* ردیف "نتیجه‌ای یافت نشد" */
.asp-game-search-results-new .asp-no-result {
    padding: 14px 16px;
    font-size: 13px; color: var(--accd-text-muted);
    text-align: center;
}

.asp-game-search-hint-new {
    text-align: center; margin-top: 12px;
    font-size: 12px; color: var(--accd-text-muted);
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.asp-game-search-hint-new i { color: var(--accd-brand); font-size: 14px; }

/* ── Step 2: هدر بازی انتخاب‌شده ── */
.asp-form-game-header {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    margin-bottom: 20px;
}
.asp-form-game-header__icon {
    width: 48px; height: 48px;
    border-radius: 10px; overflow: hidden;
    flex-shrink: 0; background: var(--accd-bg-muted);
    display: flex; align-items: center; justify-content: center;
}
.asp-form-game-header__icon img { width: 100%; height: 100%; object-fit: cover; }
.asp-form-game-header__icon i { font-size: 22px; color: var(--accd-text-muted); }
.asp-form-game-header__text { flex: 1; }
.asp-form-game-header__name { font-size: 15px; font-weight: 700; color: var(--accd-text-primary); display: block; }
.asp-form-game-header__name-fa { font-size: 12px; color: var(--accd-text-muted); }
.asp-form-game-change {
    font-size: 12px; color: var(--accd-brand);
    text-decoration: none; padding: 6px 12px;
    border: 1px solid var(--accd-brand-muted);
    border-radius: var(--accd-radius-sm);
    background: var(--accd-brand-light);
    transition: all 0.15s; white-space: nowrap;
    flex-shrink: 0;
}
.asp-form-game-change:hover { background: var(--accd-brand); color: #fff; text-decoration: none; }

/* ── Step 2: فرم آگهی ── */
.asp-ad-form-redesign {
    display: flex; flex-direction: column; gap: 0;
}
.asp-ad-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}
@media (max-width: 600px) {
    .asp-ad-form-grid { grid-template-columns: 1fr; }
}
.asp-ad-form-grid .asp-ad-field--full { grid-column: 1 / -1; }

.asp-ad-field { display: flex; flex-direction: column; gap: 6px; }
.asp-ad-label {
    font-size: 12px; font-weight: 700;
    color: var(--accd-text-secondary);
    display: flex; align-items: center; gap: 4px;
}
.asp-ad-required { color: var(--accd-red); }

/* inputs override برای فرم آگهی */
.asp-ad-form-redesign .accounti-input,
.asp-ad-form-redesign .accounti-textarea,
.asp-ad-form-redesign .accounti-select {
    border-radius: var(--accd-radius-sm);
    font-size: 13px;
    border: 1.5px solid var(--accd-border);
    padding: 10px 12px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.asp-ad-form-redesign .accounti-input:focus,
.asp-ad-form-redesign .accounti-textarea:focus,
.asp-ad-form-redesign .accounti-select:focus {
    border-color: var(--accd-brand);
    box-shadow: 0 0 0 3px rgba(237,98,5,0.1);
    outline: none;
}

/* Radio/Checkbox */
.asp-ad-radio-group,
.asp-ad-checkbox-group {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.asp-ad-radio-chip,
.asp-ad-checkbox-chip {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid var(--accd-border);
    border-radius: 20px;
    font-size: 12px; font-weight: 600;
    color: var(--accd-text-secondary);
    cursor: pointer; transition: all 0.15s;
    background: var(--accd-bg-card);
}
.asp-ad-radio-chip input,
.asp-ad-checkbox-chip input { display: none; }
.asp-ad-radio-chip:has(input:checked),
.asp-ad-checkbox-chip:has(input:checked) {
    border-color: var(--accd-brand);
    background: var(--accd-brand-light);
    color: var(--accd-brand);
}
/* fallback برای مرورگرهایی که :has پشتیبانی نمی‌کنن */
.asp-ad-radio-chip.is-checked,
.asp-ad-checkbox-chip.is-checked {
    border-color: var(--accd-brand);
    background: var(--accd-brand-light);
    color: var(--accd-brand);
}

/* File Upload */
.asp-ad-file-zone-wrap { position: relative; }
.asp-ad-file-zone-wrap input[type="file"] { display: none; }

.asp-ad-file-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px dashed var(--accd-border);
    border-radius: var(--accd-radius-md);
    padding: 24px 16px;
    text-align: center;
    background: var(--accd-bg-muted);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}
.asp-ad-file-zone:hover { border-color: var(--accd-brand); background: var(--accd-brand-light); }
.asp-ad-file-zone.is-selected { border-color: var(--accd-green); background: #ecfdf5; }
.asp-ad-file-zone__icon { font-size: 28px; color: var(--accd-text-muted); display: block; margin-bottom: 8px; }
.asp-ad-file-zone__text { font-size: 13px; font-weight: 600; color: var(--accd-text-secondary); display: block; margin-bottom: 4px; }
.asp-ad-file-zone__hint { font-size: 11px; color: var(--accd-text-muted); }
.asp-ad-file-name-tag {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
    background: var(--accd-bg-card); border: 1px solid var(--accd-border);
    border-radius: 20px; padding: 4px 12px; font-size: 11px; color: var(--accd-text-secondary);
}

/* Submit section */
.asp-ad-submit-section {
    padding: 20px 0 0;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   Bottom Navigation Bar (mobile only)
   ══════════════════════════════════════════════════════════ */

.accd-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* پدینگ پایین صفحه تا محتوا پشت نوار گم نشه */
    .accd-wrap {
        padding-bottom: 80px;
    }

    /* مخفی کردن سایدبار روی موبایل */
    .accd-sidebar-col {
        display: none;
    }

    /* نمایش bottom nav */
    .accd-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 9999;
        background: #ffffff;
        border-top: 1px solid var(--accd-border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        direction: rtl;
        /* safe area برای آیفون‌های notch‌دار */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .accd-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 4px;
        font-size: 10px;
        font-weight: 500;
        color: var(--accd-text-muted);
        text-decoration: none !important;
        position: relative;
        transition: color 0.15s;
        font-family: 'IRYekan', IRANSans, Tahoma, Arial, sans-serif;
    }

    .accd-bottom-nav__item i {
        font-size: 22px;
        line-height: 1;
        transition: transform 0.15s, color 0.15s;
    }

    .accd-bottom-nav__item span:not(.accd-bottom-nav__badge) {
        font-size: 10px;
        line-height: 1.2;
    }

    .accd-bottom-nav__item:hover {
        color: var(--accd-brand);
    }

    .accd-bottom-nav__item.is-active {
        color: var(--accd-brand);
    }

    .accd-bottom-nav__item.is-active i {
        transform: translateY(-2px);
    }

    .accd-bottom-nav__item.is-active::after {
        content: '';
        position: absolute;
        top: 0;
        right: 20%;
        left: 20%;
        height: 2px;
        background: var(--accd-brand);
        border-radius: 0 0 3px 3px;
    }

    /* badge برای چت */
    .accd-bottom-nav__badge {
        position: absolute;
        top: 6px;
        right: calc(50% - 18px);
        min-width: 16px;
        height: 16px;
        background: #ef4444;
        color: #fff;
        border-radius: 999px;
        font-size: 9px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border: 1.5px solid #fff;
        line-height: 1;
    }
}
.asp-ad-submit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 32px;
    background: var(--accd-brand); color: #fff;
    border: none; border-radius: var(--accd-radius-md);
    font-size: 14px; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: all 0.2s;
}
.asp-ad-submit-btn:hover { background: var(--accd-brand-hover); box-shadow: 0 4px 16px rgba(237,98,5,0.3); }
.asp-ad-submit-hint { font-size: 12px; color: var(--accd-text-muted); }

/* فرم داخل یک کارت */
.asp-ad-form-card {
    background: var(--accd-bg-card);
    border: 1px solid var(--accd-border);
    border-radius: var(--accd-radius-lg);
    padding: 20px;
}

/* ════════════════════════════════════════════════════════════
   SELLER PANEL – MOBILE RESPONSIVE FIXES
   ════════════════════════════════════════════════════════════ */

/* ── تبلت متوسط (تا ۶۸۰px) ── */
@media (max-width: 680px) {
    /* پنل فروشنده: کاهش padding کلی */
    .accounti-seller-panel { padding: 0; }

    /* هدر صفحات */
    .accd-wc-content .asp-page-header { gap: 8px; margin-bottom: 16px; padding-bottom: 12px; }
    .accd-wc-content .asp-page-header h2 { font-size: 16px; }

    /* کارت‌های آمار فروشنده: ۲ ستون */
    .asp-sp-stats-grid { grid-template-columns: repeat(2, 1fr); }

    /* کارت‌های موجودی کیف پول: مقدار عدد کوچک‌تر */
    .asp-wbal-card__amount { font-size: 18px; }

    /* فرم آگهی: تک‌ستون */
    .asp-ad-form-grid { grid-template-columns: 1fr; }
}

/* ── موبایل (تا ۴۸۰px) ── */
@media (max-width: 480px) {

    /* ── ردیف آگهی‌ها ── */
    .asp-listing-row {
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 12px 0;
        align-items: flex-start;
    }
    /* thumb و body کنار هم در خط اول */
    .asp-listing-row__thumb {
        width: 48px;
        height: 48px;
    }
    .asp-listing-row__body {
        /* flex: 1 + min-width: 0 قبلاً بود، حفظ می‌شه */
    }
    /* دکمه‌های عملیات به خط دوم می‌رن */
    .asp-listing-row__actions {
        width: 100%;
        flex-shrink: 1;
        flex-wrap: wrap;
        gap: 6px;
        padding-top: 6px;
        border-top: 1px dashed var(--accd-border-light);
        margin-top: 2px;
    }
    .asp-row-btn {
        font-size: 11px;
        padding: 5px 10px;
        flex: 1;
        justify-content: center;
        display: inline-flex;
        text-align: center;
    }

    /* ── کیف پول: فرم برداشت ── */
    .asp-withdraw-row {
        flex-direction: column;
        align-items: stretch;
    }
    .asp-withdraw-row .asp-wallet-btn {
        width: 100%;
        justify-content: center;
    }

    /* ── کیف پول: padding کارت‌ها ── */
    .asp-wallet-section-card__body { padding: 12px 14px; }
    .asp-bank-form-body { padding: 12px 14px; }
    .asp-wallet-section-card__header { padding: 11px 14px; font-size: 13px; }

    /* ── جدول تراکنش‌ها ── */
    /* ستون «جزئیات» را پنهان کن — کمترین اهمیت روی موبایل */
    .asp-txn-table th:last-child,
    .asp-txn-table td:last-child { display: none; }
    /* ستون «توضیحات» را محدود کن تا overflow نده */
    .asp-txn-table td:nth-child(2) {
        max-width: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .asp-txn-table { min-width: 320px; }
    .asp-txn-table th,
    .asp-txn-table td { padding: 8px 8px; font-size: 11px; }
    .asp-txn-amount { font-size: 12px; }

    /* ── کارت‌های موجودی ── */
    .asp-wbal-card { padding: 14px 12px; }
    .asp-wbal-card__amount { font-size: 17px; }
    .asp-wbal-card__label { font-size: 10px; }

    /* تایل‌های داشبورد فروشنده — استایل موبایل در بلاک @media (max-width:600px) بالا تعریف شده */

    /* ── صفحه احراز هویت: grid فیلدها ── */
    .asp-verification-grid { grid-template-columns: 1fr; }

    /* ── فرم آگهی: padding کارت ── */
    .asp-ad-form-card { padding: 14px; }

    /* ── پروفایل فروشنده: کارت avatar ── */
    .asp-sp-avatar-card { padding: 16px 14px; }
    .asp-sp-layout { gap: 14px; }

    /* ── تیتر header صفحه در پنل فروشنده ── */
    .asp-page-header h2 { font-size: 15px; }

    /* ── سکشن تأیید قوانین (step 1 verification) ── */
    .asp-ver-rule-item { padding: 12px 14px; gap: 10px; }
    .asp-ver-rule-item__icon { width: 32px; height: 32px; font-size: 16px; }
    .asp-ver-rules-section__header { padding: 12px 14px; font-size: 13px; }

    /* ── slug setup ── */
    .asp-slug-setup-hero__title { font-size: 18px; }
    .asp-slug-input-prefix { font-size: 10px; padding: 10px 8px; }
    .asp-slug-input { font-size: 13px; padding: 10px 10px; }
}

/* ── خیلی کوچک (تا ۳۶۰px) ── */
@media (max-width: 360px) {

    /* جدول تراکنش: ستون تاریخ هم کوتاه‌تر */
    .asp-txn-table th:nth-child(1),
    .asp-txn-table td:nth-child(1) { white-space: nowrap; font-size: 10px; padding: 7px 6px; }

    /* کارت‌های موجودی */
    .asp-wbal-card__amount { font-size: 15px; }


    /* فرم برداشت */
    .asp-wallet-btn { font-size: 12px; padding: 9px 14px; }

    /* دکمه submit آگهی */
    .asp-ad-submit-btn { width: 100%; justify-content: center; }

    /* کارت‌های راهنمای slug: تک ستون قبلاً داریم */
    .asp-slug-form-card { padding: 16px 12px; }
}
