/* ============================================================
   S.L.A.A. Speakers Bureau v2 — Front-end Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --sb-navy:    #1b2a49;
  --sb-purple:  #2e1a47;
  --sb-accent:  #4a6fa5;
  --sb-light:   #f4f6f9;
  --sb-border:  #d1d9e0;
  --sb-success: #2d7a3a;
  --sb-error:   #b00020;
  --sb-radius:  8px;
  --sb-shadow:  0 2px 8px rgba(0,0,0,0.08);
}

/* ── Filter Panel ─────────────────────────────────────────── */

#sb-filter-panel {
  background: var(--sb-light);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.sb-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.sb-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.sb-filter-group label strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sb-navy);
}

.sb-filter-search { flex: 1 1 220px; }
.sb-filter-topics { flex: 1 1 100%; }

#sb-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

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

.sb-range-row select,
#sb-experience-filter,
#sb-years-min,
#sb-years-max {
  padding: 6px 10px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  font-size: 0.9rem;
  background: #fff;
}

.sb-check-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.sb-check-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.sb-check-list--topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 20px;
}

.sb-filter-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

#sb-clear-filters {
  padding: 7px 16px;
  background: var(--sb-navy);
  color: #fff;
  border: none;
  border-radius: var(--sb-radius);
  font-size: 0.9rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
#sb-clear-filters:hover { background: var(--sb-purple); }

.sb-result-label {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

.sb-badge {
  display: inline-block;
  background: var(--sb-accent);
  color: #fff;
  border-radius: 12px;
  padding: 1px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── Speaker Grid ─────────────────────────────────────────── */

.sb-speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  font-family: 'Inter', sans-serif;
}

.sb-card {
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sb-shadow);
  transition: box-shadow 0.2s;
}
.sb-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.sb-card[data-hidden="true"] { display: none; }

.sb-card-header {
  background: var(--sb-navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--sb-radius) var(--sb-radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.sb-card-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.sb-pronouns {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
}

.sb-years-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: 600;
}

.sb-card-body {
  padding: 12px 16px;
  flex: 1;
}

.sb-card-body p {
  font-size: 0.875rem;
  margin: 3px 0;
  line-height: 1.4;
  color: #333;
}

.sb-bio {
  font-style: italic;
  color: #555 !important;
  margin-top: 8px !important;
  border-top: 1px solid var(--sb-border);
  padding-top: 8px !important;
}

.sb-updated {
  font-size: 0.78rem !important;
  color: #888 !important;
  margin-top: 10px !important;
}

.sb-profile-link {
  display: block;
  margin: 0 16px 16px;
  padding: 9px 14px;
  background: var(--sb-purple);
  color: #fff;
  text-align: center;
  border-radius: var(--sb-radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.sb-profile-link:hover { background: var(--sb-navy); color: #fff; }

/* ── Single Profile Page ─────────────────────────────────── */

.sb-profile {
  max-width: 820px;
  margin: auto;
  padding: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.sb-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.sb-profile-header h1 {
  font-size: 1.8rem;
  color: var(--sb-purple);
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.sb-years-badge--large {
  font-size: 0.85rem;
  padding: 4px 12px;
  background: var(--sb-accent);
  color: #fff;
  border-radius: 16px;
  font-weight: 600;
}

.sb-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 1.5rem;
}

.sb-profile-section {
  background: var(--sb-light);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  padding: 16px;
}

.sb-profile-section h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sb-navy);
}

.sb-profile-section h4 {
  margin: 12px 0 6px;
  font-size: 0.9rem;
  color: var(--sb-navy);
}

.sb-profile-section p { font-size: 0.9rem; margin: 4px 0; }
.sb-profile-section ul { padding-left: 1.2em; margin: 0; }
.sb-profile-section ul li { font-size: 0.9rem; margin-bottom: 3px; }

.sb-tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.sb-tag-list li {
  background: var(--sb-accent);
  color: #fff;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin: 0 !important;
}

.sb-bio-full { margin-top: 12px; font-size: 0.9rem; }

.sb-profile-contact-area { margin: 1.5rem 0; }

.sb-contact-btn {
  background: var(--sb-purple);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: var(--sb-radius);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: background 0.2s;
}
.sb-contact-btn:hover { background: var(--sb-navy); }

.sb-updated-profile {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-top: 2rem;
}

/* ── Contact / Application Forms ─────────────────────────── */

.sb-contact-form,
.sb-application-form,
.sb-update-wrap form {
  max-width: 640px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
}

.sb-contact-form label,
.sb-application-form label,
.sb-update-wrap label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  color: #333;
}

.sb-contact-form input,
.sb-contact-form textarea,
.sb-application-form input[type=text],
.sb-application-form input[type=email],
.sb-application-form input[type=date],
.sb-application-form input[type=number],
.sb-application-form select,
.sb-application-form textarea,
.sb-update-wrap input[type=text],
.sb-update-wrap input[type=date],
.sb-update-wrap select,
.sb-update-wrap textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
  box-sizing: border-box;
}

.sb-application-form fieldset,
.sb-update-wrap fieldset {
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-radius);
  padding: 14px 18px;
  margin-bottom: 16px;
}

