/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- CSS Variables (Dark mode default) --- */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1e1e1e;
  --surface-3: #262626;
  --border: #1e293b;
  --border-focus: #4f7ef8;
  --text: #e2e8f0;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent: #4f7ef8;
  --accent-hover: #3a67e0;
  --accent-light: rgba(79,126,248,0.12);
  --cyan: #06B6D4;
  --pink: #EC4899;
  --success: #10b981;
  --success-light: rgba(16,185,129,0.1);
  --success-mid: rgba(16,185,129,0.2);
  --danger: #EF4444;
  --danger-light: rgba(239,68,68,0.1);
  --danger-mid: rgba(239,68,68,0.2);
  --warning: #F59E0B;
  --warning-light: rgba(245,158,11,0.1);
  --warning-mid: rgba(245,158,11,0.2);
  --purple: #4f7ef8;
  --purple-light: rgba(79,126,248,0.12);

  --gradient-accent: linear-gradient(135deg, #4f7ef8, #7c5af8);
  --gradient-accent-subtle: linear-gradient(135deg, rgba(79,126,248,0.3), rgba(124,90,248,0.3));

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --glow-purple: 0 0 20px rgba(79,126,248,0.3);
  --glow-cyan: 0 0 20px rgba(6,182,212,0.3);
  --glow-pink: 0 0 20px rgba(236,72,153,0.3);
  --glow-success: 0 0 12px rgba(16,185,129,0.3);
  --glow-danger: 0 0 12px rgba(239,68,68,0.3);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --sidebar-w: 240px;
  --topbar-h: 60px;
}

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

/* --- Base --- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* --- Utility --- */
.hidden { display: none !important; }

/* --- Animations --- */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Headings (Space Grotesk) --- */
h1, .heading, .login-heading, .section-title, .brand-name, .topbar-title, .modal-title {
  font-family: var(--font-heading);
}

/* --- Monospace data --- */
.mono, code, .url-mono, #admin-code, #code-input {
  font-family: var(--font-mono);
}

/* --- Brand --- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--glow-purple);
  color: white;
}
.brand-icon svg {
  width: 22px;
  height: 22px;
}
.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.brand-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}

/* --- Form elements --- */
.field { margin-bottom: 18px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
  font-family: var(--font-body);
}
input, select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface-2);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
input:hover, select:hover { border-color: #334155; }
input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,126,248,0.15), var(--glow-purple);
}
input::placeholder { color: var(--text-muted); }

textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface-2);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
textarea:hover { border-color: #334155; }
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,126,248,0.15), var(--glow-purple);
}
textarea::placeholder { color: var(--text-muted); }

/* --- Login heading --- */
.login-heading, .heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.login-sub, .subtext {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
}
.subtext strong { color: var(--text); font-weight: 600; }

/* --- Gradient border card (login) --- */
.gradient-card-wrap {
  position: relative;
  padding: 2px;
  border-radius: calc(var(--radius) + 2px);
  background: var(--gradient-accent);
  background-size: 300% 300%;
  animation: gradient-shift 6s ease infinite;
}
.gradient-card-inner {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}

/* --- Primary button (gradient) --- */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 2px 12px rgba(79,126,248,0.35);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 20px rgba(79,126,248,0.5); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* --- Password toggle --- */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 40px; }
.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-toggle:hover { color: var(--text-secondary); }
.pw-toggle.active { color: var(--accent); }

/* --- Password strength --- */
.pw-strength {
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
  font-family: var(--font-mono);
}
.pw-strength.pw-weak { color: var(--danger); }
.pw-strength.pw-ok { color: var(--warning); }
.pw-strength.pw-good { color: var(--success); }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-2);
  color: var(--text);
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.25s;
  z-index: 200;
  max-width: calc(100vw - 32px);
  word-break: break-word;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--accent);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.copied { border-left-color: var(--cyan); }

@media (max-width: 480px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    transform: translateY(20px);
    max-width: unset;
  }
  .toast.show { transform: translateY(0); }
}

/* --- Focus visible --- */
button:focus-visible, a:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Spinner --- */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

