/* ═══════════════════════════════════════════════════════════════
   MileStack App Styles
   Matches landing page: dark green theme, Space Grotesk + DM Sans
   ═══════════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep: #0a0f0d;
  --bg-card: #121a16;
  --bg-card-hover: #162019;
  --bg-input: #0e1510;
  --green-primary: #3ddc84;
  --green-dim: #1a3a28;
  --green-glow: rgba(61, 220, 132, 0.15);
  --amber: #f5a623;
  --amber-dim: #3a2a10;
  --red: #f44336;
  --red-dim: #2a1418;
  --text-primary: #e8ede9;
  --text-secondary: #8a9b8f;
  --text-muted: #5a6b5f;
  --border: #1e2e24;
  --border-focus: rgba(61, 220, 132, 0.4);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── Layout ──────────────────────────────────────────────── */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 13, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.nav-logo span { color: var(--text-primary); }

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-back:hover { color: var(--text-primary); background: var(--bg-card); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.nav-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.nav-btn:hover { border-color: var(--text-muted); color: var(--text-primary); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ─── Auth ────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green-primary);
  text-align: center;
  margin-bottom: 8px;
}

.auth-logo span { color: var(--text-primary); }

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.auth-join-note {
  text-align: center;
  background: var(--green-dim);
  border: 1px solid rgba(61, 220, 132, 0.2);
  color: var(--green-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: inherit;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--border-focus);
}

.form-input::placeholder {
  color: var(--text-muted);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%235a6b5f'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

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

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--bg-deep);
}

.btn-primary:hover { background: #4ae492; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--text-muted); background: var(--bg-card-hover); }

.btn-ghost {
  background: none;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-full { width: 100%; }

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── Dashboard ───────────────────────────────────────────── */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.dash-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.dash-actions {
  display: flex;
  gap: 10px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* ─── Community Card ──────────────────────────────────────── */
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s;
}

.community-card:hover {
  border-color: rgba(61, 220, 132, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}

.card-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.card-members {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-deep);
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.card-goal {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ─── Progress Bar ────────────────────────────────────────── */
.progress-wrap { margin-bottom: 8px; }

.progress-track {
  background: var(--green-dim);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--amber));
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.progress-meta strong {
  color: var(--green-primary);
  font-family: 'Space Grotesk', sans-serif;
}

/* Community page hero progress */
.progress-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.progress-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--amber));
  opacity: 0.6;
}

.progress-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}

.progress-hero-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.progress-hero-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.progress-hero .progress-track {
  height: 20px;
  border-radius: 10px;
}

.progress-hero .progress-fill {
  border-radius: 10px;
  box-shadow: 0 0 20px var(--green-glow);
}

.progress-pct {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
  margin-top: 16px;
}

.progress-numbers {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.progress-numbers strong {
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── Stats Row ───────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Two Column Layout ───────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* ─── Section Headers ─────────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

/* ─── Activity Feed ───────────────────────────────────────── */
.feed { display: flex; flex-direction: column; gap: 8px; }

.activity-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: start;
  transition: border-color 0.2s;
}

.activity-item:hover { border-color: rgba(61, 220, 132, 0.15); }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--bg-deep);
  flex-shrink: 0;
}

.activity-body { flex: 1; min-width: 0; }

.activity-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.activity-user {
  font-weight: 600;
  font-size: 0.9rem;
}

.activity-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.activity-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.activity-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--green-primary);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 6px;
}

.activity-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* ─── Member List ─────────────────────────────────────────── */
.member-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.member-list { display: flex; flex-direction: column; gap: 4px; }

.member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.member-item:hover { background: var(--bg-deep); }

.member-info { flex: 1; min-width: 0; }

.member-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.member-role {
  font-size: 0.7rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-contrib {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--green-primary);
  font-weight: 600;
  text-align: right;
}

