/* ═══════════════════════════════════════════════
   DYNAMIC CHOIR WELFARE PORTAL — components.css
   Badges, Panels, Tables, Modals, Charts, etc.
═══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   BADGES / TAGS
══════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Status badges */
.badge-paid,
.badge-active,
.badge-success {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
}

.badge-pending,
.badge-warning {
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.25);
}

.badge-overdue,
.badge-error,
.badge-suspended {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.25);
}

.badge-waived,
.badge-inactive {
  background: rgba(107,114,128,0.12);
  color: #9ca3af;
  border: 1px solid rgba(107,114,128,0.2);
}

.badge-info,
.badge-blue {
  background: rgba(59,130,246,0.12);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.25);
}

.badge-orange {
  background: var(--orange-glow);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.3);
}

/* Role badges */
.badge-admin {
  background: rgba(249,115,22,0.15);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.3);
}
.badge-part-leader {
  background: rgba(245,158,11,0.12);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.3);
}
.badge-member {
  background: rgba(107,114,128,0.1);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Section tags */
.badge-soprano  { background: rgba(236,72,153,0.1); color: #f472b6; border: 1px solid rgba(236,72,153,0.2); }
.badge-alto     { background: rgba(139,92,246,0.1); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.badge-tenor    { background: rgba(59,130,246,0.1); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.badge-bass     { background: rgba(34,197,94,0.1);  color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.badge-events    { background: rgba(20,184,166,0.1); color: #2dd4bf; border: 1px solid rgba(20,184,166,0.2); }
.badge-technical { background: rgba(99,102,241,0.1); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2); }
/* Executive — a status badge, not a section badge */
.badge-executive { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.35); }

/* Member ID badge */
.member-id-badge {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  background: var(--surface-3);
  color: var(--amber);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* Streak fire badge */
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
}

/* ══════════════════════════════════════════════
   PANELS / CARDS
══════════════════════════════════════════════ */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.panel-actions { display: flex; gap: 8px; align-items: center; }

.panel-body {
  padding: 20px;
}

.panel-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-lg .panel-body { padding: 28px; }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Member card */
.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.member-card:hover {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-md);
}
.member-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.member-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.member-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.member-card-email {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}
.member-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

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

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

.data-table th.sortable {
  cursor: pointer;
  transition: color var(--transition);
}
.data-table th.sortable:hover { color: var(--text-muted); }
.data-table th.sort-asc::after  { content: ' ↑'; color: var(--orange); }
.data-table th.sort-desc::after { content: ' ↓'; color: var(--orange); }

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.025); }

.data-table td {
  padding: 12px 14px;
  color: var(--text-muted);
  vertical-align: middle;
}

.data-table td.td-name {
  color: var(--text);
  font-weight: 500;
}

.data-table td.td-currency {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--text);
}

/* Never use class="amount" — use td-currency */
/* .amount FORBIDDEN */

.data-table td.td-actions {
  white-space: nowrap;
}

.td-actions-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: between;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex: 1;
}

.pagination-controls {
  display: flex;
  gap: 4px;
}

.page-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn.active { background: var(--orange); border-color: var(--orange); color: white; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ══════════════════════════════════════════════
   FILTERS BAR
══════════════════════════════════════════════ */
.filters-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.filter-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px 8px 32px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}
.filter-search input:focus { border-color: var(--orange); }
.filter-search input::placeholder { color: var(--text-dim); }

.filter-select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 32px 8px 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.filter-select:focus { border-color: var(--orange); }
.filter-select option { background: var(--surface-2); }

/* ══════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(3px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInOverlay 0.15s ease;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalSlide 0.18s ease;
  overflow: hidden;
}
@keyframes modalSlide {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-box.modal-sm { max-width: 400px; }
.modal-box.modal-lg { max-width: 800px; }
.modal-box.modal-xl { max-width: 1000px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

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

.modal-close { margin-left: auto; }

/* ══════════════════════════════════════════════
   TOASTS
══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  width: 100%;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: toastIn 0.22s ease;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.toast.toast-out {
  animation: toastOut 0.22s ease forwards;
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(20px); }
}

.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-warning { border-left: 3px solid var(--amber); }
.toast-info    { border-left: 3px solid var(--blue); }

.toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; color: var(--text); font-size: 0.875rem; }
.toast-msg { font-size: 0.82rem; margin-top: 2px; }
.toast-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color var(--transition);
}
.toast-close:hover { color: var(--text); }

/* ══════════════════════════════════════════════
   CHARTS
══════════════════════════════════════════════ */
.chart-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.chart-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chart-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}
.chart-body {
  padding: 20px;
  position: relative;
}
.chart-canvas-wrap {
  position: relative;
  height: 240px;
}

