/* 1. RESET & GLOBALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background-color: #161a2b; /* dark navy background */
  color: #fff;               /* light text for contrast */
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Link Defaults */
a {
  text-decoration: none;
  color: #cdb48a; /* a subtle gold/tan color for links */
  transition: color 0.3s ease;
}

a:hover {
  color: #e0c390; /* slightly brighter on hover */
}

/* 2. HEADER / NAV */
.header {
  background-color: transparent; /* or #161a2b to match the site background */
  padding: 1rem 0;
  border-bottom: 1px solid #2c2f46; /* subtle border to define nav area */
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px; /* adjust if you want a bigger logo */
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a.active {
  color: #fefefe; /* highlight the active link with a brighter color */
}

/* 3. HERO SECTION (Home) */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  text-align: center;
}

.hero-content {
  max-width: 700px;
}

.hero-subtitle {
  font-size: 1rem;
  color: #c2c2c2; /* subtle text color for smaller line */
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #c2c2c2;
}

/* Button in Hero */
.hero-button {
  display: inline-block;
  background-color: #cdb48a;
  color: #161a2b;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #e0c390;
}

.hero-home {
  padding: 4rem 0 2rem;
  display: block;
  text-align: left;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: #cdb48a;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-card {
  background: radial-gradient(circle at 10% 20%, rgba(205, 180, 138, 0.12), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(205, 180, 138, 0.12), transparent 28%),
              #1b1f33;
  border: 1px solid #2c2f46;
  padding: 1.75rem;
  border-radius: 14px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}

.card-lede {
  color: #c2c2c2;
  margin: 0.5rem 0 1.25rem;
}

.card-footnote {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #8b8fa9;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.metric {
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: rgba(33, 38, 64, 0.7);
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  display: block;
}

.metric-label {
  color: #8b8fa9;
  font-size: 0.95rem;
}

/* SHARED COMPONENTS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: #212640;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #2c3154;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid #cdb48a;
  outline-offset: 2px;
}

.button-accent {
  background-color: #cdb48a;
  border-color: #cdb48a;
  color: #161a2b;
}

.button-accent:hover {
  background-color: #e0c390;
}

.button-outline {
  background-color: transparent;
  border-color: #cdb48a;
  color: #cdb48a;
}

.button-outline:hover {
  background-color: rgba(205, 180, 138, 0.12);
}

.button-ghost {
  background-color: transparent;
  border-color: #2c2f46;
  color: #c2c2c2;
}

.button-ghost:hover {
  border-color: #cdb48a;
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  background-color: #1b1f33;
  border: 1px solid #2c2f46;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: #6f7390;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #cdb48a;
  box-shadow: 0 0 0 2px rgba(205, 180, 138, 0.25);
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c2c2c2;
}

.hint {
  font-weight: 400;
  color: #8b8fa9;
}

.form-helper {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: #8b8fa9;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #c2c2c2;
}

.form-feedback.error {
  color: #f06b80;
}

.form-feedback.success {
  color: #5ad88f;
}

.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(205, 180, 138, 0.18);
  color: #f0d5a4;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  margin-left: 0.6rem;
}

.noscript-warning {
  background-color: rgba(240, 107, 128, 0.1);
  border: 1px solid rgba(240, 107, 128, 0.35);
  color: #f6b0be;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* 4. BLOG (blog.html) */
