/* ================================================
   Flussonic Manager - Admin Panel CSS
   Dark Professional Theme for IPTV Infrastructure
   ================================================ */

:root {
  --bg-primary:    #0a0e1a;
  --bg-secondary:  #111827;
  --bg-card:       #161d2f;
  --bg-card-hover: #1c2540;
  --bg-input:      #0d1220;
  --border:        #1e2d4a;
  --border-light:  #243557;
  --accent:        #3b82f6;
  --accent-light:  #60a5fa;
  --accent-dark:   #1d4ed8;
  --accent-glow:   rgba(59, 130, 246, 0.15);
  --green:         #10b981;
  --green-light:   #34d399;
  --green-bg:      rgba(16, 185, 129, 0.12);
  --red:           #ef4444;
  --red-light:     #f87171;
  --red-bg:        rgba(239, 68, 68, 0.12);
  --yellow:        #f59e0b;
  --yellow-bg:     rgba(245, 158, 11, 0.12);
  --purple:        #8b5cf6;
  --purple-bg:     rgba(139, 92, 246, 0.12);
  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #475569;
  --sidebar-w:     260px;
  --header-h:      64px;
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 10px; }

/* ─── LAYOUT ─── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  padding: 28px 32px;
  flex: 1;
}

/* ─── SIDEBAR ─── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.logo-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.sidebar-section {
  padding: 8px 12px;
}

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 12px 8px 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  user-select: none;
}

.sidebar-item:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.sidebar-item .icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.sidebar-badge {
  margin-left: auto;
  background: var(--red);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
}

.user-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-info .user-name { font-size: 0.8rem; font-weight: 600; }
.user-info .user-role { font-size: 0.7rem; color: var(--text-muted); }

/* ─── HEADER ─── */
.topbar {
  height: var(--header-h);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn-icon {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.btn-icon:hover { background: var(--bg-card-hover); color: var(--text-primary); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(59,130,246,0.3); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover { background: var(--bg-card-hover); }

.btn-success {
  background: var(--green);
  color: white;
}
.btn-success:hover { filter: brightness(1.1); }

.btn-danger {
  background: transparent;
  color: var(--red-light);
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: var(--red-bg); }

.btn-warning {
  background: var(--yellow);
  color: #1a1a1a;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.7rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── CARDS ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--transition);
}

.card:hover { border-color: var(--border-light); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ─── STATS GRID ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 2px;
}

.stat-card.blue::before { background: linear-gradient(90deg, var(--accent), transparent); }
.stat-card.green::before { background: linear-gradient(90deg, var(--green), transparent); }
.stat-card.purple::before { background: linear-gradient(90deg, var(--purple), transparent); }
.stat-card.yellow::before { background: linear-gradient(90deg, var(--yellow), transparent); }

.stat-card:hover { transform: translateY(-2px); border-color: var(--border-light); }

.stat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.stat-icon.blue { background: var(--accent-glow); }
.stat-icon.green { background: var(--green-bg); }
.stat-icon.purple { background: var(--purple-bg); }
.stat-icon.yellow { background: var(--yellow-bg); }

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-trend {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}

.stat-trend.up { background: var(--green-bg); color: var(--green); }
.stat-trend.down { background: var(--red-bg); color: var(--red); }

/* ─── DATA TABLE ─── */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  border-bottom: 1px solid var(--border);
}

th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}

td {
  padding: 13px 14px;
  font-size: 0.815rem;
  border-bottom: 1px solid rgba(30,45,74,0.4);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }

tbody tr {
  transition: var(--transition);
}

tbody tr:hover {
  background: rgba(255,255,255,0.015);
}

.td-code {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--accent-light);
  background: rgba(59,130,246,0.08);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}

