/* ریست و ایزولاسیون کامل برای جلوگیری از تداخل با المنتور */
.bbp-layout, .bbp-layout * {
    box-sizing: border-box;
    font-family: inherit;
}

.bbp-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
    color: #1e293b;
    direction: rtl;
}

/* سایدبار راست */
.bbp-sidebar {
    width: 275px;
    background: #ffffff;
    border-left: 1px solid #e5e9f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bbp-sidebar-top {
    padding: 20px 18px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.bbp-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.bbp-brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.bbp-brand-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bbp-brand-info strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.bbp-brand-info span {
    font-size: 11.5px;
    color: #64748b;
}

.bbp-mobile-close {
    display: none;
    margin-right: auto;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
}

/* باکس آواتار و اطلاعات کاربر در سایدبار */
.bbp-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.bbp-avatar-wrap img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.bbp-user-meta h4 {
    margin: 0 0 3px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.bbp-user-meta span {
    font-size: 11.5px;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* دکمه متمایز ثبت کسب و کار در سایدبار (آبی سازمانی) */
.bbp-btn-add-biz {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
    transition: all 0.2s;
}

.bbp-btn-add-biz:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
}

/* منوی ناوبری سایدبار */
.bbp-nav {
    padding: 12px 14px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bbp-nav-group-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    padding: 12px 10px 4px;
}

.bbp-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 10px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    text-align: right;
    text-decoration: none;
    transition: all 0.18s;
}

.bbp-nav-link:hover {
    background: #f8fafc;
    color: #0f172a;
}

.bbp-nav-link.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
}

.bbp-link-vip {
    color: #b45309;
}

.bbp-link-exit {
    color: #dc2626;
    margin-top: 8px;
}

.bbp-pill {
    margin-right: auto;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    background: #f1f5f9;
    color: #334155;
    padding: 2px 8px;
    border-radius: 20px;
}

.bbp-pill-warn {
    background: #fef3c7;
    color: #b45309;
}

/* بخش اصلی و هدر بالا */
.bbp-main-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bbp-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e9f0;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 800;
}

.bbp-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bbp-hamburger {
    display: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    color: #334155;
}

.bbp-page-heading h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.bbp-page-heading span {
    font-size: 12px;
    color: #64748b;
}

.bbp-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bbp-top-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bbp-top-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 10px;
    background: #2563eb;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