.blog-hero {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.blog-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.blog-subtitle {
  font-size: 1.1rem;
  color: #c2c2c2;
}

/* Blog Posts Layout */
.blog-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-post {
  background-color: #212640; /* slightly lighter than background for contrast */
  padding: 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.blog-post:hover {
  background-color: #2c3154;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.9rem;
  color: #c2c2c2;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin-bottom: 1rem;
  color: #efefef;
  line-height: 1.6;
}

.read-more {
  font-weight: 600;
  background: none;
  border: none;
  color: #cdb48a;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.read-more:hover {
  color: #e0c390;
}

body.overlay-open {
  overflow: hidden;
}

.post-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.overlay-card {
  position: relative;
  background: #1b1f33;
  border: 1px solid #2c2f46;
  border-radius: 14px;
  padding: 1.5rem;
  width: min(760px, 92vw);
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.overlay-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: 1px solid #2c2f46;
  color: #c2c2c2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.overlay-close:hover {
  color: #fff;
  border-color: #cdb48a;
}

.overlay-date {
  color: #8b8fa9;
  margin-bottom: 0.35rem;
}

.overlay-body p {
  margin-bottom: 1rem;
  color: #efefef;
}

/* 5. BRAINSTORM (brainstorm.html) */
.brainstorm-hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.brainstorm-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.brainstorm-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: #c2c2c2;
  font-size: 1.05rem;
}

.brainstorm-board {
  margin-bottom: 4rem;
  background-color: #1c2036;
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
}

.prompt-form {
  margin-bottom: 2.75rem;
  background-color: #1b1f33;
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 1.85rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.prompt-form.collapsed {
  display: none;
}

.board-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.board-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.board-description {
  color: #c2c2c2;
  max-width: 520px;
}

.board-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
}

.board-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.control-label {
  font-size: 0.95rem;
  color: #c2c2c2;
}

.control-select {
  background-color: #212640;
  color: #fff;
  border: 1px solid #2c2f46;
  padding: 0.5rem 1.5rem 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.control-select:focus {
  outline: none;
  border-color: #cdb48a;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-chip {
  background-color: #212640;
  border: 1px solid #2c2f46;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: #e7e7e7;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.filter-chip:hover {
  border-color: #cdb48a;
}

.filter-chip.active {
  background-color: #cdb48a;
  color: #161a2b;
  border-color: #cdb48a;
}

.ideas-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.idea-card {
  display: flex;
  background-color: #212640;
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 1.5rem;
  gap: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.idea-card:hover {
  transform: translateY(-4px);
  border-color: #cdb48a;
}

.vote-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 64px;
  background-color: #1b1f33;
  border-radius: 8px;
  padding: 0.75rem 0.4rem;
}

.vote-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  color: #cdb48a;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.vote-btn:hover {
  background-color: rgba(205, 180, 138, 0.15);
  color: #e0c390;
}

.vote-btn.active {
  background-color: rgba(205, 180, 138, 0.3);
  color: #f7e0bd;
}

.vote-score {
  font-size: 1.2rem;
  font-weight: 600;
}

.vote-score.positive {
  color: #5ad88f;
}

.vote-score.negative {
  color: #f06b80;
}

.idea-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.idea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #c2c2c2;
}

.idea-category {
  font-weight: 600;
  color: #f0d5a4;
}

.idea-tag {
  background-color: rgba(90, 216, 143, 0.12);
  color: #5ad88f;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.idea-time {
  opacity: 0.75;
}

.idea-title {
  font-size: 1.3rem;
  line-height: 1.4;
}

.idea-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #c2c2c2;
}

.idea-stat strong {
  font-weight: 600;
  color: #fff;
  margin-right: 0.35rem;
}

.idea-link {
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #c2c2c2;
  border: 1px dashed #2c2f46;
  border-radius: 10px;
  margin-top: 2rem;
}

.empty-state.small {
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.hidden {
  display: none;
}

/* THREAD VIEW (brainstorm-thread.html) */
.thread {
  padding: 3rem 0 4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  color: #cdb48a;
  font-weight: 600;
}

.back-link:hover {
  color: #e0c390;
}

.thread-loading,
.thread-error {
  background-color: #212640;
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  color: #c2c2c2;
  margin-bottom: 2rem;
}

.thread-error {
  border-color: rgba(240, 107, 128, 0.45);
  color: #f6b0be;
}

.thread-card {
  display: flex;
  gap: 2rem;
  background-color: #212640;
  border: 1px solid #2c2f46;
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
}

.vote-stack-large {
  gap: 1rem;
  min-width: 80px;
  padding: 1rem 0.5rem;
}

.vote-stack-large .vote-btn {
  width: 44px;
  height: 44px;
  font-size: 1.15rem;
}

.vote-stack-large .vote-score {
  font-size: 1.5rem;
}

.thread-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: #c2c2c2;
}

.thread-category {
  font-weight: 600;
  color: #f0d5a4;
}

.thread-time {
  opacity: 0.75;
}

.thread-title {
  font-size: 2.1rem;
  line-height: 1.35;
}

.thread-context {
  color: #c2c2c2;
  font-size: 1rem;
}

.thread-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: #c2c2c2;
}

.thread-stats strong {
  color: #fff;
}

.thread-baseline {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #8b8fa9;
}

.thread-discussion {
  margin-top: 3rem;
}

.discussion-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.comment-form textarea {
  min-height: 160px;
}