.badge-live { background: var(--green-bg); color: var(--green); }
.badge-live::before { background: var(--green); box-shadow: 0 0 4px var(--green); animation: pulse 2s infinite; }
.badge-offline { background: var(--red-bg); color: var(--red-light); }
.badge-offline::before { background: var(--red); }
.badge-idle { background: var(--yellow-bg); color: var(--yellow); }
.badge-idle::before { background: var(--yellow); }
.badge-online { background: var(--green-bg); color: var(--green); }
.badge-online::before { background: var(--green); box-shadow: 0 0 4px var(--green); animation: pulse 2s infinite; }
.badge-unknown { background: rgba(100,116,139,0.15); color: var(--text-muted); }
.badge-unknown::before { background: var(--text-muted); }
.badge-origin { background: var(--accent-glow); color: var(--accent-light); }
.badge-origin::before { background: var(--accent); }
.badge-edge { background: var(--purple-bg); color: var(--purple); }
.badge-edge::before { background: var(--purple); }
.badge-nginx { background: var(--yellow-bg); color: var(--yellow); }
.badge-nginx::before { background: var(--yellow); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── FORMS ─── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.cols-1 { grid-template-columns: 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.span-2 { grid-column: span 2; }

label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

label .required { color: var(--red); margin-left: 2px; }

input, select, textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

select option { background: var(--bg-secondary); }

textarea { resize: vertical; min-height: 80px; }

.form-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-lg { max-width: 820px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 1rem; font-weight: 700; }

.modal-close {
  width: 30px; height: 30px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: var(--red-bg); color: var(--red-light); border-color: rgba(239,68,68,0.3); }

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ─── URL PREVIEW BOX ─── */
.url-preview {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.url-preview code {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--accent-light);
  word-break: break-all;
}

/* ─── CONFIG PREVIEW ─── */
.code-block {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
}

.code-block pre {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: #e6edf3;
  line-height: 1.7;
  white-space: pre;
}

.code-comment { color: #8b949e; }
.code-key { color: #79c0ff; }
.code-value { color: #a5d6ff; }
.code-directive { color: #ff7b72; }
.code-string { color: #a8ff78; }

/* ─── CHART AREA ─── */
.chart-wrapper {
  position: relative;
  height: 200px;
}

/* ─── DEPLOY LOG ─── */
.deploy-log {
  background: #0a0d14;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--green);
  max-height: 220px;
  overflow-y: auto;
  line-height: 1.8;
}

.deploy-log .log-err { color: var(--red-light); }
.deploy-log .log-warn { color: var(--yellow); }
.deploy-log .log-info { color: var(--accent-light); }

/* ─── PAGE HEADER ─── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-header-left h2 {
  font-size: 1.4rem;
  font-weight: 800;
}

.page-header-left p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}

.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent-light); border-bottom-color: var(--accent); }

/* ─── SECTION DIVIDER ─── */
.section-divider {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 20px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gap-4 { gap: 16px; }

/* ─── ALERTS ─── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  border-left: 3px solid;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-info { background: var(--accent-glow); border-color: var(--accent); color: var(--accent-light); }
.alert-success { background: var(--green-bg); border-color: var(--green); color: var(--green-light); }
.alert-error { background: var(--red-bg); border-color: var(--red); color: var(--red-light); }
.alert-warning { background: var(--yellow-bg); border-color: var(--yellow); color: var(--yellow); }

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 { font-size: 1rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 0.8rem; }

/* ─── SERVER CARD ─── */
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.server-card:hover { border-color: var(--border-light); transform: translateY(-2px); }

.server-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.server-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.server-icon.origin { background: var(--accent-glow); }
.server-icon.edge { background: var(--purple-bg); }
.server-icon.nginx { background: var(--yellow-bg); }

.server-meta {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
}

.server-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(30,45,74,0.5);
  color: var(--text-secondary);
}

.server-meta-item:last-child { border: none; }
.server-meta-item span:last-child { color: var(--text-primary); font-weight: 500; }

/* ─── NOTIFICATION TOAST ─── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-icon { font-size: 1.1rem; }
.toast-msg { font-size: 0.8rem; font-weight: 500; flex: 1; }

.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--accent); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── PROGRESS / LOADING ─── */
.loading-bar {
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.loading-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  border-radius: 3px;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% { width: 0%; margin-left: 0; }
  50% { width: 70%; margin-left: 15%; }
  100% { width: 0%; margin-left: 100%; }
}

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TRANSITIONS ─── */
.fade-enter-active, .fade-leave-active { transition: opacity 0.2s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

.slide-enter-active, .slide-leave-active { transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-enter-from { opacity: 0; transform: translateX(16px); }
.slide-leave-to { opacity: 0; transform: translateX(-16px); }

/* ─── DETAIL ROW ─── */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(30,45,74,0.4);
  font-size: 0.8rem;
}

.detail-row:last-child { border: none; }
.detail-label { color: var(--text-muted); font-weight: 500; }
.detail-value { color: var(--text-primary); font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-content { padding: 16px; }
}

/* ─── COPY BUTTON ─── */
.copy-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  padding: 4px 10px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.copy-btn:hover { background: var(--accent-glow); color: var(--accent-light); border-color: rgba(59,130,246,0.3); }

/* ─── SELECT MULTI ─── */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  max-height: 160px;
  overflow-y: auto;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  accent-color: var(--accent);
}
