/**
 * UI Components — Contract Box Realty
 * DataTable, FormModal, badges, phase progress, empty states, pagination.
 */

/* ── Sub-tab navigation (used by Documentation and future sub-tabbed modules) */
.sub-tab-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid var(--border);
    padding-bottom: 4px;
}
.sub-tab-btn {
    padding: 7px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 150ms ease;
    min-height: 34px;
    flex-shrink: 0;
}
.sub-tab-btn:hover  { border-color: var(--accent); color: var(--accent); }
.sub-tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.sub-tab-btn:focus  { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── DataTable ────────────────────────────────────────────────────────────── */
.data-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    background: var(--bg-card);
}

.data-table thead tr {
    background: var(--bg-stripe);
    border-bottom: 2px solid var(--border);
}

.data-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    white-space: nowrap;
    user-select: none;
}

.data-table th.sortable { cursor: pointer; }
.data-table th.sortable:hover { color: var(--text-primary); }

.sort-icon {
    display: inline-block;
    margin-left: 4px;
    font-size: .7rem;
    opacity: .6;
}

.data-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background var(--t-fast);
}

.data-table tbody tr:hover {
    background: var(--bg-hover);
}

.data-table tbody tr.clickable {
    cursor: pointer;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Action buttons in table rows */
.row-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.btn-row {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    transition: background var(--t-fast), color var(--t-fast);
}
.btn-row:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn-row.edit:hover { color: var(--primary); }
.btn-row.delete:hover { background: var(--error-bg); color: var(--error-text); }

/* Table footer: info + pagination */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    flex-wrap: wrap;
    gap: 8px;
}

.table-info {
    font-size: .8rem;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 3px;
}

.btn-page {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .8rem;
    cursor: pointer;
    transition: background var(--t-fast);
}
.btn-page:hover { background: var(--bg-hover); }
.btn-page.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-page:disabled { opacity: .4; cursor: not-allowed; }

.page-ellipsis { padding: 0 4px; color: var(--text-muted); font-size: .8rem; }

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-card);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: .5;
}

.empty-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.empty-desc {
    font-size: .875rem;
    color: var(--text-muted);
}

/* Table loading state */
.table-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 10px;
    font-size: .875rem;
    color: var(--text-muted);
    background: var(--bg-card);
}

.table-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ── FormModal ────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.15s ease;
}

.modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.15s ease;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    transition: background var(--t-fast);
    line-height: 1;
}
.modal-close-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* Modal save / cancel buttons */
.btn-modal-cancel {
    height: 38px;
    padding: 0 18px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--t-fast);
}
.btn-modal-cancel:hover { background: var(--bg-hover); }

.btn-modal-save {
    height: 38px;
    padding: 0 22px;
    border-radius: var(--radius);
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--t-fast);
}
.btn-modal-save:hover { background: var(--primary-dark); }
.btn-modal-save:disabled { opacity: .55; cursor: not-allowed; }

/* Modal form fields */
.modal-body .form-group { margin-bottom: 16px; }
.modal-body .form-group:last-child { margin-bottom: 0; }

.modal-body label {
    display: block;
    font-size: .825rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.modal-body label .req { color: var(--error); margin-left: 2px; }

.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field-error-msg {
    font-size: .78rem;
    color: var(--error-text);
    margin-top: 4px;
    display: none;
}
.form-control.is-invalid + .field-error-msg { display: block; }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: .01em;
}

