/* GemeindePortal – Haupt-CSS */
/* Mobile First, responsive, kirchentauglich */

:root {
  --primary: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-dark: #1e3a8a;
  --secondary: #6b7280;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --card: #ffffff;
  --sidebar-w: 240px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.1);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ============================================================
   AUTH
   ============================================================ */
.auth-body { background: var(--primary-light); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.auth-container { width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo h1 { font-size: 1.5rem; color: var(--primary); margin-top: .5rem; }
.auth-logo p { color: var(--text-muted); font-size: .9rem; }
.auth-card { background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.auth-card h2 { margin-bottom: 1.5rem; font-size: 1.25rem; }
.auth-links { text-align: center; margin-top: 1rem; font-size: .9rem; color: var(--text-muted); }
.auth-desc { color: var(--text-muted); margin-bottom: 1.5rem; font-size: .95rem; }

/* ============================================================
   APP LAYOUT
   ============================================================ */
.app-body { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}

.sidebar-nav {
  list-style: none;
  padding: .5rem 0;
  flex: 1;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  color: var(--text);
  font-size: .95rem;
  transition: background .15s;
}

.sidebar-nav li a:hover { background: var(--primary-light); text-decoration: none; color: var(--primary); }
.sidebar-nav .nav-icon { width: 1.2rem; text-align: center; }

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 1rem;
  font-size: .875rem;
}
.sidebar-user { display: block; color: var(--text-muted); margin-bottom: .5rem; font-size: .8rem; }

.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 1.5rem;
  max-width: 1000px;
  padding-bottom: 5rem;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: space-around;
  padding: .5rem 0 calc(.5rem + env(safe-area-inset-bottom));
  z-index: 200;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  color: var(--text-muted);
  font-size: .7rem;
  padding: .3rem .5rem;
  position: relative;
  text-decoration: none;
}

.mobile-nav-item svg { width: 22px; height: 22px; }
.mobile-nav-item:hover { color: var(--primary); }
.badge-dot { position: absolute; top: 0; right: 0; width: 8px; height: 8px; background: var(--danger); border-radius: 50%; }

@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 1rem; padding-bottom: 5.5rem; }
  .mobile-nav { display: flex; }
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; }
.feed-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.feed-section h2 { font-size: 1.2rem; color: var(--text); }

.sidebar-widget { background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: .75rem; }

.event-mini-list { list-style: none; }
.event-mini-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.event-mini-list li:last-child { border-bottom: none; }
.event-mini-list a { display: block; color: var(--text); text-decoration: none; }
.event-mini-list a:hover { color: var(--primary); }
.event-date { display: block; font-size: .8rem; color: var(--text-muted); }
.event-loc  { display: block; font-size: .8rem; color: var(--text-muted); }
.link-more  { display: block; text-align: right; font-size: .85rem; margin-top: .5rem; }

.quick-links { list-style: none; }
.quick-links li a { display: block; padding: .4rem 0; color: var(--text); }
.quick-links li a:hover { color: var(--primary); text-decoration: none; }

@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

/* ============================================================
   POST CARDS
   ============================================================ */
.post-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid transparent;
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.post-card--official { border-left-color: var(--primary); background: #fefce8; }
.post-card--pinned   { border-left-color: var(--warning); }

.post-card-header { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; align-items: center; }
.post-card-title { margin-bottom: .5rem; font-size: 1.05rem; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary); text-decoration: none; }
.post-card-body { color: var(--text-muted); font-size: .95rem; margin-bottom: .75rem; }
.post-card-footer { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--text-muted); }
.post-meta { font-size: .8rem; }

