/* Minimal codingcareer.de-inspired styling for listmonk */
/* Paste this into Settings > Appearance > Public > Custom CSS */

:root {
  --bg: #000;
  --bg-card: #111;
  --text: #fff;
  --text-muted: #a0a0a0;
  --accent: #00ffff;
  --border: #222;
}

/* Base - override default listmonk styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg) !important;
  color: var(--text);
  line-height: 1.6;
}

/* Override default white wrap background */
.wrap {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* All text elements */
h1, h2, h3, h4, p, div, span, li, label {
  color: var(--text);
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container, .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.logo img {
  max-width: 200px;
  height: auto;
}

/* Headings */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Section content */
section {
  color: var(--text);
}

section > div,
section > p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Form inputs */
input[type="email"],
input[type="text"],
input[type="password"],
textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}

input::placeholder {
  color: var(--text-muted);
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Buttons */
.button, button, input[type="submit"] {
  display: inline-block;
  background: linear-gradient(135deg, #00ffff, #0f0);
  color: #000;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.button:hover, button:hover, input[type="submit"]:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* Lists (subscription options) */
.lists {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.lists li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text);
}

.lists label {
  color: var(--text);
}

.lists input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.lists .description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 1.5rem;
}

/* Footer - replace "Powered by listmonk" with "CodingCareer" */
footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 2rem;
  padding: 1rem;
  visibility: hidden;
}

footer::after {
  content: "CodingCareer";
  visibility: visible;
  display: block;
  color: var(--accent);
  font-weight: 600;
}

footer a {
  display: none;
}

/* Hide honeypot */
.nonce {
  display: none;
}

/* Home page options */
.home-options {
  margin-top: 1.5rem;
}

.home-options a {
  display: block;
  margin: 0.5rem 0;
}

/* Center helper */
.center {
  text-align: center;
}

/* Archive link */
.right {
  margin-top: 1rem;
}
