/* =========================================================================
   پیشنهاد ترخیص‌کار (statics/js/broker_suggest.js) در پاپ‌آپ جزئیات تعرفه و محاسبه‌گر
   ========================================================================= */
.bs-box[hidden], #modal-section-brokers[hidden], #modal-nav-brokers[hidden] { display: none !important; }
.bs-box { color: var(--sk-ink); }
.bs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bs-head strong { font-size: 0.95rem; font-weight: 800; }
.bs-head a { flex-shrink: 0; font-size: 0.82rem; font-weight: 700; color: var(--sk-primary); text-decoration: none; }
.bs-list { display: flex; flex-direction: column; border: 1px solid var(--sk-line); border-radius: 16px; background: var(--sk-surface); overflow: hidden; }
.bs-card { display: flex; align-items: center; gap: 8px; padding-left: 10px; }
.bs-card + .bs-card { border-top: 1px solid var(--sk-line); }
.bs-card__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; }
.bs-card__main:hover { color: inherit; background: var(--sk-ground); }
.bs-avatar {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: var(--sk-primary-soft); color: var(--sk-primary); font-weight: 800; font-size: 1.15rem;
}
.bs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bs-body b { display: inline-flex; align-items: center; gap: 4px; font-size: 0.92rem; font-weight: 800; line-height: 1.6; }
.bs-badge { display: inline-flex; width: 17px; height: 17px; color: var(--sk-primary); }
.bs-badge svg { width: 100%; height: 100%; }
.bs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 0.78rem; color: var(--sk-muted); }
.bs-rating { display: inline-flex; align-items: center; gap: 3px; color: var(--sk-ink); font-weight: 800; }
.bs-rating svg { width: 14px; height: 14px; color: var(--sk-accent); }
.bs-rating span { color: var(--sk-muted); font-weight: 500; }
.bs-new { padding: 0 8px; border-radius: 999px; background: var(--sk-accent-soft); color: var(--sk-accent-text); font-weight: 700; }
.bs-customs { font-size: 0.76rem; color: var(--sk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-go { flex-shrink: 0; width: 18px; height: 18px; color: var(--sk-muted); }
.bs-go svg { width: 100%; height: 100%; }
.bs-request {
    flex-shrink: 0; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 10px;
    background: var(--sk-primary-soft); color: var(--sk-primary); font-size: 0.78rem; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.bs-request:hover { background: var(--sk-primary); color: #FFFFFF; }
.bs-note { margin: 8px 2px 0; font-size: 0.75rem; line-height: 1.8; color: var(--sk-muted); }

@media (max-width: 520px) {
    .bs-card { flex-wrap: wrap; padding: 0 0 10px; gap: 0; }
    .bs-card__main { flex-basis: 100%; padding-bottom: 6px; }
    .bs-go { display: none; }
    .bs-request { margin-right: 72px; }
}

/* محاسبه‌گر: کارت زیر نتیجه؛ ستون نتیجه min-width:0 تا خط تک‌سطری گمرکات ستون گرید را از عرض صفحه پهن‌تر نکند */
.cc-results { min-width: 0; }
.cc-card--brokers { margin-top: 16px; min-width: 0; }