.post-detail { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.post-detail--official { border-top: 4px solid var(--primary); background: #fefce8; }
.post-detail h1 { font-size: 1.5rem; margin: .5rem 0; }
.post-meta { color: var(--text-muted); font-size: .875rem; margin-bottom: 1rem; }
.post-body { line-height: 1.75; margin: 1rem 0; white-space: pre-wrap; word-break: break-word; }
.post-actions-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.post-detail-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }

.post-files { margin-top: 1rem; }
.post-files h4 { margin-bottom: .5rem; }
.file-link { display: inline-block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: .4rem .75rem; margin: .25rem; font-size: .875rem; color: var(--text); }
.file-link:hover { background: var(--primary-light); text-decoration: none; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section { margin-top: 2rem; }
.comments-section h3 { margin-bottom: 1rem; }
.comment { background: var(--card); border-radius: var(--radius); padding: 1rem; margin-bottom: .75rem; box-shadow: var(--shadow); }
.comment-header { display: flex; gap: .75rem; align-items: center; margin-bottom: .5rem; }
.comment-date { color: var(--text-muted); font-size: .8rem; }
.comment-body { font-size: .95rem; line-height: 1.6; }
.comment-form { background: var(--card); border-radius: var(--radius); padding: 1rem; margin-top: 1rem; box-shadow: var(--shadow); }

/* ============================================================
   EVENTS
   ============================================================ */
.month-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.month-nav h2 { font-size: 1.15rem; }

.event-list { display: flex; flex-direction: column; gap: 1rem; }
.event-card { display: flex; gap: 1rem; background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.event-date-box { display: flex; flex-direction: column; align-items: center; min-width: 52px; background: var(--primary); color: white; border-radius: var(--radius); padding: .5rem; }
.event-day   { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-month { font-size: .7rem; text-transform: uppercase; }
.event-card-body { flex: 1; }
.event-card-body h3 { margin-bottom: .25rem; font-size: 1rem; }
.event-card-body h3 a { color: var(--text); }
.event-card-body h3 a:hover { color: var(--primary); text-decoration: none; }
.event-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: .4rem; }
.event-excerpt { font-size: .9rem; color: var(--text-muted); margin-bottom: .5rem; }
.event-card-footer { display: flex; align-items: center; gap: .75rem; font-size: .8rem; }
.link-ics { color: var(--text-muted); }

.event-detail-grid { display: grid; grid-template-columns: 1fr 250px; gap: 1.5rem; }
.event-detail { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.event-info-block { margin-bottom: 1.5rem; }
.event-info-row { display: flex; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.info-icon { font-size: 1.2rem; width: 1.5rem; text-align: center; }
.event-description { line-height: 1.75; }
.event-registration { background: var(--bg); border-radius: var(--radius); padding: 1rem; margin-top: 1rem; }
.event-footer-actions { display: flex; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.event-attendees { background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.event-attendees h3 { margin-bottom: .75rem; }
.attendee-item { padding: .4rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.attendee-yes { color: var(--success); }
.attendee-no  { color: var(--danger); }

@media (max-width: 768px) {
  .event-detail-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GROUPS
   ============================================================ */
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1rem; }
.group-card { background: var(--card); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.group-card h3 { margin-bottom: .4rem; }
.group-desc { font-size: .9rem; color: var(--text-muted); margin-bottom: .5rem; }
.group-meta { display: flex; gap: .75rem; font-size: .8rem; color: var(--text-muted); flex-wrap: wrap; }

.group-detail { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.group-description { margin-bottom: 1rem; }
.group-info { display: flex; gap: 1rem; font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.member-status { color: var(--success); font-weight: 500; margin-bottom: .5rem; }
.member-list { list-style: none; }
.member-list li { padding: .4rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .5rem; }

.group-posts { margin-top: 1.5rem; }
.group-posts h3 { margin-bottom: 1rem; }

.group-members { margin-top: 1.5rem; }
.group-members h3 { margin-bottom: .75rem; }

/* ============================================================
   PROFILE
   ============================================================ */
.profile-card { display: flex; gap: 1.5rem; background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.avatar-placeholder { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; flex-shrink: 0; }
.profile-info h2 { margin-bottom: .25rem; }
.profile-bio { color: var(--text-muted); margin-top: .5rem; }
.profile-groups { background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.profile-groups h3 { margin-bottom: .5rem; }
.profile-groups ul { list-style: none; }
.profile-groups li { padding: .3rem 0; }
.profile-actions { display: flex; gap: .5rem; }

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notification-list { list-style: none; }
.notification-item { display: flex; justify-content: space-between; align-items: flex-start; background: var(--card); border-radius: var(--radius); padding: 1rem; margin-bottom: .5rem; box-shadow: var(--shadow); gap: 1rem; }
.notification-unread { border-left: 3px solid var(--primary); }
.notification-content { flex: 1; }
.notification-content p { font-size: .9rem; color: var(--text-muted); margin-top: .25rem; }
.notification-time { font-size: .8rem; color: var(--text-muted); }
.notification-link { font-size: .875rem; white-space: nowrap; }

/* ============================================================
   SEARCH
   ============================================================ */
.search-form { margin-bottom: 1.5rem; }
.search-input-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.search-input-row .form-control:first-child { flex: 1; min-width: 200px; }
.search-results { margin-bottom: 1.5rem; }
.search-results h3 { margin-bottom: .75rem; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.search-result-item { padding: .75rem 0; border-bottom: 1px solid var(--border); }
.result-excerpt { color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #f1f5f9; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #1e293b; color: #e2e8f0; flex-shrink: 0; }
.admin-brand { padding: 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-brand a { color: white; font-weight: 700; font-size: 1rem; }
.admin-brand small { display: block; color: #94a3b8; font-size: .75rem; margin-top: .25rem; }
.admin-nav { list-style: none; padding: .5rem 0; }
.admin-nav li a { display: block; padding: .6rem 1rem; color: #cbd5e1; font-size: .9rem; }
.admin-nav li a:hover { background: rgba(255,255,255,.1); color: white; text-decoration: none; }
.admin-nav-sep { border-top: 1px solid rgba(255,255,255,.1); margin-top: .5rem; padding-top: .5rem; }
.admin-footer { padding: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.admin-main { flex: 1; padding: 1.5rem; overflow-x: auto; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-page-header h1 { font-size: 1.4rem; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .875rem; }
.admin-table th { background: var(--bg); font-weight: 600; color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--primary-light); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); text-align: center; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: .875rem; color: var(--text-muted); margin-top: .25rem; }

.admin-quick-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .4rem; vertical-align: middle; }

.info-box { background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; font-size: .9rem; border-left: 4px solid var(--primary); }
.info-box.warning { border-left-color: var(--warning); }

.recent-activity { margin-top: 1.5rem; }
.recent-activity h2 { margin-bottom: .75rem; }

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-split { grid-template-columns: 1fr; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: .4rem; font-size: .9rem; }
.form-control {
  width: 100%;
  padding: .6rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-control-inline { width: auto; display: inline-block; }
.form-hint { color: var(--text-muted); font-size: .8rem; margin-top: .25rem; display: block; }

.form-check { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.card-form { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }

fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.25rem; }
legend { font-weight: 600; padding: 0 .5rem; font-size: .95rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .1s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--primary); color: white; }
.btn-primary:hover  { background: var(--primary-dark); color: white; }
.btn-secondary{ background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover{ background: var(--border); color: var(--text); }
.btn-danger   { background: var(--danger); color: white; }
.btn-danger:hover   { background: #b91c1c; color: white; }
.btn-link     { background: transparent; color: var(--primary); padding-left: 0; padding-right: 0; }
.btn-danger-link { color: var(--danger); }
.btn-block    { width: 100%; justify-content: center; }
.btn-sm       { padding: .35rem .75rem; font-size: .825rem; }

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-official { background: var(--primary); color: white; }
.badge-pin      { background: var(--warning); color: white; }
.badge-member   { background: var(--success); color: white; }
.badge-info     { background: #0891b2; color: white; }
.badge          { background: var(--secondary); color: white; }

.category-tag {
  display: inline-block;
  padding: .15rem .5rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 500;
}

.category-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.category-btn { display: inline-block; padding: .4rem .8rem; border-radius: 20px; font-size: .85rem; border: 1px solid var(--border); color: var(--text); background: var(--card); }
.category-btn:hover, .category-btn.active { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }

.status-badge { display: inline-block; padding: .15rem .5rem; border-radius: 4px; font-size: .75rem; font-weight: 600; }
.status-published { background: #d1fae5; color: #065f46; }
.status-draft     { background: #f3f4f6; color: #374151; }
.status-active    { background: #d1fae5; color: #065f46; }
.status-inactive  { background: #fef3c7; color: #92400e; }
.status-suspended { background: #fee2e2; color: #991b1b; }
.status-deleted   { background: #fee2e2; color: #991b1b; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: .85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .9rem;
  border-left: 4px solid transparent;
}
.alert-success { background: #d1fae5; color: #065f46; border-left-color: var(--success); }
.alert-error   { background: #fee2e2; color: #991b1b; border-left-color: var(--danger); }
.alert-info    { background: #dbeafe; color: #1e40af; border-left-color: var(--primary); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.5rem; }
.page-subtitle { color: var(--text-muted); font-size: .9rem; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state p { margin-bottom: 1rem; }

/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-container { text-align: center; margin-top: 1.5rem; }

/* ============================================================
   ERROR PAGES
   ============================================================ */
.error-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); }
.error-container { text-align: center; padding: 2rem; }
.error-container h1 { font-size: 5rem; color: var(--primary); line-height: 1; }
.error-container h2 { margin-bottom: 1rem; }
.error-container p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ============================================================
   CARD
   ============================================================ */
.card          { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body     { padding: 1.5rem; }
.card + .card  { margin-top: 1rem; }

/* ============================================================
   TABLE (generic)
   ============================================================ */
.table         { width: 100%; border-collapse: collapse; }
.table th,
.table td      { padding: .65rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.table th      { font-weight: 600; color: var(--text-muted); background: var(--bg); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td      { background: var(--primary-light); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-muted  { color: var(--text-muted); }
.mt-3        { margin-top: 1rem; }
.required    { color: var(--danger); }
.list-plain  { list-style: none; }
.btn-xs      { padding: .2rem .5rem; font-size: .78rem; }
.form-control--color { height: 2.5rem; padding: .25rem; cursor: pointer; }
.badge--success { background: #d1fae5; color: #065f46; }
.badge--warning { background: #fef3c7; color: #92400e; }
