:root {
  --bg: #0c1a12;
  --card: #10261b;
  --muted: #8bbfa1;
  --text: #e8f8ef;
  --accent: #4ade80;
  --accent-2: #22c55e;
  --border: #163426;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.07), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(74, 222, 128, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
}

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

.actions {
  display: flex;
  gap: 10px;
}

button {
  cursor: pointer;
  background: var(--accent);
  color: #052914;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.5);
  box-shadow: none;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.badge {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

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

.topic {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

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

input,
textarea {
  background: #0c1e13;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.danger {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.6);
  box-shadow: none;
}

@media (max-width: 640px) {
  .content-list {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none;
}

.section-title {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reminders-list {
  display: grid;
  gap: 12px;
}

.reminder-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
