/* ── stastic_member.css ──────────────────────────────────────── */

/* ── Site footer ──────────────────────────────────────────────── */
.site-footer {
  margin-left: 4rem;
  background: #111827;
  padding: 1.5rem 2rem 1.25rem;
  margin-top: 2.5rem;
}
.site-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.25rem;
}
.site-footer-brand {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.site-footer-brand strong {
  font-size: 0.85rem; font-weight: 700; color: #fff;
}
.site-footer-brand span {
  font-size: 0.68rem; color: rgba(255,255,255,0.38);
}
.site-footer-copy {
  font-size: 0.68rem; color: rgba(255,255,255,0.3);
  text-align: center; line-height: 1.6;
}
.site-footer-copy em {
  display: block; font-style: normal; font-size: 0.63rem; margin-top: 0.15rem;
  color: rgba(255,255,255,0.2);
}
.site-footer-links {
  display: flex; align-items: center; gap: 1.25rem;
}
.site-footer-links a {
  color: rgba(255,255,255,0.35); text-decoration: none;
  font-size: 0.7rem; font-weight: 500;
  transition: color 0.12s;
}
.site-footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ── Tab bar ─────────────────────────────────────────────────── */
.sm-tab-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 0 1.5rem;
  overflow-x: auto;
}
.sm-tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sm-tab:hover { color: rgba(255,255,255,0.85); }
.sm-tab.active {
  color: #fff;
  border-bottom-color: #fbbf24;
}
.sm-tab.create-tab {
  color: #6ee7b7;
  margin-left: auto;
}
.sm-tab.create-tab:hover { color: #a7f3d0; }
.sm-tab.create-tab.active { border-bottom-color: #6ee7b7; }

/* ── Tab panes ───────────────────────────────────────────────── */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── KPI tiles (header) ──────────────────────────────────────── */
.sm-kpi-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.sm-kpi-tile {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 110px;
}
.sm-kpi-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55);
  display: block;
}
.sm-kpi-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  display: block;
}
.sm-kpi-value.accent { color: #fbbf24; }
.sm-kpi-value.green  { color: #6ee7b7; }
.sm-kpi-value.blue   { color: #93c5fd; }

/* ── Hero CTA buttons ────────────────────────────────────────── */
.sm-hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 12px rgba(37,211,102,0.4);
}
.sm-hero-cta-primary:hover { background: #1db954; transform: translateY(-1px); }

.sm-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.sm-hero-cta-secondary:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }

/* ── Header action buttons ───────────────────────────────────── */
.sm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
}
.sm-btn:hover { opacity: 0.88; }
.sm-btn:active { transform: scale(0.97); }
.sm-btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.sm-btn-primary {
  background: #0a2d42;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.sm-btn-emerald {
  background: #059669;
  color: #fff;
}
.sm-btn-danger {
  background: #be123c;
  color: #fff;
}

/* ── Dashboard layout ────────────────────────────────────────── */
.sm-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .sm-dashboard-grid { grid-template-columns: 1fr; }
}

/* ── Chart card ──────────────────────────────────────────────── */
.sm-chart-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(10,45,66,0.07);
  overflow: hidden;
}
.sm-chart-header {
  background: #0a2d42;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
}
.sm-chart-body {
  padding: 1rem;
  position: relative;
}

/* ── Members tab ─────────────────────────────────────────────── */
.sm-members-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.sm-search {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.85rem 0.55rem 2.25rem;
  font-size: 0.82rem;
  color: #1e293b;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.65rem center;
  transition: border-color 0.15s;
}
.sm-search:focus { border-color: #3b82f6; }

.sm-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.sm-member-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(10,45,66,0.06);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
}
.sm-member-card:hover {
  box-shadow: 0 4px 14px rgba(10,45,66,0.12);
  transform: translateY(-1px);
}
.sm-member-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2d42, #1a5f7a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
.sm-member-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}
.sm-member-joined {
  font-size: 0.68rem;
  color: #94a3b8;
}
.sm-member-note {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.4rem;
}

