/* Shared card look for dark Breathe theme */

.bat-toc-card,
.bat-mood-card,
.bat-note-card {
  background: #050814;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  color: #eaeff7;
}

/* Subheading label inside cards */
.bat-card-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

/* Table of contents */

.bat-toc-card {
  margin-bottom: 1.5rem;
}

.bat-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bat-toc-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.bat-toc-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bat-toc-button {
  background: transparent;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #eaeff7;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  line-height: 1.2;
  cursor: pointer;
}

.bat-toc-button:hover {
  border-color: #0fb5d1;
}

.bat-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bat-toc-list li {
  margin-bottom: 0.35rem;
}

.bat-toc-list a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.bat-toc-list a:hover {
  text-decoration: underline;
  color: #0fb5d1;
}

.bat-toc-list a.bat-toc-current {
  border-left: 2px solid #0fb5d1;
  padding-left: 0.4rem;
  color: #f9fafb;
}

/* Mood chips */

.bat-mood-card {
  margin: 1.5rem 0;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.7);
}

.bat-mood-label {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.bat-mood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bat-mood-chip {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #eaeff7;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.bat-mood-chip:hover {
  border-color: #0fb5d1;
}

.bat-mood-chip.is-active {
  background: #0fb5d1;
  border-color: #0fb5d1;
  color: #020617;
}

/* Private note card */

.bat-note-card {
  margin: 1.5rem 0;
  background: #f9fafb;
  color: #020617;
  border-color: rgba(148, 163, 184, 0.5);
}

.bat-note-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #020617;
}

.bat-note-help {
  font-size: 0.8rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.bat-note-textarea {
  width: 100%;
  min-height: 160px;
  background: #020617;
  color: #e5e7eb;
  border-radius: 10px;
  border: 1px solid rgba(15, 118, 110, 0.9);
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  resize: vertical;
}

.bat-note-textarea::placeholder {
  color: #6b7280;
}

.bat-note-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.bat-btn-primary,
.bat-btn-secondary {
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.bat-btn-primary {
  background: #0fb5d1;
  color: #020617;
}

.bat-btn-primary:hover {
  filter: brightness(1.08);
}

.bat-btn-secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.8);
  color: #111827;
}

.bat-btn-secondary:hover {
  border-color: #0fb5d1;
}

/* CTA strip */

.bat-cta-strip {
  margin: 2rem 0 1.5rem;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(90deg, #0fb5d1, #06b6d4);
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bat-cta-content {
  max-width: 640px;
}

.bat-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bat-cta-text {
  font-size: 0.9rem;
}

.bat-cta-action {
  flex-shrink: 0;
}

.bat-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #020617;
  color: #eaeff7;
  border: 0;
  cursor: pointer;
}

.bat-cta-button:hover {
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .bat-cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
