/* === Dark Mode Enhancements for Listmonk Subscribe Page === */
:root {
	--gap: 24px;
	--content-gap: 20px;
	--radius: 8px;
	--font-family: 'Inter', sans-serif;
	--theme: #1d1e20;
	--entry: #2e2e33;
	--primary: #dadadb;
	--secondary: #9b9c9d;
	--tertiary: #414244;
	--content: #c4c4c5;
	--code-block-bg: #2e2e33;
	--code-bg: #37383e;
	--border: #333333;
	--accent: #4fd1c5;
	/* teal accent, adjust to your brand color */
	--error: #e57373;
	--success: #81c784;
}

body {
	background: var(--theme);
	color: var(--primary);
	font-family: var(--font-family);
	padding: var(--content-gap);
	min-height: 100vh;
}

/* Containers */
.container,
.wrap,
section,
form {
	background-color: var(--theme);
	color: var(--primary);
}


header {
	color: var(--secondary);
}

footer {
	background-color: var(--entry);
	color: var(--secondary);
}

/* Headings */
h1,
h2,
h3 {
	color: var(--primary);
}

/* Inputs and Labels */
label {
	color: var(--secondary);
	display: block;
	margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
textarea,
select {
	background-color: var(--entry);
	border: 1px solid var(--border);
	color: var(--primary);
	border-radius: var(--radius);
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
	color: var(--tertiary);
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--accent);
	background-color: var(--code-bg);
}

/* Checkbox and lists */
ul.lists {
	list-style: none;
	padding-left: 0;
}

ul.lists li {
	background: var(--entry);
	padding: 12px;
	border-radius: var(--radius);
	margin-bottom: 10px;
	border: 1px solid var(--border);
}

ul.lists li label {
	color: var(--primary);
	font-weight: 500;
}

ul.lists .description {
	color: var(--secondary);
	font-size: 0.9em;
}

/* Button */
button,
.button {
	background-color: var(--accent);
	border: none;
	color: #000;
	font-weight: 600;
	padding: 10px 16px;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background 0.2s ease-in-out;
}

button:hover,
.button:hover {
	background-color: color-mix(in srgb, var(--accent) 85%, black);
}

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

a:hover {
	text-decoration: underline;
}

/* Captcha (ALTCHA) */
.altcha {
	background-color: var(--entry) !important;
	border: 1px solid var(--border) !important;
	color: var(--primary) !important;
}

.altcha-label,
.altcha-footer,
.altcha-logo {
	color: var(--secondary) !important;
}

/* Footer */
footer.container {
	margin-top: 40px;
	text-align: center;
	color: var(--secondary);
	font-size: 0.9em;
}

footer.container a {
	color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 600px) {
	body {
		padding: 10px;
	}
}