.sb-application-form legend,
.sb-update-wrap legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sb-navy);
  padding: 0 6px;
}

.sb-application-form small,
.sb-update-wrap small {
  display: block;
  color: #666;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 400;
}

.req { color: var(--sb-error); }

.sb-submit-btn {
  background: var(--sb-purple);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: var(--sb-radius);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 16px;
  transition: background 0.2s;
}
.sb-submit-btn:hover { background: var(--sb-navy); }

.sb-success-msg {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: var(--sb-success);
  padding: 14px 18px;
  border-radius: var(--sb-radius);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.sb-error-msg {
  background: #fce4ec;
  border: 1px solid #f48fb1;
  color: var(--sb-error);
  padding: 12px 18px;
  border-radius: var(--sb-radius);
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

/* ── Admin Dashboard ─────────────────────────────────────── */

.sb-dashboard { font-family: 'Inter', sans-serif; max-width: 1100px; }

.sb-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.sb-stat-card {
  background: var(--sb-navy);
  color: #fff;
  border-radius: var(--sb-radius);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.sb-stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sb-dash-section { margin-bottom: 32px; }
.sb-dash-section h3 { font-size: 1.1rem; color: var(--sb-navy); border-bottom: 2px solid var(--sb-border); padding-bottom: 6px; }

.sb-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.sb-dash-table th {
  background: var(--sb-light);
  text-align: left;
  padding: 8px 12px;
  font-weight: 600;
  border-bottom: 2px solid var(--sb-border);
}

.sb-dash-table td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--sb-border);
  vertical-align: top;
}

.sb-dash-table tr:hover td { background: #f9fbfd; }

.sb-approve-link { color: var(--sb-success); font-weight: 600; text-decoration: none; }
.sb-reject-link  { color: var(--sb-error);   font-weight: 600; text-decoration: none; }

.sb-bulk-btn {
  padding: 6px 14px;
  border: none;
  border-radius: var(--sb-radius);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}
.sb-bulk-btn[data-action="approve"] { background: #2d7a3a; color: #fff; }
.sb-bulk-btn[data-action="reject"]  { background: #b00020; color: #fff; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 640px) {
  .sb-filter-row { flex-direction: column; }
  .sb-speaker-grid { grid-template-columns: 1fr; }
  .sb-profile-grid { grid-template-columns: 1fr; }
  .sb-profile-header { flex-direction: column; align-items: flex-start; }
  .sb-stats-row { grid-template-columns: repeat(2,1fr); }
  .sb-check-list--topics { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   MESSAGE COMPOSER MODAL
   ============================================================ */

.sb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(2px);
}

.sb-composer {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.sb-composer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sb-navy);
  color: #fff;
  padding: 14px 20px;
  flex-shrink: 0;
}

.sb-composer-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.sb-composer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.sb-composer-close:hover { opacity: 1; }

/* Recipients bar */
.sb-composer-recipients {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--sb-border);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.sb-recipients-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #555;
  padding-top: 4px;
  white-space: nowrap;
}

.sb-recipients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
  min-height: 28px;
}

.sb-recipient-tag {
  background: var(--sb-accent);
  color: #fff;
  border-radius: 14px;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sb-recipient-tag-remove {
  cursor: pointer;
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
}
.sb-recipient-tag-remove:hover { opacity: 1; }

.sb-recipients-empty {
  font-size: 0.85rem;
  color: #aaa;
  font-style: italic;
  padding-top: 4px;
}

/* Recipient picker */
.sb-recipient-picker {
  border-bottom: 1px solid var(--sb-border);
  flex-shrink: 0;
  max-height: 240px;
  display: flex;
  flex-direction: column;
}

.sb-picker-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--sb-border);
  flex-shrink: 0;
}