/* ── Asso member card ────────────────────────────────────────── */
.sm-asso-card {
  border-color: #bfdbfe;
  background: linear-gradient(160deg, #f0f9ff 0%, #fff 60%);
}
.sm-asso-avatar {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}
.sm-asso-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.sm-asso-card-info {
  flex: 1;
  min-width: 0;
}
.sm-asso-city {
  font-size: 0.72rem;
  color: #0369a1;
  margin-top: 0.15rem;
}
.sm-asso-job {
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}
.sm-asso-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.1rem;
}
.sm-asso-goal-badge {
  font-size: 0.64rem;
  font-weight: 600;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 99px;
  padding: 0.15rem 0.5rem;
}
.sm-asso-goal-more {
  background: #e2e8f0;
  color: #475569;
}
.sm-asso-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.2rem;
}
.sm-asso-paid-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  border-radius: 99px;
  padding: 0.18rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sm-asso-linkedin {
  color: #0a66c2;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}
.sm-asso-linkedin:hover { color: #0847a6; }

.sm-asso-goal-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #1e293b;
  cursor: pointer;
  line-height: 1.4;
}
.sm-asso-goal-check em {
  font-style: normal;
  color: #64748b;
  font-size: 0.73rem;
}

/* ── Surveys tab ─────────────────────────────────────────────── */
.sm-surveys-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.sm-survey-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(10,45,66,0.07);
  overflow: hidden;
}
.sm-survey-header {
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sm-survey-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
}
.sm-survey-title-fr {
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
}
.sm-survey-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.sm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.55rem;
  border-radius: 20px;
}
.sm-badge-open    { background: #d1fae5; color: #065f46; }
.sm-badge-closed  { background: #f1f5f9; color: #475569; }
.sm-badge-multi   { background: #dbeafe; color: #1d4ed8; }
.sm-badge-single  { background: #ede9fe; color: #5b21b6; }
.sm-badge-legacy  { background: #fef3c7; color: #92400e; }
.sm-badge-anon    { background: #f0fdf4; color: #15803d; }
.sm-badge-named   { background: #fef9c3; color: #713f12; }

/* ── Option bars ─────────────────────────────────────────────── */
.sm-options-list {
  padding: 0.75rem 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.sm-option-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sm-option-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.sm-option-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}
.sm-option-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a2d42;
  white-space: nowrap;
}
.sm-bar-track {
  height: 7px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}
.sm-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1a5f7a, #0a2d42);
  transition: width 0.35s ease;
  min-width: 2px;
}
.sm-bar-fill.color-1 { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.sm-bar-fill.color-2 { background: linear-gradient(90deg, #059669, #10b981); }
.sm-bar-fill.color-3 { background: linear-gradient(90deg, #d97706, #f59e0b); }
.sm-bar-fill.color-4 { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.sm-bar-fill.color-5 { background: linear-gradient(90deg, #be123c, #f43f5e); }
.sm-bar-fill.color-6 { background: linear-gradient(90deg, #0e7490, #22d3ee); }
.sm-bar-fill.color-7 { background: linear-gradient(90deg, #15803d, #4ade80); }
.sm-bar-fill.color-8 { background: linear-gradient(90deg, #b45309, #fbbf24); }
.sm-bar-fill.color-0 { background: linear-gradient(90deg, #1a5f7a, #38bdf8); }

.sm-option-voters {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

/* ── Survey card footer ──────────────────────────────────────── */
.sm-survey-footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
  flex-wrap: wrap;
}
.sm-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.85rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.sm-btn-sm:hover { background: #f1f5f9; color: #0a2d42; }
.sm-btn-sm.vote { background: #0a2d42; color: #fff; border-color: #0a2d42; }
.sm-btn-sm.vote:hover { background: #0f4060; }
.sm-btn-sm.danger:hover { background: #fff1f2; color: #be123c; border-color: #fecdd3; }

/* ── Create survey tab ───────────────────────────────────────── */
.sm-create-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem;
}
.sm-create-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(10,45,66,0.07);
  padding: 1.5rem;
}
.sm-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.sm-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.sm-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.sm-input:focus { border-color: #3b82f6; background: #fff; }
select.sm-input { cursor: pointer; }
.sm-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 520px) {
  .sm-input-grid { grid-template-columns: 1fr; }
}
.sm-option-builder {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.sm-option-row-build {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.sm-option-row-build input {
  flex: 1;
}
.sm-btn-remove {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 6px;
  padding: 0.38rem 0.6rem;
  font-size: 0.72rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.12s;
}
.sm-btn-remove:hover { background: #fee2e2; }

/* ── Vote modal ──────────────────────────────────────────────── */
.sm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.sm-modal-overlay.hidden { display: none; }
.sm-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: smModalIn 0.18s ease;
}
@keyframes smModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.sm-modal-header {
  background: linear-gradient(135deg, #0a2d42 0%, #0f4060 100%);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sm-modal-title { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em; }
.sm-modal-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.sm-modal-close:hover { background: rgba(255,255,255,0.25); }
.sm-modal-body { padding: 1.25rem; }
.sm-modal-footer {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.sm-vote-options {
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.sm-vote-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  font-size: 0.82rem;
  color: #1e293b;
}
.sm-vote-option:hover { border-color: #3b82f6; background: #eff6ff; }
.sm-vote-option input[type="checkbox"],
.sm-vote-option input[type="radio"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #0a2d42;
}

/* ── Toast ───────────────────────────────────────────────────── */
.sm-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #1e293b;
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 300;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.sm-toast.show { opacity: 1; transform: translateY(0); }

/* ── Empty state ─────────────────────────────────────────────── */
.sm-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #94a3b8;
}
.sm-empty i { font-size: 2.5rem; opacity: 0.3; margin-bottom: 0.75rem; display: block; }
.sm-empty h3 { font-size: 1rem; color: #64748b; margin-bottom: 0.35rem; }
.sm-empty p  { font-size: 0.82rem; }

/* ── Group About card ────────────────────────────────────────── */
.sm-about-wrap {
  max-width: 1280px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}
.sm-about-card {
  display: flex;
  gap: 2rem;
  background: linear-gradient(135deg, #0a2d42 0%, #0f3d5c 60%, #1a5276 100%);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  color: #fff;
  box-shadow: 0 4px 24px rgba(10,45,66,0.18);
  flex-wrap: wrap;
}

/* Left: identity */
.sm-about-identity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 220px;
  flex: 0 0 260px;
}
.sm-about-avatar {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-about-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}
.sm-about-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.55rem;
}
.sm-about-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.sm-about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sm-about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Divider between left and right */
.sm-about-identity + .sm-about-right {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 2rem;
}

/* Right: goals + who can join */
.sm-about-right {
  flex: 1;
  min-width: 260px;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sm-about-section {
  flex: 1;
  min-width: 200px;
}
.sm-about-section-title {
  font-size: 0.73rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sm-about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sm-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.sm-about-list li i {
  color: #6ee7b7;
  font-size: 0.7rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.sm-about-list li i.fa-angle-right {
  color: rgba(255,255,255,0.4);
}
.sm-about-welcome {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6ee7b7;
}
.sm-about-whatsapp {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.sm-about-whatsapp i { color: #25d366; margin-right: 0.3rem; }
.sm-about-whatsapp a {
  color: #86efac;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sm-about-whatsapp a:hover { color: #fff; }

/* ── Survey info banner ──────────────────────────────────────── */
.sm-survey-banner-wrap {
  max-width: 1280px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}
.sm-survey-banner {
  background: linear-gradient(135deg, #0a2d42 0%, #0f3d5c 60%, #1a5276 100%);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 24px rgba(10,45,66,0.18);
}
.sm-survey-banner-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.sm-survey-banner-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}
.sm-survey-banner-title i { color: #6ee7b7; }
.sm-survey-banner-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.sm-survey-banner-desc { display: none; }
.sm-survey-banner-rules {
  display: flex;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.85rem;
}
.sm-survey-rule {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  flex: 1;
  min-width: 220px;
}
.sm-survey-rule > i {
  font-size: 0.85rem;
  color: #6ee7b7;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.sm-survey-rule > div {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
.sm-survey-rule > div strong {
  color: #fff;
  font-size: 0.77rem;
  display: block;
  margin-bottom: 0.15rem;
}

@media (max-width: 700px) {
  .sm-survey-banner { padding: 1rem 1rem; }
  .sm-survey-rule { min-width: 100%; }
}

@media (max-width: 700px) {
  .sm-about-card { padding: 1.25rem; gap: 1.25rem; }
  .sm-about-identity { flex: 1 1 100%; }
  .sm-about-identity + .sm-about-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); padding-left: 0; padding-top: 1rem; }
}

/* ── Announcements block (dashboard) ────────────────────────── */
.sm-annc-wrap {
  max-width: 1280px;
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
}
.sm-annc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #0a2d42 0%, #0f4060 100%);
  border-radius: 14px 14px 0 0;
  padding: 0.85rem 1.25rem;
  flex-wrap: wrap;
}
.sm-annc-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sm-annc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(251,191,36,0.2);
  border: 1px solid rgba(251,191,36,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1rem;
  flex-shrink: 0;
}
.sm-annc-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.sm-annc-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.1rem;
}
.sm-annc-list {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}
.sm-annc-empty {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #94a3b8;
  font-size: 0.82rem;
}
.sm-annc-empty i { display: block; font-size: 1.8rem; opacity: 0.25; margin-bottom: 0.5rem; }

/* ── Announcement card ───────────────────────────────────────── */
.sm-annc-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s;
}
.sm-annc-card:last-child { border-bottom: none; }
.sm-annc-card:hover { background: #f8fafc; }

.sm-annc-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  background: #0a2d42;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  min-width: 52px;
  text-align: center;
  color: #fff;
}
.sm-annc-day   { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.sm-annc-month { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; margin-top: 0.1rem; }
.sm-annc-time-badge {
  margin-top: 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: #fbbf24;
  white-space: nowrap;
}

.sm-annc-body { flex: 1; min-width: 0; }
.sm-annc-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.sm-annc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.sm-annc-type-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  background: #fef3c7;
  color: #92400e;
}
.sm-annc-host-tag {
  font-size: 0.72rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.sm-annc-card-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.sm-annc-meet-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
  text-decoration: none;
  transition: background 0.12s;
}
.sm-annc-meet-btn:hover { background: #dcfce7; }

.sm-annc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-shrink: 0;
}
.sm-annc-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s;
}
.sm-annc-edit-btn:hover { background: #f1f5f9; }

@media (max-width: 600px) {
  .sm-annc-card { flex-wrap: wrap; }
  .sm-annc-actions { flex-direction: row; }
}

/* ── Job sharing block (dashboard) ──────────────────────────── */
.sm-job-wrap {
  max-width: 1280px;
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
}
.sm-job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0a2d42 0%, #1a4a6e 100%);
  border-radius: 12px 12px 0 0;
  padding: 0.9rem 1.1rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sm-job-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sm-job-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1rem;
  flex-shrink: 0;
}
.sm-job-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.sm-job-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.1rem;
}
.sm-job-list {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem;
}
.sm-job-empty {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #94a3b8;
  font-size: 0.82rem;
  background: #fff;
  border-radius: 10px;
  border: 1px dashed #e2e8f0;
}
.sm-job-empty i { display: block; font-size: 1.8rem; opacity: 0.25; margin-bottom: 0.5rem; }

/* ── Job card ────────────────────────────────────────────────── */
.sm-job-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  align-items: flex-start;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.sm-job-card:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }

.sm-job-left { flex: 1; min-width: 0; }
.sm-job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.sm-job-contract-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  background: #dbeafe;
  color: #1e40af;
}
.sm-job-location-tag {
  font-size: 0.7rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.sm-job-poster-tag {
  font-size: 0.7rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}
.sm-job-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.sm-job-salary {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.sm-job-card-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.55;
  white-space: pre-line;
  word-break: break-word;
  margin-bottom: 0.35rem;
}
.sm-job-card-reqs {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.4rem;
  margin-top: 0.5rem;
}
.sm-job-card-reqs-label {
  font-weight: 700;
  color: #475569;
  font-size: 0.7rem;
  margin-bottom: 0.15rem;
}
.sm-job-card-reqs-body {
  white-space: pre-line;
  word-break: break-word;
}

/* ── Expand / collapse for long job text ─────────────────────── */
.sm-expandable-short,
.sm-expandable-full { white-space: pre-line; }
.sm-job-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.sm-job-expand-btn:hover { background: #e2e8f0; color: #334155; }
.sm-job-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s;
}
.sm-job-cv-btn:hover { background: #d1fae5; }

.sm-job-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}
.sm-job-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s;
}
.sm-job-edit-btn:hover { background: #f1f5f9; }

@media (max-width: 600px) {
  .sm-job-card { flex-wrap: wrap; }
  .sm-job-actions { flex-direction: row; }
}

/* ── Sharing tab ─────────────────────────────────────────────── */
.sm-sharing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.sm-sharing-toolbar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sm-sharing-toolbar-title i { color: #f59e0b; }
.sm-sharing-toolbar-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}
.sm-sharing-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  gap: 1.25rem;
}
.sm-sharing-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(10,45,66,0.07);
  overflow: hidden;
}
.sm-sharing-head {
  padding: 1rem 1.25rem 0.75rem;
}
.sm-sharing-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.sm-sharing-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0a2d42;
  background: #e0f2fe;
  border-radius: 6px;
  padding: 0.18rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.sm-sharing-host {
  font-size: 0.72rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.sm-sharing-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.5rem;
  border-radius: 20px;
  background: #fef3c7;
  color: #92400e;
}
.sm-sharing-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.sm-sharing-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 0.2rem;
}

/* ── Sharing card sections ───────────────────────────────────── */
.sm-sharing-section {
  border-top: 1px solid #f1f5f9;
  padding: 0.75rem 1.25rem;
}
.sm-sharing-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #94a3b8;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sm-sharing-doc-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sm-sharing-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s;
}
.sm-sharing-doc-btn:hover { background: #dbeafe; }
.sm-sharing-embed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.75rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: background 0.12s;
}
.sm-sharing-embed-toggle:hover { background: #f1f5f9; }
.sm-sharing-embed-frame {
  margin-top: 0.6rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.sm-sharing-embed-frame iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ── Notes editor ────────────────────────────────────────────── */
.sm-sharing-notes-input {
  width: 100%;
  min-height: 80px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: #1e293b;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.15s;
}
.sm-sharing-notes-input:focus { border-color: #3b82f6; background: #fff; }
.sm-sharing-notes-input::placeholder { color: #cbd5e1; }

/* ── Sharing card footer ─────────────────────────────────────── */
.sm-sharing-footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
  flex-wrap: wrap;
  align-items: center;
}
.sm-sharing-created {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-right: auto;
}

/* ── Section heading ─────────────────────────────────────────── */
.sm-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  margin-bottom: 0.6rem;
}