/* --- Confirm dialog --- */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.15s;
}
.dialog-box {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 28px 24px 20px;
  max-width: 380px;
  width: 100%;
}
.dialog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.dialog-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.dialog-btn {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.dialog-btn-cancel {
  background: var(--surface-2);
  color: var(--text);
}
.dialog-btn-cancel:hover { background: var(--surface-3); }
.dialog-btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.dialog-btn-danger:hover { opacity: 0.85; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.badge-green {
  background: rgba(16,185,129,0.15);
  color: #6ee7b7;
  box-shadow: 0 0 8px rgba(16,185,129,0.15);
}
.badge-green .badge-dot { background: var(--success); box-shadow: var(--glow-success); }
.badge-gray {
  background: rgba(100,116,139,0.15);
  color: #94a3b8;
}
.badge-gray .badge-dot { background: #64748b; }
.badge-purple {
  background: rgba(79,126,248,0.15);
  color: #7c9dfc;
  box-shadow: 0 0 8px rgba(79,126,248,0.15);
}
.badge-purple .badge-dot { background: var(--accent); box-shadow: 0 0 6px rgba(79,126,248,0.4); }
.badge-red {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  box-shadow: 0 0 8px rgba(239,68,68,0.15);
}
.badge-red .badge-dot { background: var(--danger); box-shadow: var(--glow-danger); }

/* --- Table --- */
.table-wrap { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 460px; }
thead tr { border-bottom: 1px solid var(--border); }
th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 10px 12px;
  font-family: var(--font-body);
}
td {
  padding: 12px 12px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid rgba(30,41,59,0.5);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: rgba(79,126,248,0.04); }
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 4px;
}
.url-cell {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.url-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}
.td-name { font-weight: 600; }
.empty-row td {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 12px;
  font-size: 13px;
}

/* --- Row actions --- */
.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.btn-sm {
  padding: 6px 12px;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-sm:hover { opacity: 0.85; }
.btn-sm-copy {
  background: var(--accent-light);
  color: #7c9dfc;
  border-color: rgba(79,126,248,0.2);
}
.btn-sm-copy:hover { box-shadow: 0 0 10px rgba(79,126,248,0.2); }
.btn-sm-enable {
  background: var(--success-light);
  color: #6ee7b7;
  border-color: rgba(16,185,129,0.2);
}
.btn-sm-enable:hover { box-shadow: var(--glow-success); }
.btn-sm-disable {
  background: var(--warning-light);
  color: #fbbf24;
  border-color: rgba(245,158,11,0.2);
}
.btn-sm-danger {
  background: var(--danger-light);
  color: #fca5a5;
  border-color: rgba(239,68,68,0.2);
}
.btn-sm-danger:hover { box-shadow: var(--glow-danger); }

/* --- Section cards --- */
.section {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.section:hover {
  border-color: rgba(79,126,248,0.3);
  box-shadow: 0 0 30px rgba(79,126,248,0.05);
}
.section-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-head-left { display: flex; align-items: center; gap: 12px; }
.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.icon-gradient {
  background: var(--gradient-accent);
}
.icon-purple { background: rgba(79,126,248,0.15); color: #7c9dfc; }
.icon-cyan { background: rgba(6,182,212,0.15); color: #22d3ee; }
.icon-pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.icon-green { background: rgba(16,185,129,0.15); color: #34d399; }
.section-meta {}
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.section-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.section-body { padding: 20px 24px; }

/* --- Add form row --- */
.add-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 4px;
}
.add-form-field { flex: 1; min-width: 160px; }
.add-form-field label { margin-bottom: 6px; }
.add-form-field input, .add-form-field select {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
}
.btn-add {
  padding: 9px 18px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(79,126,248,0.3);
  align-self: flex-end;
  height: 38px;
}
.btn-add:hover { box-shadow: 0 4px 16px rgba(79,126,248,0.45); }
.btn-add:active { transform: translateY(1px); }
.form-error {
  font-size: 12px;
  color: var(--danger);
  font-weight: 500;
  min-height: 18px;
  margin-top: 6px;
  font-family: var(--font-mono);
}

/* --- Sidebar (admin) --- */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 50;
  padding: 20px 0;
  overflow-y: auto;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 32px;
}
.sidebar-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--glow-purple);
}
.sidebar-brand-icon svg {
  width: 18px;
  height: 18px;
}
.sidebar-brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
  flex: 1;
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  position: relative;
}
.sidebar-nav-item:hover {
  color: var(--text);
  background: var(--surface-2);
}
.sidebar-nav-item.active {
  color: var(--text);
  background: var(--accent-light);
}
.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gradient-accent);
}
.sidebar-nav-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.sidebar-nav-item.active svg,
.sidebar-nav-item:hover svg {
  opacity: 1;
}
.sidebar-footer {
  padding: 16px 12px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* --- Main content with sidebar --- */
.main-with-sidebar {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding: 24px;
}
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-header {
  margin-bottom: 8px;
}
.main-header h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.main-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Light mode support --- */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --surface-3: #e2e8f0;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent-light: rgba(79,126,248,0.08);
    --success-light: rgba(16,185,129,0.08);
    --success-mid: rgba(16,185,129,0.15);
    --danger-light: rgba(239,68,68,0.08);
    --danger-mid: rgba(239,68,68,0.15);
    --warning-light: rgba(245,158,11,0.08);
    --warning-mid: rgba(245,158,11,0.15);
    --purple-light: rgba(79,126,248,0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --glow-purple: 0 0 20px rgba(79,126,248,0.15);
    --glow-cyan: 0 0 20px rgba(6,182,212,0.15);
    --glow-pink: 0 0 20px rgba(236,72,153,0.15);
    --glow-success: 0 0 12px rgba(16,185,129,0.15);
    --glow-danger: 0 0 12px rgba(239,68,68,0.15);
  }
  .badge-green { color: #047857; }
  .badge-gray { color: #475569; }
  .badge-purple { color: #3a67e0; }
  .badge-red { color: #B91C1C; }
  .dialog-overlay { background: rgba(0,0,0,0.3); }
}

/* --- Forced colors (high contrast) --- */
@media (forced-colors: active) {
  input:focus, textarea:focus { outline: 2px solid ButtonText; outline-offset: 1px; }
  button:focus-visible { outline: 2px solid ButtonText; }
}

/* --- Responsive sidebar --- */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0; right: 0;
    top: auto; bottom: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    border-right: none;
    border-top: 1px solid var(--border);
    padding: 0;
    z-index: 60;
    overflow-x: auto;
  }
  .sidebar-brand { display: none; }
  .sidebar-nav {
    flex-direction: row;
    padding: 8px;
    gap: 4px;
    flex: 1;
    justify-content: space-around;
  }
  .sidebar-nav-item {
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    font-size: 10px;
    text-align: center;
    min-width: 0;
    flex: 1;
  }
  .sidebar-nav-item.active::before { display: none; }
  .sidebar-nav-item span { display: none; }
  .sidebar-footer { display: none; }
  .main-with-sidebar {
    margin-left: 0;
    padding: 16px;
    padding-bottom: 80px;
  }
}

@media (max-width: 640px) {
  .section-head { padding: 16px; }
  .section-body { padding: 12px 16px; }
  .add-form { flex-direction: column; }
  .add-form-field { min-width: unset; }
  .btn-add { width: 100%; justify-content: center; }
}
