@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== LIGHT THEME (default) ===== */
:root {
  --bg-body: #f5f7fa;
  --bg-sidebar: #ffffff;
  --bg-content: #f5f7fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.9);
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-soft: rgba(59, 130, 246, 0.06);
  --green: #10b981;
  --red: #ef4444;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --orange: #f97316;
  --cyan: #06b6d4;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --sidebar-active-bg: rgba(59, 130, 246, 0.08);
  --sidebar-active-color: #3b82f6;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --bg-body: #0f172a;
  --bg-sidebar: #1e293b;
  --bg-content: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #273548;
  --bg-input: #0f172a;
  --bg-header: rgba(30, 41, 59, 0.9);
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --accent-soft: rgba(59, 130, 246, 0.1);
  --green: #34d399;
  --red: #f87171;
  --yellow: #fbbf24;
  --blue: #60a5fa;
  --purple: #a78bfa;
  --orange: #fb923c;
  --cyan: #22d3ee;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.35);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.45);
  --sidebar-active-bg: rgba(59, 130, 246, 0.12);
  --sidebar-active-color: #60a5fa;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ===== APP LAYOUT ===== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 240px;
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  transition: transform 0.3s ease, background 0.3s;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 4px 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.sidebar-logo-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.sidebar-logo-text span {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0;
}

.sidebar-group-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  padding: 18px 14px 6px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.sidebar-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.sidebar-nav a.active {
  color: var(--sidebar-active-color);
  background: var(--sidebar-active-bg);
  font-weight: 600;
}

.sidebar-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-xs);
}

.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-info .name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-info .role {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  width: 100%;
  border-radius: var(--radius-xs);
  transition: all 0.15s;
  font-weight: 500;
}

.theme-toggle:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.theme-toggle svg { width: 16px; height: 16px; }

/* Theme icon visibility */
[data-theme="light"] .theme-icon-light,
[data-theme="light"] .theme-text-light { display: none; }
[data-theme="dark"] .theme-icon-dark,
[data-theme="dark"] .theme-text-dark { display: none; }

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s;
}

/* ===== HEADER BAR ===== */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 28px;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 1rem;
}

.header-icon-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.header-icon-btn svg { width: 16px; height: 16px; }

.header-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ===== PAGE CONTENT WRAPPER ===== */
.page-content {
  padding: 24px 28px;
  flex: 1;
}

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-card .stat-icon-circle svg { width: 22px; height: 22px; }

.stat-card .stat-icon-circle.green { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.stat-card .stat-icon-circle.red { background: rgba(239, 68, 68, 0.1); color: var(--red); }
.stat-card .stat-icon-circle.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.stat-card .stat-icon-circle.purple { background: rgba(139, 92, 246, 0.1); color: var(--purple); }
.stat-card .stat-icon-circle.yellow { background: rgba(245, 158, 11, 0.1); color: var(--yellow); }
.stat-card .stat-icon-circle.orange { background: rgba(249, 115, 22, 0.1); color: var(--orange); }
.stat-card .stat-icon-circle.cyan { background: rgba(6, 182, 212, 0.1); color: var(--cyan); }

.stat-card .stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-card .stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.stat-card .stat-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ===== CARD ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s;
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.card-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body { padding: 20px; }

/* ===== TABLE ===== */
.panel-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s;
}

.panel-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.panel-table-header h2 {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-wrapper {
  overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; }

th, td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 600;
  background: transparent;
}

td { font-size: 0.85rem; }