.comments-divider {
  border-top: 1px solid #2c2f46;
  margin: 2.5rem 0 2rem;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-card {
  background-color: #212640;
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.comment-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #8b8fa9;
}

.comment-author {
  font-weight: 600;
  color: #f0d5a4;
}

.comment-date {
  color: #6f7390;
}

.comment-body {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #efefef;
}

/* 6. FOOTER */
.footer {
  border-top: 1px solid #2c2f46;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  color: #c2c2c2;
  font-size: 0.9rem;
}

/* 7. MEDIA QUERIES */
@media (max-width: 1024px) {
  .brainstorm-board {
    padding: 2rem;
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .brainstorm-board {
    padding: 1.75rem;
  }

  .board-header {
    align-items: stretch;
  }

  .board-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .prompt-form {
    padding: 1.65rem;
  }

  .idea-card {
    flex-direction: column;
  }

  .vote-stack {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
    gap: 1rem;
  }

  .thread-card {
    flex-direction: column;
    padding: 2rem;
  }

  .vote-stack-large {
    flex-direction: row;
    justify-content: flex-start;
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .brainstorm-hero {
    padding: 3rem 0 1.5rem;
  }

  .brainstorm-title {
    font-size: 1.9rem;
  }

  .brainstorm-board {
    padding: 1.5rem;
  }

  .board-header {
    align-items: flex-start;
  }

  .board-actions {
    gap: 0.75rem;
  }

  .board-controls {
    width: 100%;
  }

  .control-select {
    width: 100%;
  }

  .stacked-form.compact {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .vote-stack {
    width: 100%;
  }

  .idea-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .vote-stack-large {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .thread-title {
    font-size: 1.75rem;
  }

  .thread-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .comment-card {
    padding: 1.25rem;
  }
}
@media (min-width: 768px) {
  .blog-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-posts {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-title {
    font-size: 3rem;
  }
}

/* LANDING + NEWSLETTER + IDEA LAB */
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.section-description {
  color: #c2c2c2;
  max-width: 720px;
}

.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stacked-form.compact {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
}

.stacked-form.compact .form-field {
  flex: 1 1 240px;
}

.stacked-form.compact button {
  height: 46px;
}

.live-feed {
  padding: 2rem 0 1rem;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.prompt-tile {
  border: 1px solid #2c2f46;
  background: #1b1f33;
  padding: 1.25rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
}

.prompt-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.prompt-title {
  font-size: 1.2rem;
  line-height: 1.4;
}

.prompt-stats {
  display: flex;
  gap: 1rem;
  color: #c2c2c2;
  font-size: 0.95rem;
}

.newsletter-preview {
  padding: 2rem 0 2rem;
}

.newsletter-card {
  border: 1px solid #2c2f46;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(205, 180, 138, 0.08), rgba(33, 38, 64, 0.75));
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.newsletter-list {
  display: grid;
  gap: 0.75rem;
}

.newsletter-item {
  background: rgba(27, 31, 51, 0.7);
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.idea-lab .idea-form {
  margin-top: 1.5rem;
  background: #1b1f33;
  border: 1px solid #2c2f46;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  gap: 1rem;
}

.card {
  border: 1px solid #2c2f46;
  border-radius: 12px;
  background: #1b1f33;
}

/* ADMIN PANEL */
.admin-shell {
  padding: 2.5rem 0 4rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.admin-title {
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.admin-subtitle {
  color: #8b8fa9;
  max-width: 580px;
}

.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-card {
  background: #1b1f33;
  border: 1px solid #2c2f46;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.admin-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b8fa9;
  margin-bottom: 0.4rem;
}

.admin-card-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.admin-card-meta {
  color: #c2c2c2;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.admin-card-subtle {
  color: #8b8fa9;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.admin-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.admin-section {
  margin-top: 2.5rem;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-table-wrap {
  border: 1px solid #2c2f46;
  border-radius: 12px;
  overflow: auto;
  background: #1b1f33;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #2c2f46;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #cdb48a;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-table tbody tr:hover {
  background: rgba(33, 38, 64, 0.7);
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #2c2f46;
  background: rgba(33, 38, 64, 0.65);
  font-size: 0.8rem;
}

.admin-login {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

.admin-login-card {
  max-width: 520px;
  width: 100%;
  text-align: left;
}

.admin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 1rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 200px;
  flex: 1;
}

.admin-field span {
  font-size: 0.85rem;
  color: #8b8fa9;
}

.admin-hint {
  margin-top: 1rem;
  color: #8b8fa9;
  font-size: 0.85rem;
}

.admin-status {
  margin-top: 1rem;
  color: #c2c2c2;
}

.admin-status.success {
  color: #cdb48a;
}

.admin-status.error {
  color: #f28b8b;
}

.admin-newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.admin-draft {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.admin-list {
  margin-top: 0.5rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.admin-list li {
  border: 1px solid #2c2f46;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: rgba(33, 38, 64, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-list li span {
  color: #8b8fa9;
  font-size: 0.85rem;
}

.admin-send {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #c2c2c2;
}

.admin-toggle input {
  width: auto;
}