/* Legend */
.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 20px 16px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   PROGRESS BARS
══════════════════════════════════════════════ */
.progress-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-bar-track {
  flex: 1;
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width var(--transition-slow);
}
.progress-bar-fill.green  { background: var(--green); }
.progress-bar-fill.red    { background: var(--red); }
.progress-bar-fill.amber  { background: var(--amber); }

.progress-bar-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 36px;
  text-align: right;
}

/* ══════════════════════════════════════════════
   TABS
══════════════════════════════════════════════ */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  gap: 0;
  overflow-x: auto;
}

.tab-item {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
}
.tab-item:hover { color: var(--text-muted); }
.tab-item.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ══════════════════════════════════════════════
   DETAIL ROWS (profile, view)
══════════════════════════════════════════════ */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  font-weight: 600;
}

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

.detail-value.mono {
  font-family: 'Courier New', monospace;
  color: var(--amber);
}

.detail-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ══════════════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════════════ */
.section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ══════════════════════════════════════════════
   ACTIVITY FEED
══════════════════════════════════════════════ */
.activity-feed { display: flex; flex-direction: column; gap: 0; }

.activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 6px;
}
.activity-dot.green  { background: var(--green); }
.activity-dot.red    { background: var(--red); }
.activity-dot.amber  { background: var(--amber); }

.activity-body { flex: 1; }
.activity-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.activity-text strong { color: var(--text); font-weight: 600; }
.activity-time {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   PAYMENT METHODS
══════════════════════════════════════════════ */
.method-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.method-cash        { background: rgba(34,197,94,0.1);  color: #4ade80; }
.method-mtn-momo    { background: rgba(255,203,2,0.12); color: #fbbf24; }
.method-vodafone    { background: rgba(239,68,68,0.1);  color: #f87171; }
.method-airtel      { background: rgba(239,68,68,0.1);  color: #f87171; }
.method-bank        { background: rgba(59,130,246,0.1); color: #93c5fd; }

/* ══════════════════════════════════════════════
   WELFARE FUND
══════════════════════════════════════════════ */
.fund-balance-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fund-balance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}
.fund-balance-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 8px;
}
.fund-balance-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
}
.fund-balance-currency {
  font-size: 1.2rem;
  color: var(--amber);
  margin-right: 4px;
}

/* ══════════════════════════════════════════════
   ANNOUNCEMENTS
══════════════════════════════════════════════ */
.announcement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  transition: border-color var(--transition);
  position: relative;
}
.announcement-card.pinned {
  border-color: rgba(249,115,22,0.3);
  background: rgba(249,115,22,0.03);
}
.announcement-card.pinned::before {
  content: '📌';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.9rem;
}
.announcement-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.announcement-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.announcement-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   PORTAL (member self-service)
══════════════════════════════════════════════ */
.portal-hero {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.portal-hero::after {
  content: '𝄞';
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 8rem;
  color: var(--orange);
  opacity: 0.04;
  font-family: serif;
  pointer-events: none;
}
.portal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 24px var(--orange-glow);
}
.portal-info h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.portal-info-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Payment history list in portal */
.payment-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.payment-history-item:last-child { border-bottom: none; }
.payment-history-period {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.payment-history-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   SETTINGS / AUDIT
══════════════════════════════════════════════ */
.audit-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.audit-item:last-child { border-bottom: none; }
.audit-icon {
  width: 32px;
  height: 32px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.audit-body { flex: 1; }
.audit-action {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.audit-action strong { color: var(--text); }
.audit-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   MISC UTILS
══════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.info-box {
  background: rgba(59,130,246,0.05);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #93c5fd;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.highlight-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
}

/* ══════════════════════════════════════════════
   SECTION QUOTA INDICATOR
══════════════════════════════════════════════ */
.section-quota {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-quota-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}
.section-quota-name {
  min-width: 80px;
  color: var(--text-muted);
  font-weight: 500;
}
.section-quota-bar { flex: 1; }

/* ══════════════════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .col-2, .col-3 { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; }
  .filter-search { max-width: 100%; }
  .modal-box { max-width: 100%; max-height: 95vh; }
  .portal-hero { flex-direction: column; text-align: center; }
  .portal-info-meta { justify-content: center; }
  .tab-bar { border-radius: var(--radius); }
}