.sb-picker-toolbar input[type=text] {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
}

.sb-picker-list {
  overflow-y: auto;
  padding: 6px 8px;
  flex: 1;
}

.sb-picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 400;
}
.sb-picker-item:hover { background: var(--sb-light); }
.sb-picker-item--noemail { opacity: 0.45; cursor: not-allowed; }

.sb-picker-name { font-weight: 600; min-width: 120px; }
.sb-picker-loc  { color: #777; font-size: 0.82rem; flex: 1; }
.sb-picker-noemail { color: var(--sb-error); font-size: 0.75rem; margin-left: auto; }

.sb-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #f8f9fb;
  border-top: 1px solid var(--sb-border);
  flex-shrink: 0;
  font-size: 0.88rem;
  color: #555;
}

/* Subject row */
.sb-composer-subject-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--sb-border);
  flex-shrink: 0;
}

.sb-composer-subject {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  padding: 4px 0;
  color: #222;
}
.sb-composer-subject::placeholder { color: #bbb; }

/* Editor toolbar */
.sb-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #f8f9fb;
  border-bottom: 1px solid var(--sb-border);
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.sb-toolbar-format {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.sb-fmt-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #333;
  font-family: 'Inter', sans-serif;
  transition: background 0.12s, border-color 0.12s;
  line-height: 1.3;
}
.sb-fmt-btn:hover  { background: #e8eaf0; border-color: var(--sb-border); }
.sb-fmt-btn.active { background: #dde3ee; border-color: var(--sb-accent); }

.sb-toolbar-sep {
  width: 1px;
  height: 18px;
  background: var(--sb-border);
  margin: 0 4px;
  display: inline-block;
}

/* Insert field dropdown */
.sb-toolbar-insert-wrap {
  position: relative;
}

.sb-insert-toggle {
  background: var(--sb-purple);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.83rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}
.sb-insert-toggle:hover { background: var(--sb-navy); }

.sb-insert-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--sb-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  min-width: 230px;
  z-index: 100;
  padding: 6px 0;
  font-family: 'Inter', sans-serif;
}

.sb-insert-group-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  padding: 6px 14px 2px;
  font-weight: 700;
}

.sb-insert-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 7px 14px;
  font-size: 0.88rem;
  cursor: pointer;
  color: #222;
  font-family: 'Inter', sans-serif;
  transition: background 0.12s;
}
.sb-insert-item:hover { background: var(--sb-light); }
.sb-insert-item--highlight {
  color: var(--sb-purple);
  font-weight: 700;
}
.sb-insert-item--highlight:hover { background: #f0eaf7; }

.sb-insert-divider {
  height: 1px;
  background: var(--sb-border);
  margin: 4px 0;
}

/* Editor body */
.sb-composer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sb-editor-body {
  flex: 1;
  min-height: 180px;
  padding: 14px 18px;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #222;
  outline: none;
  overflow-y: auto;
}

.sb-editor-body:empty::before {
  content: attr(data-placeholder);
  color: #bbb;
  font-style: italic;
  pointer-events: none;
}

/* Merge tag chips in editor */
.sb-merge-tag {
  display: inline-block;
  background: #e8f0fe;
  color: #1a56db;
  border: 1px solid #b3c7f9;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 0.85em;
  font-family: monospace;
  white-space: nowrap;
  cursor: default;
  user-select: all;
}

.sb-merge-tag--link {
  background: #fef3e2;
  color: #b45309;
  border-color: #fcd38e;
}

/* Preview panel */
.sb-preview-panel {
  border-top: 2px dashed var(--sb-border);
  padding: 14px 18px;
  flex-shrink: 0;
  background: #fffef5;
}

.sb-preview-header {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 8px;
}

.sb-preview-note {
  font-style: italic;
  color: #999;
  margin-left: 6px;
}

.sb-preview-content {
  font-family: Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #222;
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  padding: 12px 16px;
  background: #fff;
  max-height: 200px;
  overflow-y: auto;
}

/* Footer */
.sb-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--sb-border);
  background: #f8f9fb;
  flex-shrink: 0;
  gap: 10px;
}

