/* ============================================================
   COMPONENTS.CSS — Reusable UI components
   Buttons, tags, badges, cards, dividers
   ============================================================ */

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 4px 20px hsla(210, 85%, 55%, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn--outline:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn--sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* ─── TAGS / EYEBROW LABELS ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: var(--blue-glow);
  border: 1px solid hsla(210, 85%, 60%, 0.22);
  border-radius: 100px;
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* ─── STATUS BADGES ─── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
}

.badge--active  { background: hsla(142, 65%, 44%, 0.15); color: hsl(142, 65%, 52%); }
.badge--pending { background: hsla(38, 92%, 52%, 0.15);  color: hsl(38, 92%, 58%);  }
.badge--closed  { background: hsla(210, 10%, 44%, 0.12); color: var(--text-3);       }
.badge--new     { background: hsla(210, 78%, 48%, 0.15); color: var(--blue-light);   }

/* ─── SECTION HEADER (repeated pattern) ─── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header .tag {
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin-inline: auto;
  color: var(--text-2);
}

/* ─── HORIZONTAL RULE ─── */
.sep {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ─── CHECK LIST ─── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: hsla(142, 65%, 44%, 0.15);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
