/* ============================================================
   NeuralPath — Design System
   All component classes used across every module live here.
   Do not add page-specific styles here — keep those in modules.
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base:            #F6F7FB;
  --bg-card:            #FFFFFF;

  /* Accent (indigo) */
  --accent:             #6366F1;
  --accent-light:       #EEF2FF;
  --accent-border:      #C7D2FE;
  --accent-dark:        #4338CA;

  /* Success (green) */
  --success:            #22C55E;
  --success-light:      #F0FDF4;
  --success-border:     #BBF7D0;

  /* Warning (amber) */
  --warning:            #F59E0B;
  --warning-light:      #FFF7ED;
  --warning-border:     #FDE68A;

  /* Error (red) */
  --error:              #EF4444;
  --error-light:        #FEF2F2;

  /* Text */
  --text-primary:       #111827;
  --text-secondary:     #374151;
  --text-muted:         #6B7280;
  --text-faint:         #9CA3AF;

  /* Borders */
  --border:             #E4E6EF;
  --border-light:       #F3F4F8;

  /* Border radius */
  --radius-sm:          8px;
  --radius-md:          12px;
  --radius-lg:          16px;
  --radius-xl:          20px;
  --radius-full:        100px;

  /* Shadows */
  --shadow-sm:          0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md:          0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:          0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-accent:      0 4px 12px rgba(99, 102, 241, 0.28);
  --shadow-accent-lg:   0 6px 20px rgba(99, 102, 241, 0.40);

  /* Transitions */
  --transition:         0.15s ease;
  --transition-bounce:  0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

img,
svg {
  display: block;
}


/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.30);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — indigo gradient */
.btn-primary {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Ghost — neutral */
.btn-ghost {
  background: var(--border-light);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* Danger — red */
.btn-danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.38);
}

/* Outline — bordered, no fill */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
}

.btn-outline:hover {
  background: var(--accent-light);
}

/* Small variant */
.btn-sm {
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  width: auto;
}

/* Icon-only button */
.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  width: auto;
  min-width: 34px;
}

.btn-icon:hover {
  background: var(--border-light);
  color: var(--text-primary);
}


/* ── Inputs ─────────────────────────────────────────────────── */
.input {
  display: block;
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg-card);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder {
  color: #D1D5DB;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.input:disabled {
  background: var(--border-light);
  color: var(--text-faint);
  cursor: not-allowed;
}

.input.valid {
  border-color: var(--success);
  background: var(--success-light);
}

.input.error {
  border-color: var(--error);
  background: var(--error-light);
}

/* Select with custom chevron */
select.input {
  cursor: pointer;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Textarea */
.textarea {
  display: block;
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  background: var(--bg-card);
  outline: none;
  resize: vertical;
  line-height: 1.6;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 80px;
}

.textarea::placeholder {
  color: #D1D5DB;
}

.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

/* Monospace variant */
.mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Password toggle wrapper */
.input-password-wrap {
  position: relative;
}

.input-password-wrap .input {
  padding-right: 44px;
}

.input-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-faint);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.input-password-toggle:hover {
  color: var(--accent);
}


/* ── Form field wrapper ─────────────────────────────────────── */
.field {
  margin-bottom: 16px;
}

.field:last-child {
  margin-bottom: 0;
}

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.field-hint {
  font-size: 11px;
  color: var(--text-faint);
  font-weight: 400;
}

.field-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
  font-weight: 500;
}

.field-success {
  display: block;
  font-size: 12px;
  color: #166534;
  margin-top: 5px;
  font-weight: 500;
}

.char-count {
  font-size: 11px;
  color: var(--text-faint);
  text-align: right;
  margin-top: 4px;
}

.char-count.near-limit {
  color: var(--warning);
}

.char-count.at-limit {
  color: var(--error);
}


/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-hover {
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-hover:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 20px 24px;
}

.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--border-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}


/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  border: 1px solid transparent;
}

.badge-success {
  background: var(--success-light);
  color: #166534;
  border-color: var(--success-border);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-border);
}

.badge-gray {
  background: #F3F4F8;
  color: var(--text-muted);
  border-color: var(--border);
}

.badge-warning {
  background: var(--warning-light);
  color: #92400E;
  border-color: var(--warning-border);
}

.badge-error {
  background: var(--error-light);
  color: #991B1B;
  border-color: #FECACA;
}

.badge-purple {
  background: #F5F3FF;
  color: #5B21B6;
  border-color: #DDD6FE;
}


/* ── Divider ────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-text {
  font-size: 11px;
  color: var(--text-faint);
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
}


/* ── Alert / Info boxes ─────────────────────────────────────── */
.alert {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid transparent;
}

.alert strong {
  font-weight: 700;
}

.alert-warn {
  background: var(--warning-light);
  border-color: var(--warning-border);
  color: #92400E;
}

.alert-success {
  background: var(--success-light);
  border-color: var(--success-border);
  color: #166534;
}

.alert-error {
  background: var(--error-light);
  border-color: #FECACA;
  color: #991B1B;
}

.alert-info {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
}

.alert-accent {
  background: var(--accent-light);
  border-color: var(--accent-border);
  color: var(--accent-dark);
}