.sb-footer-left,
.sb-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-btn-send {
  background: #1b5e20;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s, opacity 0.15s;
}
.sb-btn-send:disabled { opacity: 0.4; cursor: not-allowed; }
.sb-btn-send:not(:disabled):hover { background: #2e7d32; }

/* Sending overlay */
.sb-sending-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 10px;
}

.sb-sending-box {
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.sb-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--sb-border);
  border-top-color: var(--sb-navy);
  border-radius: 50%;
  animation: sb-spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes sb-spin { to { transform: rotate(360deg); } }

/* Dashboard layout additions */
.sb-dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.sb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.sb-section-header h3 { margin: 0; border-bottom: none; }

.sb-section-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sb-btn-primary {
  background: var(--sb-purple);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.sb-btn-primary:hover { background: var(--sb-navy); color: #fff; }
.sb-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.sb-btn-secondary {
  background: #fff;
  color: var(--sb-navy);
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.sb-btn-secondary:hover { background: var(--sb-light); }

.sb-btn-ghost {
  background: none;
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  color: #555;
  transition: background 0.12s;
}
.sb-btn-ghost:hover { background: #eee; }

.sb-btn-sm { padding: 5px 10px; font-size: 0.8rem; }

.sb-btn-message {
  background: var(--sb-accent);
  color: #fff;
  padding: 5px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}
.sb-btn-message:hover:not(:disabled) { background: var(--sb-navy); }

.sb-action-links { display: flex; gap: 10px; }
.sb-no-email-badge {
  font-size: 0.72rem;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
}
.sb-all-clear { color: var(--sb-success); font-weight: 600; }
.sb-action-feedback { font-style: italic; color: #555; font-size: 0.88rem; }

@media (max-width: 700px) {
  .sb-dash-two-col { grid-template-columns: 1fr; }
  .sb-composer { max-height: 100vh; border-radius: 0; }
  .sb-toolbar-format { gap: 1px; }
}

/* Reply-To field in composer footer */
.sb-footer-center {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.sb-replyto-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

.sb-replyto-input {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  padding: 5px 10px;
  border: 1px solid var(--sb-border);
  border-radius: 6px;
  width: 220px;
  color: #333;
}

.sb-replyto-input:focus {
  outline: none;
  border-color: var(--sb-accent);
  box-shadow: 0 0 0 2px rgba(74,111,165,0.15);
}

@media (max-width: 640px) {
  .sb-composer-footer { flex-wrap: wrap; }
  .sb-footer-center   { width: 100%; order: -1; justify-content: flex-start; }
  .sb-replyto-input   { width: 100%; }
}

/* Unapprove link */
.sb-unapprove-link {
  color: #b45309;
  text-decoration: none;
  font-size: 0.82rem;
}
.sb-unapprove-link:hover { color: #92400e; text-decoration: underline; }

/* No-Show Risk badge (active speakers table) */
.sb-risk-badge {
  display: inline-block;
  background: #b00020;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* No-show report form */
.sb-noshow-intro {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 7px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
}
