.icon-lock-lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    color: #d97706;
    font-size: 24px;
}

.icon-lock-lg i {
    font-size: inherit;
}
.fa-membership-lock:before {
    content: "\f023";
}

.notice-icon{
    margin-left:8px;
    font-size:18px;
    color:#d97706;
    vertical-align:middle;
}
.user-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 12px;
}

.user-stat-icon i {
    font-style: normal;
}

.user-stat-card:nth-child(1) .user-stat-icon {
    background: #dbeafe;
    color: #2563eb;
}

.user-stat-card:nth-child(2) .user-stat-icon {
    background: #dcfce7;
    color: #16a34a;
}

.user-stat-card:nth-child(3) .user-stat-icon {
    background: #f3e8ff;
    color: #9333ea;
}
.fa-active-tender:before {
    content: "\e501";
}

.fa-my-bids:before {
    content: "\e502";
}

.fa-my-requests:before {
    content: "\e503";
}
/* ---------- صفحه ۴۰۴ ---------- */
.error-page-box {
    text-align: center;
    padding: 60px 20px;
}
.error-page-code {
    font-size: 64px;
    margin: 0;
    color: #cbd5e1;
}
.error-page-heading {
    margin-top: 0;
}
.error-page-text {
    color: #666;
}
.error-page-back-btn {
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    margin-top: 14px;
}

/* ---------- صفحه‌بندی عمومی سایت (index.php) ---------- */
.site-pagination {
    text-align: center;
    margin-top: 24px;
}
.pager-link {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}
.pager-link.current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* ---------- جعبه‌ی خطای عمومی/نیاز به عضویت (request_tender.php) ---------- */
.bid-box-narrow {
    max-width: 100%;
    margin: 20px auto 0;
    text-align: center;
}
.bid-box-full {
    max-width: 100%;
    margin: 20px auto 0;
}
.current-image-preview-sm {
    margin-top: 8px;
}
.current-image-preview-sm img {
    max-width: 140px;
    border-radius: 8px;
    display: block;
}
.form-actions-spaced {
    margin-top: 20px;
}

/* ---------- جزئیات مناقصه (tender.php) ---------- */
.no-image-muted {
    color: #94a3b8;
}
.contact-reveal-intro {
    margin: 0 0 8px;
    font-size: 14px;
    color: #444;
}
.contact-details-row {
    direction: ltr;
    display: inline-block;
}
.chat-jump-link {
    display: inline-block;
    margin-top: 10px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
}
.notice-mt-10 {
    margin-top: 10px;
}
.bid-submit-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
.form-actions-mt-16 {
    margin-top: 16px;
}

/* ---------- گفتگوی مناقصه (tender_chat.php) ---------- */
.chat-subheading {
    margin: 0 0 14px;
    font-size: 13px;
    color: #666;
}
.chat-subheading a {
    color: #2563eb;
    text-decoration: none;
}
.public-chat-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
    max-height: 480px;
    overflow-y: auto;
    padding: 4px;
}
.public-chat-bubble {
    max-width: 75%;
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    align-self: flex-end;
}
.public-chat-bubble.is-mine {
    align-self: flex-start;
    background: #eff6ff;
    border-color: #bfdbfe;
}
.public-chat-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
}
.public-chat-body {
    white-space: pre-wrap;
    font-size: 14px;
    color: #1f2937;
}

/* ---------- پیشخوان کاربر (dashboard.php کاربر) ---------- */
.heading-flush-top {
    margin-top: 0;
}
.user-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 24px;
}
.user-stat-card {
    align-items: center;
    text-align: center;
    padding: 20px;
}
.user-stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.2;
}

.user-stat-label {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}
.notice-warn-link {
    color: #92400e;
    font-weight: bold;
}
.dashboard-actions-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.dashboard-action-primary {
    background: #2563eb;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}
.dashboard-action-secondary {
    background: #dcfce7;
    color: #166534;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

/* ---------- یوتیلیتی‌های عمومی (هم‌راستا با admin-extra.css) ---------- */
.u-link {
    color: #2563eb;
    text-decoration: none;
}
.u-text-danger {
    color: #991b1b;
    font-size: 13px;
}
.u-mt-4 { margin-top: 4px; }
.u-mt-6 { margin-top: 6px; }
.u-mb-14 { margin-bottom: 14px; }

/* ---------- آیکن و تیتر کوچک (request_tender.php) ---------- */
.icon-lock-lg {
    font-size: 40px;
}
.heading-sm {
    font-size: 20px;
}

/* ---------- جعبه‌ی نمایش اطلاعات تماس (مخفی تا کلیک روی دکمه) ---------- */
.contact-details {
    display: none;
}