/* ── Toast notification ─────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111827;
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  background: #14532D;
}

.toast-error {
  background: #7F1D1D;
}

.toast-warn {
  background: #78350F;
}


/* ── Modal overlay ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 24px 0;
}

.modal-body {
  padding: 20px 24px;
}

.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ── Loading states ─────────────────────────────────────────── */
/* Skeleton shimmer */
.skeleton {
  background: var(--border-light);
  border-radius: var(--radius-sm);
  background-image: linear-gradient(
    90deg,
    var(--border-light) 0px,
    #ffffff 40px,
    var(--border-light) 80px
  );
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Full-page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner */
.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-lg {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

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


/* ── Progress bar ───────────────────────────────────────────── */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success) 0%, #16A34A 100%);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.progress-bar-accent .progress-bar-fill {
  background: linear-gradient(90deg, var(--accent) 0%, #818CF8 100%);
}

.progress-bar-sm {
  height: 4px;
}

.progress-bar-lg {
  height: 8px;
}


/* ── Checkbox ───────────────────────────────────────────────── */
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}


/* ── Radio cards ────────────────────────────────────────────── */
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
}

.radio-card:hover {
  border-color: var(--accent-border);
  background: #FAFAFF;
}

.radio-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.radio-card input[type="radio"] {
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.radio-card-content strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.radio-card-content span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ── Chip / tag ─────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  white-space: nowrap;
}

.chip-accent {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-border);
}

.chip-gray {
  background: var(--border-light);
  color: var(--text-muted);
  border-color: var(--border);
}

.chip-gray:hover,
.chip-accent:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-border);
}


/* ── Toggle / pill switch ───────────────────────────────────── */
.toggle-pill {
  display: flex;
  background: var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.toggle-pill-btn {
  flex: 1;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  background: transparent;
  white-space: nowrap;
}

.toggle-pill-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.toggle-pill-btn.active-accent {
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}


/* ── Importance toggle (★ Required / ◎ Supplementary) ──────── */
.imp-toggle {
  display: flex;
  background: var(--border-light);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 2px;
}

.imp-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  line-height: 1.3;
}

.imp-btn.active-req {
  background: #FFF7ED;
  color: #D97706;
  box-shadow: var(--shadow-sm);
}

.imp-btn.active-supp {
  background: var(--bg-card);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}


/* ── File drop zone ─────────────────────────────────────────── */
.file-drop {
  border: 2px dashed var(--accent-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: #FAFAFF;
}

.file-drop:hover,
.file-drop.drag-over {
  border-color: var(--accent);
  background: var(--accent-light);
}

.file-drop-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.file-drop-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.file-drop-sub {
  font-size: 11px;
  color: var(--text-faint);
}


/* ── Empty state ────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}

.empty-state-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}


/* ── Sync status badge (header) ─────────────────────────────── */
.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.sync-badge-saved {
  background: var(--success-light);
  color: #166534;
  border-color: var(--success-border);
}

.sync-badge-syncing {
  background: var(--warning-light);
  color: #92400E;
  border-color: var(--warning-border);
}

.sync-badge-error {
  background: var(--error-light);
  color: #991B1B;
  border-color: #FECACA;
}

.sync-badge-offline {
  background: var(--border-light);
  color: var(--text-muted);
  border-color: var(--border);
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sync-dot-saved    { background: var(--success); }
.sync-dot-syncing  { background: var(--warning); animation: pulse 1.2s ease-in-out infinite; }
.sync-dot-error    { background: var(--error); }
.sync-dot-offline  { background: var(--text-faint); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}


/* ── Step progress indicators ───────────────────────────────── */
.step-indicators {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 1;
}

.step-dot.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.step-dot.done {
  border-color: var(--success);
  background: var(--success);
  color: #ffffff;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background var(--transition);
}

.step-line.done {
  background: var(--success);
}


/* ── Status indicator dot ───────────────────────────────────── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot-done    { background: var(--success); }
.status-dot-active  { background: var(--accent); }
.status-dot-none    { background: var(--border); }


/* ── Utility classes ────────────────────────────────────────── */
.hidden        { display: none !important; }
.sr-only       { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.truncate      { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.fw-400        { font-weight: 400; }
.fw-500        { font-weight: 500; }
.fw-600        { font-weight: 600; }
.fw-700        { font-weight: 700; }
.fw-800        { font-weight: 800; }
.text-accent   { color: var(--accent); }
.text-success  { color: var(--success); }
.text-muted    { color: var(--text-muted); }
.text-faint    { color: var(--text-faint); }
.text-sm       { font-size: 12px; }
.text-xs       { font-size: 11px; }
.mt-4          { margin-top: 4px; }
.mt-8          { margin-top: 8px; }
.mt-12         { margin-top: 12px; }
.mt-16         { margin-top: 16px; }
.mt-24         { margin-top: 24px; }
.mb-4          { margin-bottom: 4px; }
.mb-8          { margin-bottom: 8px; }
.mb-12         { margin-bottom: 12px; }
.mb-16         { margin-bottom: 16px; }
.mb-24         { margin-bottom: 24px; }
.gap-8         { gap: 8px; }
.gap-12        { gap: 12px; }
.gap-16        { gap: 16px; }
.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.align-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1        { flex: 1; }


/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .btn {
    font-size: 15px;
    padding: 13px 16px;
  }

  .card-body {
    padding: 16px 18px;
  }
}
