/* Listmonk public pages — dark theme (subscribe / manage / login) */
:root {
  color-scheme: dark;
}

html, body {
  background: #0d1117 !important;
  color: #e6edf3 !important;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(88, 166, 255, 0.12), transparent 55%),
    #0d1117 !important;
}

a {
  color: #58a6ff !important;
  text-decoration-color: rgba(88, 166, 255, 0.45) !important;
}
a:hover {
  color: #79b8ff !important;
}

label {
  color: #c9d1d9 !important;
}

h1, h2, h3, h4 {
  color: #e6edf3 !important;
}

.wrap {
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.header {
  border-bottom-color: #30363d !important;
}

.header .logo img {
  filter: brightness(1.05);
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  background: #0d1117 !important;
  color: #e6edf3 !important;
  border: 1px solid #30363d !important;
  box-shadow: none !important;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #58a6ff !important;
  outline: none;
}
input::placeholder {
  color: #6e7681 !important;
}

.button {
  background: #238636 !important;
  color: #fff !important;
}
.button:hover {
  background: #2ea043 !important;
  color: #fff !important;
}
.button.button-outline {
  background: transparent !important;
  border: 1px solid #58a6ff !important;
  color: #58a6ff !important;
}
.button.button-outline:hover {
  background: rgba(88, 166, 255, 0.12) !important;
  border-color: #79b8ff !important;
  color: #79b8ff !important;
}

.lists .description {
  color: #8b949e !important;
}

.unsub-all {
  border-top-color: #30363d !important;
}

.archive .date {
  color: #8b949e !important;
}

.error {
  color: #f85149 !important;
}

footer.container,
footer a {
  color: #8b949e !important;
}
footer a:hover {
  color: #58a6ff !important;
}

.login input[name="totp_code"] {
  background: #0d1117 !important;
  color: #e6edf3 !important;
  border-color: #30363d !important;
}