tbody tr { transition: background 0.15s; }
tbody tr:hover { background: var(--bg-card-hover); }
tbody tr:last-child td { border-bottom: none; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge svg { width: 12px; height: 12px; }

.badge.online, .badge.success { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.badge.offline, .badge.fail { background: rgba(239, 68, 68, 0.1); color: var(--red); }
.badge.unknown { background: rgba(245, 158, 11, 0.1); color: var(--yellow); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  color: var(--text-primary);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-sm { padding: 6px 12px; font-size: 0.78rem; }
.btn-sm svg { width: 14px; height: 14px; }

.btn-danger { background: rgba(239, 68, 68, 0.08); color: var(--red); border-color: rgba(239, 68, 68, 0.15); }
.btn-danger:hover { background: rgba(239, 68, 68, 0.15); }

.btn-success { background: rgba(16, 185, 129, 0.08); color: var(--green); border-color: rgba(16, 185, 129, 0.15); }
.btn-success:hover { background: rgba(16, 185, 129, 0.15); }

.btn-warning { background: rgba(245, 158, 11, 0.08); color: var(--yellow); border-color: rgba(245, 158, 11, 0.15); }
.btn-warning:hover { background: rgba(245, 158, 11, 0.15); }

.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); }

.btn-group { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, textarea.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.3s;
}

.form-input:focus, textarea.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card);
}

.form-input::placeholder { color: var(--text-muted); }

select.form-input { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.15s ease;
}

.modal-overlay.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 92%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.2s ease;
}

.modal h2 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ===== TOGGLE SWITCH ===== */
.toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--border-strong);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  flex-shrink: 0;
}

.toggle.active { background: var(--accent); }

.toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.toggle.active::after { transform: translateX(18px); }

/* ===== LOGIN ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-body);
  padding: 20px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.login-card h1 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.login-card p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 32px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ===== TOAST ===== */
#toastContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background: var(--green);
  color: #fff;
}

.toast-error {
  background: var(--red);
  color: #fff;
}

/* ===== TABS ===== */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tab-bar button {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 400;
  font-size: 0.88rem;
  font-family: inherit;
}

.tab-bar button:last-child { border-right: none; }

.tab-bar button.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.tab-bar button svg { width: 16px; height: 16px; }

/* ===== MOBILE TOPBAR ===== */
.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}

.topbar h1 {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}

.hamburger {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.hamburger svg { width: 22px; height: 22px; }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
    box-shadow: var(--shadow-lg);
  }

  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .app-layout { flex-direction: column; }
  .topbar { display: flex; }

  .main-content { margin-left: 0; }

  .header-bar { display: none; }

  .page-content {
    padding: 16px;
    overflow-x: hidden;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
    gap: 12px;
  }
  .stat-card .stat-icon-circle { width: 40px; height: 40px; font-size: 1rem; }
  .stat-card .stat-value { font-size: 1.2rem; }
  .stat-card .stat-label { font-size: 0.62rem; }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header .btn-group {
    width: 100%;
  }

  .page-header .btn-group .btn {
    flex: 1;
    justify-content: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .panel-table { border-radius: var(--radius-sm); }

  .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  th, td { padding: 10px 12px; font-size: 0.78rem; white-space: nowrap; }

  .modal { width: 95%; max-width: calc(100vw - 32px); padding: 20px; }

  .btn-group { width: 100%; }

  .card-body { padding: 16px; }

  .card-header { padding: 14px 16px; }

  .tab-bar button { font-size: 0.78rem; padding: 10px 8px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }

  .stat-card {
    padding: 16px;
    gap: 14px;
  }
  .stat-card .stat-icon-circle { width: 44px; height: 44px; }
  .stat-card .stat-value { font-size: 1.4rem; }

  .page-content { padding: 12px; }
  .page-header h1 { font-size: 1.2rem; }

  .modal { width: 98%; max-width: calc(100vw - 16px); padding: 16px; margin: 8px; }
  .modal h2 { font-size: 1rem; }

  .panel-table-header { padding: 12px 14px; }
  .panel-table-header h2 { font-size: 0.88rem; }

  th, td { padding: 8px 10px; font-size: 0.75rem; }

  .btn { padding: 8px 14px; font-size: 0.8rem; }
  .btn-sm { padding: 6px 10px; font-size: 0.75rem; }

  .form-input { font-size: 0.85rem; padding: 9px 12px; }

  .login-card { padding: 28px 20px; }
}