/* Listing status */
.badge-draft       { background: #eceff1; color: #546e7a; }
.badge-active      { background: #e8f5e9; color: #2e7d32; }
.badge-under-contract { background: #e3f2fd; color: #1565c0; }
.badge-closed      { background: #fff8e1; color: #f57f17; }
.badge-withdrawn   { background: var(--bg-hover); color: var(--text-muted); }
.badge-expired     { background: var(--bg-hover); color: var(--text-muted); }

/* Seller status */
.badge-pending     { background: #fff3e0; color: #e65100; }
.badge-inactive    { background: var(--bg-hover); color: var(--text-muted); }

/* Role badges */
.badge-it          { background: #f3e5f5; color: #4a148c; }
.badge-admin       { background: #fce4ec; color: #880e4f; }
.badge-manager     { background: #e8eaf6; color: #283593; }
.badge-staff       { background: #e0f7fa; color: #006064; }
.badge-readonly    { background: var(--bg-hover); color: var(--text-muted); }

/* Severity */
.badge-critical    { background: #fce4ec; color: #b71c1c; }
.badge-error       { background: #ffebee; color: #c62828; }
.badge-warning     { background: #fff3e0; color: #bf360c; }
.badge-info        { background: #e1f5fe; color: #01579b; }

@media (prefers-color-scheme: dark) {
    .badge-draft          { background: #1a2535; color: #78909c; }
    .badge-active         { background: #1a2e1a; color: #66bb6a; }
    .badge-under-contract { background: #102030; color: #4fc3f7; }
    .badge-closed         { background: #2e2a10; color: #ffd54f; }
    .badge-withdrawn,
    .badge-expired        { background: #1a2535; color: #4a5568; }
    .badge-pending        { background: #2e2010; color: #ffa726; }
    .badge-inactive       { background: #1a2535; color: #4a5568; }
    .badge-it             { background: #1e1030; color: #ce93d8; }
    .badge-admin          { background: #2e1020; color: #f48fb1; }
    .badge-manager        { background: #10102e; color: #9fa8da; }
    .badge-staff          { background: #102020; color: #4dd0e1; }
    .badge-readonly       { background: #1a2535; color: #4a5568; }
    .badge-critical       { background: #2e0a0a; color: #ef5350; }
    .badge-error          { background: #2e1a1a; color: #ef5350; }
    .badge-warning        { background: #2e2010; color: #ffa726; }
    .badge-info           { background: #102030; color: #4fc3f7; }
}

/* ── Phase Progress ───────────────────────────────────────────────────────── */
.phase-progress {
    display: flex;
    align-items: center;
    gap: 0;
}

.phase-step {
    display: flex;
    align-items: center;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.phase-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    flex-shrink: 0;
    transition: all var(--t-fast);
}

.phase-connector {
    width: 24px;
    height: 2px;
    background: var(--border);
}

.phase-step.done .phase-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.phase-step.active .phase-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}

.phase-step.done .phase-connector,
.phase-step.active .phase-connector {
    background: var(--primary);
}

/* Inline phase badge */
.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--info-bg);
    color: var(--info-text);
}

/* ── Listing Card ──────────────────────────────────────────────────────────── */
.listing-address {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.listing-city {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── Currency / Number formatting ────────────────────────────────────────── */
.currency {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* ── Confirm Dialog ───────────────────────────────────────────────────────── */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirm-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 380px;
    padding: 28px 24px 20px;
    text-align: center;
    animation: scaleIn 0.15s ease;
}

.confirm-icon { font-size: 2.5rem; margin-bottom: 12px; }
.confirm-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.confirm-msg { font-size: .875rem; color: var(--text-secondary); margin-bottom: 24px; }

.confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-confirm-cancel {
    flex: 1;
    height: 40px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: .9rem;
    cursor: pointer;
}
.btn-confirm-danger {
    flex: 1;
    height: 40px;
    border-radius: var(--radius);
    border: none;
    background: var(--error);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}

/* ── Section Card ─────────────────────────────────────────────────────────── */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

.section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-stripe);
}

.section-card-title {
    font-size: .875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-card-body {
    padding: 16px 18px;
}

/* ── Inline detail grid ────────────────────────────────────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-item label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.detail-item .detail-value {
    font-size: .9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ── Data Update Banner ────────────────────────────────────────────────────── */
.data-update-banner {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
    background: var(--accent, #2563eb);
    color: #fff;
    padding: 9px 16px;
    align-items: center;
    gap: 12px;
    font-size: .875rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.data-update-banner.visible { display: flex; }
.data-update-banner .banner-icon     { font-size: 1rem; flex-shrink: 0; }
.data-update-banner .banner-message  { flex: 1; font-weight: 500; }
.data-update-banner .banner-btn-refresh {
    padding: 5px 14px;
    border-radius: 6px;
    border: none;
    background: #fff;
    color: var(--accent, #2563eb);
    font-weight: 600;
    font-size: .8rem;
    cursor: pointer;
    white-space: nowrap;
}
.data-update-banner .banner-btn-refresh:hover { background: #e8f0fe; }
.data-update-banner .banner-btn-dismiss {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
}
.data-update-banner .banner-btn-dismiss:hover { color: #fff; }

/* ── Refresh Modal (house icon) ───────────────────────────────────────────── */
.refresh-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.refresh-modal {
    background: var(--card-bg, #1e2128);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 28px 24px;
    width: 300px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.refresh-modal-icon    { font-size: 44px; margin-bottom: 12px; }
.refresh-modal-title   { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.refresh-modal-desc    { font-size: .825rem; color: var(--text-muted); margin-bottom: 22px; line-height: 1.5; }
.refresh-modal-offline { padding: 10px 14px; border-radius: 8px; background: var(--bg-hover); color: var(--text-muted); font-size: .8rem; margin-bottom: 14px; }
.refresh-modal .btn-refresh-now {
    display: block; width: 100%;
    padding: 13px; border-radius: 8px; border: none;
    background: var(--accent, #2563eb); color: #fff;
    font-size: .95rem; font-weight: 600; cursor: pointer;
    margin-bottom: 10px;
}
.refresh-modal .btn-refresh-now:hover { opacity: .9; }
.refresh-modal .btn-refresh-cancel {
    display: block; width: 100%;
    padding: 11px; border-radius: 8px; border: none;
    background: var(--bg-hover); color: var(--text-muted);
    font-size: .9rem; cursor: pointer;
}
.refresh-modal .btn-refresh-cancel:hover { color: var(--text-primary); }

/* ── Design Review Card (Suzanne Q&A — admin only) ───────────────────────── */
.design-review-card {
    border: 2px solid #c9a84c;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 28px;
    max-width: 860px;
    box-shadow: 0 4px 20px rgba(201,168,76,0.15);
}

.design-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2440 100%);
    padding: 14px 18px;
    gap: 12px;
}

.design-review-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.design-review-badge {
    background: #c9a84c;
    color: #1a1a1a;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.design-review-title {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.design-review-toggle {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: rgba(255,255,255,0.8);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--t-fast);
}
.design-review-toggle:hover { background: rgba(255,255,255,0.2); }

.design-review-body {
    background: var(--bg-card);
    padding: 20px 20px 16px;
}

.design-review-intro {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.design-review-section-label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.design-review-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 8px;
    background: var(--bg-card);
    transition: all var(--t-fast);
}

.design-review-item.resolved {
    opacity: 0.45;
    background: var(--bg-stripe);
    border-color: var(--success);
}

.design-review-item-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #c9a84c;
    color: #1a1a1a;
    font-size: .78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.design-review-item.resolved .design-review-item-num {
    background: var(--success);
    color: #fff;
}

.design-review-item-body { flex: 1; min-width: 0; }

.design-review-item-q {
    font-size: .875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.design-review-item-detail {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 10px;
}

.design-review-answer {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-stripe);
    color: var(--text-primary);
    font-size: .82rem;
    font-family: var(--font-sans);
    resize: vertical;
    line-height: 1.5;
    transition: border-color var(--t-fast);
    box-sizing: border-box;
}
.design-review-answer:focus {
    outline: none;
    border-color: #c9a84c;
    background: var(--bg-card);
}
.design-review-answer::placeholder { color: var(--text-muted); }

.design-review-resolve {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: .9rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
    margin-top: 2px;
}
.design-review-resolve:hover {
    border-color: var(--success);
    color: var(--success);
    background: var(--success-bg);
}
.design-review-item.resolved .design-review-resolve {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}

.design-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.design-review-footer-note {
    font-size: .8rem;
    color: var(--text-muted);
    flex: 1;
    line-height: 1.5;
}

/* ── Settings Module ─────────────────────────────────────────────────────── */
.settings-section {
    margin-bottom: 8px;
}

.settings-section-title {
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.settings-section-desc {
    font-size: .825rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.settings-notif-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
}

.settings-notif-header {
    padding: 12px 16px;
    background: var(--bg-stripe);
    border-bottom: 1px solid var(--border);
}

.settings-notif-label {
    font-size: .875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.settings-notif-desc {
    font-size: .8rem;
    color: var(--text-muted);
}

.settings-notif-staff {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
}

.settings-notif-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast);
    background: var(--bg-card);
    min-width: 160px;
}

.settings-notif-check:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
}

.settings-notif-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.settings-notif-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.settings-notif-role {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 4px;
}

.settings-notif-empty {
    font-size: .85rem;
    color: var(--text-muted);
    padding: 4px 0;
}