/* محتوای داخلی */
.bbp-content {
    padding: 26px 28px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.bbp-pane {
    display: none;
}

.bbp-pane.active {
    display: block;
    animation: bbpFade 0.22s ease;
}

@keyframes bbpFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* کادرهای اعلان */
.bbp-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid;
}
.bbp-notice-body strong { display: block; font-size: 14px; margin-bottom: 3px; }
.bbp-notice-body p { margin: 0; font-size: 13px; line-height: 1.6; }
.bbp-notice-blue { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.bbp-notice-green { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.bbp-notice-orange { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.bbp-notice-red { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.bbp-notice-purple { background: #faf5ff; border-color: #e9d5ff; color: #6b21a8; }

/* گرید کارت های پیشخوان (آبی سازمانی) */
.bbp-hero-stats-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.bbp-gradient-hero-card {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
    position: relative;
    overflow: hidden;
}

.bbp-gh-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bbp-gh-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

.bbp-gh-mid {
    margin: 18px 0;
}

.bbp-gh-label {
    font-size: 12.5px;
    opacity: 0.92;
}

.bbp-gh-mid h2 {
    margin: 4px 0 0;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.bbp-gh-mid h2 small {
    font-size: 15px;
    font-weight: 500;
}

.bbp-gh-actions {
    display: flex;
    gap: 10px;
}

.bbp-gh-btn-white {
    background: #ffffff;
    color: #1d4ed8;
    border: none;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.bbp-gh-btn-glass {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

/* کارت های آماری سفید مینیمال */
.bbp-clean-stat-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.bbp-stat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.bg-soft-blue   { background: #dbeafe; color: #2563eb; }
.bg-soft-orange { background: #ffedd5; color: #ea580c; }
.bg-soft-green  { background: #dcfce7; color: #16a34a; }

.bbp-stat-texts span { display: block; font-size: 12.5px; color: #64748b; }
.bbp-stat-texts strong { display: block; font-size: 20px; font-weight: 800; color: #0f172a; margin: 5px 0; }
.bbp-stat-texts small { font-size: 11.5px; color: #94a3b8; }

/* باکس های عمومی و لیست دسترسی سریع */
.bbp-section-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 20px;
}

.bbp-sc-header h3 { margin: 0 0 16px; font-size: 16px; font-weight: 800; }
.bbp-quick-links-list { display: flex; flex-direction: column; gap: 10px; }

.bbp-ql-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.bbp-ql-row:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

/* دکمه های استاندارد پنل */
.bbp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}
.bbp-btn-sm { padding: 7px 12px; font-size: 12px; }
.bbp-btn-primary { background: #2563eb; color: #fff; }
.bbp-btn-primary:hover { background: #1d4ed8; }
.bbp-btn-light { background: #f1f5f9; color: #334155; }
.bbp-btn-outline { background: transparent; border: 1px solid #cbd5e1; color: #334155; }
.bbp-btn-gold { background: #f59e0b; color: #fff; }
.bbp-btn-success { background: #16a34a; color: #fff; }

.bbp-pane-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.bbp-pane-bar h2 { margin: 0 0 4px; font-size: 19px; }
.bbp-pane-bar p { margin: 0; font-size: 13px; color: #64748b; }

/* کارت های کسب و کار */
.bbp-biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.bbp-biz-item {
    background: #fff; border: 1px solid #eef2f6; border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column;
}
.bbp-biz-media img { width: 100%; height: 170px; object-fit: cover; display: block; }
.bbp-biz-placeholder {
    height: 170px; background: #f8fafc; display: flex; align-items: center; justify-content: center; color: #94a3b8;
}
.bbp-biz-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.bbp-biz-badges { display: flex; gap: 6px; margin-bottom: 10px; }
.bbp-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.tag-success { background: #dcfce7; color: #166534; }
.tag-warning { background: #fef3c7; color: #92400e; }
.tag-danger  { background: #fee2e2; color: #991b1b; }
.tag-gold    { background: #fef9c3; color: #854d0e; }
.tag-orange  { background: #ffedd5; color: #9a3412; }
.tag-muted   { background: #f1f5f9; color: #64748b; }

.bbp-biz-info h3 { margin: 0 0 6px; font-size: 16px; }
.bbp-biz-address { margin: 0 0 16px; font-size: 12.5px; color: #64748b; flex: 1; }
.bbp-biz-footer-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* پکیج های ارتقا */
.bbp-pricing-wrapper {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px;
}
.bbp-plan-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 26px;
    display: flex; flex-direction: column;
}
.bbp-plan-card.plan-featured { border: 2px solid #2563eb; }
.bbp-plan-badge-title {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: #f8fafc; padding: 10px 20px; border-radius: 12px; margin: 0 auto 20px;
}
.bbp-crown-box {
    width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff;
}
.crown-yellow { background: #eab308; }
.crown-orange { background: #f97316; }
.bbp-plan-badge-title h3 { margin: 0; font-size: 19px; font-weight: 800; }

.bbp-plan-list { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.bbp-plan-list li {
    padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed #f1f5f9; display: flex; align-items: center; gap: 8px;
}
.chk-blue { color: #2563eb; font-weight: 800; }
.chk-gold { color: #eab308; font-weight: 800; }
.bbp-highlight-li { font-weight: 700; color: #2563eb; }

.bbp-plan-main-btn {
    display: block; text-align: center; padding: 12px; border-radius: 12px;
    font-weight: 700; text-decoration: none; margin-bottom: 10px; color: #fff;
}
.btn-yellow { background: #eab308; }
.btn-orange { background: #2563eb; }
.bbp-plan-social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbp-soc-btn {
    text-align: center; padding: 9px; border-radius: 10px; font-size: 13px;
    font-weight: 600; text-decoration: none; color: #fff;
}
.soc-tg { background: #0088cc; }
.soc-wa { background: #25d366; }

/* سیستم تیکتینگ چت محور */
.bbp-ticket-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    min-height: 520px;
}
.bbp-ticket-sidebar-list {
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}
.bbp-ts-header {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.bbp-ts-header h3 { margin: 0; font-size: 15px; }
.bbp-tickets-items { padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.bbp-ticket-row {
    background: #fff; border: 1px solid #e2e8f0; padding: 12px; border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.bbp-ticket-row:hover, .bbp-ticket-row.active { border-color: #2563eb; background: #eff6ff; }
.bbp-tr-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 5px; }
.bbp-tr-top strong { font-size: 13px; color: #0f172a; }
.bbp-ticket-row small { font-size: 11.5px; color: #64748b; }
.bbp-empty-tickets { text-align: center; padding: 30px 15px; color: #94a3b8; font-size: 13px; }

.bbp-ticket-chat-area { display: flex; flex-direction: column; }
.bbp-chat-new-box { padding: 26px; }
.bbp-chat-new-box h3 { margin: 0 0 6px; }

.bbp-chat-thread-box { display: flex; flex-direction: column; height: 100%; min-height: 520px; }
.bbp-chat-header {
    padding: 14px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center;
}
.bbp-chat-header h4 { margin: 0 0 2px; font-size: 15px; }
.bbp-chat-header span { font-size: 12px; color: #64748b; }

.bbp-chat-messages {
    flex: 1; padding: 20px; background: #f1f5f9; overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px; max-height: 380px;
}
.bbp-msg-bubble {
    max-width: 78%; padding: 11px 15px; border-radius: 16px; font-size: 13.5px; line-height: 1.6; position: relative;
}
.bbp-msg-user {
    align-self: flex-start; background: #2563eb; color: #fff; border-bottom-right-radius: 4px;
}
.bbp-msg-admin {
    align-self: flex-end; background: #ffffff; color: #1e293b; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px;
}
.bbp-msg-meta { display: block; font-size: 10.5px; opacity: 0.75; margin-top: 5px; }

.bbp-chat-input-bar {
    padding: 12px 16px; border-top: 1px solid #e2e8f0; display: flex; gap: 10px; background: #fff;
}
.bbp-chat-input-bar input {
    flex: 1; border: 1px solid #cbd5e1; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; outline: none;
}
.bbp-chat-send-btn {
    width: 44px; height: 44px; border-radius: 12px; background: #2563eb; color: #fff; border: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* فیلدها، راهنما و پاپ آپ */
.bbp-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bbp-field { margin-bottom: 16px; }
.bbp-field label { display: block; font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 7px; }
.bbp-field input[type="text"],
.bbp-field input[type="tel"],
.bbp-field input[type="email"],
.bbp-field input[type="url"],
.bbp-field input[type="password"],
.bbp-field select,
.bbp-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13.5px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s;
    outline: none;
}
.bbp-field input:focus, .bbp-field select:focus, .bbp-field textarea:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.bbp-field-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 7px 12px;
    border-radius: 8px;
}

.bbp-field-guide-box {
    margin-top: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.bbp-field-guide-box p { margin: 0; font-size: 12px; color: #1e40af; line-height: 1.5; flex: 1; }
.bbp-neshan-link {
    background: #2563eb; color: #fff; text-decoration: none; font-size: 11.5px;
    font-weight: 700; padding: 6px 12px; border-radius: 8px; white-space: nowrap;
}

.bbp-info-callout { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; }
.bbp-info-callout strong { display: block; font-size: 13.5px; margin-bottom: 4px; }
.bbp-info-callout p { margin: 0; font-size: 12.5px; line-height: 1.6; }
.callout-blue { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.callout-gold { background: #fffbeb; border-color: #fde68a; color: #92400e; }

.bbp-contact-strip { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bbp-c-btn { padding: 8px 14px; border-radius: 9px; color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.c-phone { background: #334155; }
.c-tg { background: #0088cc; }
.c-wa { background: #25d366; }

/* کادر انتخاب تصویر خط چین 2 پیکسلی خاکستری */
.bbp-dashed-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
}
.bbp-dashed-upload:hover { border-color: #2563eb; background: #eff6ff; color: #1d4ed8; }
.bbp-dashed-upload.has-file { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.bbp-dashed-upload input[type="file"] { display: none; }
.bbp-upload-title { font-size: 13px; font-weight: 700; }
.bbp-upload-filename { font-size: 11.5px; color: #64748b; }

/* ردیف آپلود آواتار در ویرایش پروفایل */
.bbp-avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.bbp-current-avatar-preview img {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid #dbeafe;
}

/* پاپ آپ */
.bbp-modal {
    display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px); z-index: 99999; align-items: center; justify-content: center; padding: 14px;
}
.bbp-modal.open { display: flex; }
.bbp-modal-dialog {
    background: #fff; width: 100%; max-width: 620px; border-radius: 20px; padding: 24px;
    max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.bbp-modal-head {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; margin-bottom: 18px;
}
.bbp-modal-head h3 { margin: 0; font-size: 17px; font-weight: 800; }
.bbp-modal-close { background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; }

/* استپر ۴ مرحله ای */
.bbp-stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.bbp-step-dot {
    background: #f1f5f9; color: #64748b; padding: 8px 6px; border-radius: 10px;
    font-size: 12px; font-weight: 700; text-align: center;
}
.bbp-step-dot span {
    display: inline-block; width: 18px; height: 18px; line-height: 18px; border-radius: 50%;
    background: #cbd5e1; color: #fff; font-size: 11px; margin-left: 4px;
}
.bbp-step-dot.active { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.bbp-step-dot.active span { background: #2563eb; }

.bbp-step-panel { display: none; }
.bbp-step-panel.active { display: block; animation: bbpFade 0.2s ease; }
.bbp-step-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 14px; border-top: 1px solid #f1f5f9; }

.bbp-plan-radio {
    display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1.5px solid #e2e8f0;
    border-radius: 12px; margin-bottom: 10px; cursor: pointer;
}
.bbp-plan-radio strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.bbp-plan-radio span { font-size: 12px; color: #64748b; }
.bbp-plan-radio.radio-vip { border-color: #2563eb; background: #eff6ff; }

/* کارت خالی و علاقه مندی ها */
.bbp-empty-card {
    background: #fff; border: 1px solid #eef2f6; border-radius: 18px; padding: 45px 20px; text-align: center;
}
.bbp-empty-icon {
    width: 64px; height: 64px; border-radius: 18px; background: #eff6ff; color: #2563eb;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.bbp-bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bbp-bm-item { background: #fff; border: 1px solid #eef2f6; border-radius: 14px; overflow: hidden; }
.bbp-bm-thumb img { width: 100%; height: 135px; object-fit: cover; display: block; }
.bbp-bm-body { padding: 14px; text-align: center; }
.bbp-bm-body h4 { margin: 0 0 10px; font-size: 14.5px; }
.bbp-bm-body h4 a { color: #0f172a; text-decoration: none; }
.bbp-btn-text-danger { background: #fef2f2; color: #dc2626; border: none; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; }

/* نظرات و پاسخ مالک */
.bbp-review-box { padding: 14px; border: 1px solid #eef2f6; border-radius: 12px; margin-bottom: 12px; }
.bbp-rev-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; }
.bbp-inline-reply-form { display: flex; gap: 8px; margin-top: 10px; }
.bbp-inline-reply-form input {
    flex: 1; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 9px; font-size: 13px; outline: none;
}
.bbp-reply-status-box {
    padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-top: 8px; border-right: 3px solid;
}
.rep-pending  { background: #fffbeb; border-color: #f59e0b; color: #78350f; }
.rep-approved { background: #f0fdf4; border-color: #16a34a; color: #14532d; }
.rep-rejected { background: #fef2f2; border-color: #dc2626; color: #7f1d1d; }

/* ویرایشگر منوی دیجیتال با آپلود تصویر و آیکون */
.bbp-dm-head {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #eef2f6;
}
.bbp-dm-head h3 { margin: 0 0 4px; font-size: 16px; }
.bbp-dm-prefix-box {
    display: flex; align-items: center; gap: 8px; background: #f8fafc;
    padding: 8px 12px; border-radius: 10px; border: 1px solid #e2e8f0;
}
.bbp-dm-prefix-box label { font-size: 12px; font-weight: 700; white-space: nowrap; }
.bbp-dm-prefix-input { border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 10px; font-size: 12.5px; width: 140px; }

.bbp-dm-cat-box {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; margin-bottom: 14px;
}
.bbp-dm-cat-top {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0;
}
.bbp-dm-cat-name {
    flex: 1; min-width: 190px; padding: 9px 12px; border: 1.5px solid #cbd5e1;
    border-radius: 10px; font-weight: 700; font-size: 13.5px; background: #fff;
}
.bbp-dm-media-picker {
    width: 44px; height: 44px; border-radius: 10px; border: 1.5px dashed #94a3b8;
    background: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; overflow: hidden; flex-shrink: 0; font-size: 11px; font-weight: 700; color: #475569;
}
.bbp-dm-media-picker:hover { border-color: #2563eb; color: #2563eb; }
.bbp-dm-media-picker input { display: none; }
.bbp-dm-media-picker img { width: 100%; height: 100%; object-fit: cover; }

.bbp-dm-item-row {
    display: grid; grid-template-columns: 44px 1.2fr 0.8fr 1.4fr 38px; gap: 8px; margin-bottom: 8px; align-items: center;
}
.bbp-dm-item-row input[type="text"] { padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 9px; font-size: 13px; background: #fff; }
.bbp-del-row { background: #fee2e2; color: #dc2626; border: none; width: 38px; height: 38px; border-radius: 9px; font-size: 18px; cursor: pointer; }
.bbp-form-actions-row { display: flex; gap: 10px; margin-top: 14px; }

/* دکمه علاقه مندی در صفحات سایت */
.bb-bookmark-toggle-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
    border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: #334155;
    cursor: pointer; font-weight: 600; font-size: 13.5px; transition: all 0.2s;
}
.bb-bookmark-toggle-btn.is-bookmarked { background: #eff6ff; border-color: #2563eb; color: #2563eb; }

/* اعلان شناور پایین صفحه (Toast) */
.bbp-toast-container {
    position: fixed;
    bottom: 82px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 92%;
    max-width: 420px;
    pointer-events: none;
}
.bbp-toast {
    background: #0f172a;
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bbpToastUp 0.3s ease;
    border-right: 4px solid #22c55e;
}
.bbp-toast.toast-error { border-right-color: #ef4444; }
@keyframes bbpToastUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* باتم بار موبایل (آبی سازمانی) */
.bbp-bottom-bar { display: none; }

@media (max-width: 1024px) {
    .bbp-hero-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .bbp-sidebar {
        position: fixed; top: 0; right: 0; bottom: 0;
        transform: translateX(100%);
        box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    }
    .bbp-sidebar.open { transform: translateX(0); }
    .bbp-mobile-close, .bbp-hamburger { display: inline-flex; }
    .bbp-overlay.open { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); z-index: 990; }

    .bbp-topbar { padding: 12px 16px; }
    .bbp-hide-sm { display: none; }
    .bbp-content { padding: 18px 16px 90px; }
    .bbp-hero-stats-grid { grid-template-columns: 1fr; }
    .bbp-field-grid { grid-template-columns: 1fr; }
    .bbp-ticket-layout { grid-template-columns: 1fr; }
    .bbp-stepper { grid-template-columns: repeat(2, 1fr); }
    .bbp-dm-item-row { grid-template-columns: 44px 1fr; background: #fff; padding: 10px; border-radius: 10px; border: 1px solid #e2e8f0; }

    .bbp-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 66px;
        background: #ffffff;
        border-top: 1px solid #e5e9f0;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
        z-index: 950;
        padding: 0 6px;
    }
    .bbp-bbar-item {
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        flex: 1;
    }
    .bbp-bbar-item.active {
        color: #2563eb;
    }
    .bbp-bbar-center-btn {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: #ffffff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -22px;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
        cursor: pointer;
        flex-shrink: 0;
    }
}

/* بنر پروموت عضویت ویژه در داشبورد */
.bbp-vip-promo-banner {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 60%, #1d4ed8 100%);
    border-radius: 22px;
    padding: 24px 28px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.22);
}
.bbp-vpb-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.bbp-vpb-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 700;
}
.pill-gold { background: rgba(250, 204, 21, 0.18); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.35); }
.pill-glass { background: rgba(255, 255, 255, 0.14); color: #e2e8f0; }
.bbp-vpb-plus { font-weight: 800; color: #93c5fd; }
.bbp-vpb-right h2 { margin: 0 0 18px; font-size: 24px; font-weight: 800; color: #fff; }
.bbp-vpb-right h2 span { color: #facc15; }
.bbp-vpb-cta-btn {
    background: #facc15; color: #0f172a; border: none; padding: 11px 22px; border-radius: 12px;
    font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.bbp-vpb-left { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.bbp-vpb-mockup-card {
    background: #fff; color: #0f172a; border-radius: 16px; padding: 14px 16px; width: 250px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.bbp-vpb-mc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.bbp-vpb-mc-head strong { font-size: 14px; }
.bbp-vpb-verified {
    width: 18px; height: 18px; border-radius: 50%; background: #2563eb; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.bbp-vpb-mockup-card p { margin: 0 0 6px; font-size: 11px; color: #64748b; }
.bbp-vpb-mc-meta { font-size: 11px; color: #475569; margin-bottom: 10px; display: flex; gap: 8px; }
.mc-open { color: #16a34a; font-weight: 700; }
.bbp-vpb-mc-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.bbp-vpb-mc-thumbs div {
    height: 44px; border-radius: 8px; background: #eff6ff; color: #2563eb;
    display: flex; align-items: center; justify-content: center;
}
.bbp-vpb-mc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11px; font-weight: 700; text-align: center; }
.mc-btn-solid { background: #1e3a8a; color: #fff; padding: 5px; border-radius: 7px; }
.mc-btn-out { border: 1px solid #cbd5e1; color: #334155; padding: 5px; border-radius: 7px; }
.bbp-vpb-stat-circle {
    width: 68px; height: 68px; border-radius: 50%; background: #facc15; color: #0f172a;
    border: 2px dashed #0f172a; display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin-right: -16px; z-index: 2; box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.bbp-vpb-stat-circle strong { font-size: 16px; font-weight: 900; line-height: 1.1; }
.bbp-vpb-stat-circle span { font-size: 10px; font-weight: 700; }

/* دسترسی سریع آیکونی در داشبورد */
.bbp-quick-grid-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.bbp-qgi-item {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer; position: relative; transition: all 0.2s; color: #1e293b;
}
.bbp-qgi-item:hover {
    border-color: #2563eb; background: #f8fafc; transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}
.bbp-qgi-icon {
    width: 48px; height: 48px; border-radius: 14px; background: #eff6ff; color: #2563eb;
    display: flex; align-items: center; justify-content: center;
}
.bbp-qgi-icon.icon-solid { background: #1e3a8a; color: #fff; }
.bbp-qgi-item span { font-size: 13px; font-weight: 700; }
.bbp-qgi-badge {
    position: absolute; top: 10px; left: 10px; background: #facc15; color: #0f172a;
    font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 10px;
}

/* بخش افزایش نظرات و جمع آوری دیدگاه */
.bbp-br-top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bbp-rules-status-btn {
    background: #fff; border: 1px solid #cbd5e1; border-radius: 11px; padding: 8px 14px;
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
    color: #1e3a8a; cursor: pointer;
}
.bbp-rule-pill { font-style: normal; font-size: 11px; padding: 2px 9px; border-radius: 20px; }
.bbp-rule-pill.is-accepted { background: #dcfce7; color: #15803d; }
.bbp-rule-pill.is-pending  { background: #fef3c7; color: #b45309; }

.bbp-br-hero-box {
    background: #eff6ff; border: 1px solid #dbeafe; border-radius: 20px;
    padding: 32px 24px; text-align: center; margin-bottom: 20px;
}
.bbp-br-hero-box h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: #0f172a; }
.bbp-br-hero-box p { margin: 0 auto 24px; max-width: 620px; font-size: 13.5px; color: #475569; line-height: 1.7; }

.bbp-br-benefits-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 820px; margin: 0 auto 24px;
}
.bbp-br-benefit-card {
    background: #fff; border-radius: 14px; padding: 18px 14px; border: 1px solid #e2e8f0;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.bbp-br-bicon { color: #1e3a8a; margin-bottom: 2px; }
.bbp-br-benefit-card strong { font-size: 14.5px; color: #1e3a8a; }
.bbp-br-benefit-card span { font-size: 12px; color: #64748b; }

.bbp-br-tips-list { margin: 0; padding-right: 18px; color: #475569; font-size: 13.5px; line-height: 2; }

/* پاپ آپ جمع آوری دیدگاه */
.bbp-collect-sub { margin: 0 0 14px; font-size: 13px; color: #64748b; }
.bbp-collect-tabs {
    display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e2e8f0; margin-bottom: 16px;
}
.bbp-ctab {
    background: none; border: none; border-bottom: 2.5px solid transparent; padding: 11px 8px;
    display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px;
    font-weight: 700; color: #64748b; cursor: pointer;
}
.bbp-ctab.active { color: #1e3a8a; border-bottom-color: #1e3a8a; }
.bbp-ctab-pane { display: none; }
.bbp-ctab-pane.active { display: block; }
.bbp-ctab-hint { font-size: 12.5px; color: #475569; margin: 0 0 10px; }

.bbp-default-msg-box {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px;
}
.bbp-default-msg-box textarea {
    width: 100%; border: none; background: transparent; font-size: 13.5px; line-height: 1.7;
    color: #1e293b; resize: none; outline: none;
}
.bbp-copy-pill-btn {
    background: #eff6ff; color: #1e3a8a; border: none; border-radius: 9px; padding: 7px 14px;
    font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}

.bbp-share-btns-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.bbp-share-btn {
    padding: 12px; border-radius: 12px; color: #fff !important; text-decoration: none;
    font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sh-wa { background: #22c55e; }
.sh-tg { background: #0ea5e9; }

.bbp-share-native-btn {
    width: 100%; background: #f1f5f9; border: none; border-radius: 12px; padding: 11px;
    font-size: 13px; font-weight: 700; color: #334155; display: flex; align-items: center;
    justify-content: center; gap: 8px; cursor: pointer;
}

.bbp-divider-label {
    text-align: center; position: relative; margin: 18px 0 12px;
}
.bbp-divider-label::before {
    content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #e2e8f0;
}
.bbp-divider-label span {
    position: relative; background: #fff; padding: 0 12px; font-size: 11.5px; color: #94a3b8;
}

.bbp-bio-link-box {
    display: flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 6px 8px;
}
.bbp-bio-link-box input {
    flex: 1; border: none; background: transparent; font-size: 12.5px; color: #334155; outline: none;
}

/* پاپ آپ قوانین دیدگاه ها */
.bbp-rules-dialog { max-width: 560px; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.bbp-rules-dialog .bbp-modal-head { padding: 16px 20px; margin: 0; }
.bbp-rules-scroll-body { padding: 18px 20px; overflow-y: auto; max-height: 68vh; display: flex; flex-direction: column; gap: 18px; }
.bbp-rule-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bbp-rule-sec-head h4 { margin: 0; font-size: 14.5px; font-weight: 800; }
.bbp-rule-ico {
    width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ico-blue { background: #dbeafe; color: #2563eb; }
.ico-red { background: #fee2e2; color: #dc2626; }
.ico-amber { background: #fef3c7; color: #d97706; }
.ico-purple { background: #f3e8ff; color: #9333ea; }
.ico-green { background: #dcfce7; color: #16a34a; }

.bbp-rule-card { border-radius: 12px; padding: 12px 14px; border: 1px solid; font-size: 12.5px; line-height: 1.8; }
.bbp-rule-card p { margin: 0 0 6px; }
.bbp-rule-card p:last-child { margin: 0; }
.bbp-rule-card ul { margin: 4px 0 0; padding-right: 18px; }
.card-neutral { background: #f8fafc; border-color: #e2e8f0; color: #334155; }
.card-red { background: #fef2f2; border-color: #fecaca; color: #334155; }
.card-green { background: #f0fdf4; border-color: #bbf7d0; color: #334155; }
.title-red { color: #b91c1c; display: block; font-size: 12px; }
.title-green { color: #15803d; display: block; font-size: 12px; }

.bbp-penalty-box {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
    font-size: 12px; margin-bottom: 7px;
}
.bbp-penalty-box span {
    width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 800; flex-shrink: 0;
}
.pen-1 { background: #fffbeb; color: #78350f; }
.pen-1 span { background: #fde68a; color: #b45309; }
.pen-2 { background: #fff7ed; color: #7c2d12; }
.pen-2 span { background: #fed7aa; color: #c2410c; }
.pen-3 { background: #fef2f2; color: #7f1d1d; }
.pen-3 span { background: #fecaca; color: #b91c1c; }

.bbp-rules-footer {
    padding: 12px 20px; border-top: 1px solid #e2e8f0; background: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.bbp-rf-note { font-size: 11.5px; color: #64748b; }

@media (max-width: 820px) {
    .bbp-vip-promo-banner { flex-direction: column; text-align: center; padding: 20px; }
    .bbp-vpb-pills { justify-content: center; }
    .bbp-quick-grid-icons { grid-template-columns: repeat(2, 1fr); }
    .bbp-br-benefits-grid { grid-template-columns: 1fr; }
}