:root {
  --bg: #f9fafb;
  --card: #ffffff;
  --muted: #090909;
  --accent: #d6223b;
  --accent-light: #fbbfc7;
  --success: #16a34a;
  --mono: "SFMono-Regular", ui-monospace, monospace;
  --radius: 12px;
  --space: 16px;
}

/* :root {
  --primary-red: #d6223b;
  --primary-red-dark: #b71c32;
  --white: #ffffff;
  --success-green: #28a745;
  --amber-yellow: #f39c12;
  --info-blue: #007bff;
  --light-row-bg: #fde8ea;
  --text-color: #333333;
  --muted-text: #6b7280;
  --card-bg: #ffffff;
  --bg: #f9fafb;
  --border: #e5e7eb;
  --mono: "SFMono-Regular", ui-monospace, monospace;
  --radius: 10px;
  --spacing: 0.5rem 1rem;
} */







* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: #111827;
  background-color: var(--bg);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 36px auto;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  margin-bottom: var(--space);
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

header p {
  margin: 0 auto;
  max-width: 500px;
  color: var(--muted);
  font-size: .9rem;
}

nav {
  background: var(--accent-light);
  padding: 8px;
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: var(--space);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

nav a:hover {
  background: var(--accent);
  color: white;
}

main {
  padding: 8px;
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
}

h2 {
  margin-top: 0;
  font-size: 1.125rem;
  color : #d6223b
}

.muted {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

pre {
  background: #f3f4f6;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
  color: #1f2937;
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid #e5e7eb;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.btn {
  background: var(--accent);
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn.copied {
  background: var(--success) !important;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  flex-wrap: wrap;
  gap: 8px;
}