/* ─── Invite Section ──────────────────────────────────────── */
.invite-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.invite-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.invite-row {
  display: flex;
  gap: 8px;
}

.invite-code {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--text-primary);
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-copy {
  padding: 8px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(61, 220, 132, 0.2);
  color: var(--green-primary);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}

.invite-copy:hover { background: rgba(61, 220, 132, 0.15); }

/* ─── Join Page ───────────────────────────────────────────── */
.join-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.join-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-dim);
  border: 1px solid rgba(61, 220, 132, 0.2);
  color: var(--green-primary);
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.join-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.join-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.join-goal {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.join-goal-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.join-goal-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-primary);
}

.join-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ─── Create Form ─────────────────────────────────────────── */
.create-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px;
}

.create-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.create-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ─── Join Input ──────────────────────────────────────────── */
.join-input-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.join-input-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.join-input-row {
  display: flex;
  gap: 8px;
}

.join-input-row .form-input { flex: 1; text-transform: uppercase; letter-spacing: 2px; }

/* ─── Empty State ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}

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

.empty-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto 24px;
}

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  animation: fadeIn 0.15s ease;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  animation: slideUp 0.2s ease;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ─── Toast ───────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  animation: slideUp 0.2s ease;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

/* ─── Loading ─────────────────────────────────────────────── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  color: var(--text-muted);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
}

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

/* ─── Community Tabs (Admin) ──────────────────────────────── */
.community-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
}

.community-tab {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  border: none;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.community-tab.active {
  background: var(--bg-deep);
  color: var(--text-primary);
}

.community-tab:hover:not(.active) {
  color: var(--text-secondary);
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
}

/* ─── Verification Badges ─────────────────────────────────── */
.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.verify-pending {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.verify-approved {
  background: var(--green-dim);
  color: var(--green-primary);
  border: 1px solid rgba(61, 220, 132, 0.2);
}

.verify-rejected {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.activity-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Activity states */
.activity-pending {
  border-left: 3px solid var(--amber);
}

.activity-rejected {
  opacity: 0.6;
  border-left: 3px solid var(--red);
}

.rejection-note {
  font-size: 0.75rem;
  color: var(--red);
  background: var(--red-dim);
  border: 1px solid rgba(244, 67, 54, 0.15);
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

/* ─── Verify Actions (in queue) ──────────────────────────── */
.verify-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn-approve {
  background: var(--green-dim);
  color: var(--green-primary);
  border: 1px solid rgba(61, 220, 132, 0.25);
}

.btn-approve:hover {
  background: rgba(61, 220, 132, 0.2);
}

.btn-reject {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(244, 67, 54, 0.25);
}

.btn-reject:hover {
  background: rgba(244, 67, 54, 0.2);
}

.btn-reject-confirm {
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-reject-confirm:hover {
  background: #e53935;
}

/* Inline verify buttons in feed */
.feed-verify-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-inline {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.15s;
  font-family: inherit;
}

.btn-inline-approve {
  color: var(--green-primary);
}

.btn-inline-approve:hover {
  background: var(--green-dim);
}

.btn-inline-reject {
  color: var(--red);
}

.btn-inline-reject:hover {
  background: var(--red-dim);
}

/* Verify item animation */
.verify-item {
  transition: opacity 0.3s, transform 0.3s;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 20px 16px; }
  .two-col { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .dash-header { flex-direction: column; align-items: start; gap: 16px; }
  .dash-actions { width: 100%; }
  .dash-actions .btn { flex: 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .progress-hero { padding: 24px; }
  .progress-pct { font-size: 2rem; }
  .progress-hero-name { font-size: 1.3rem; }
  .auth-card { padding: 32px 24px; }
  .join-card { padding: 32px 24px; }
  .create-page { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .app-nav { padding: 12px 16px; }
  .member-panel { margin-top: 0; }
  .verify-actions { flex-wrap: wrap; }
  .community-tabs { flex-direction: row; }
}
