html {
	color: #000;
	background: #fff
}

@media (prefers-color-scheme: dark) {
	html {
		color: #fff;
		background: #0d1116
	}
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0
}

a {
	outline: none
}

table {
	border-collapse: collapse;
	border-spacing: 0
}

fieldset,
img {
	border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style: normal;
	font-weight: normal
}

li {
	list-style: none
}

caption,
th {
	text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal
}

q:before,
q:after {
	content: ""
}

abbr,
acronym {
	border: 0;
	font-variant: normal
}

sup {
	vertical-align: text-top
}

sub {
	vertical-align: text-bottom
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit
}

input,
textarea,
select {
	*font-size: 100%
}

legend {
	color: #000
}

@media (prefers-color-scheme: dark) {
	legend {
		color: #fff
	}
}

a:link,
a:visited,
a:hover,
a:active {
	color: #666
}

@media (prefers-color-scheme: dark) {
	a:link,
	a:visited,
	a:hover,
	a:active {
		color: #ccc
	}
}

p {
	text-indent: 2em;
	margin: 0.5em 0;
	font-family: serif;
}

strong {
	font-weight: bold
}

em {
	font-style: italic;
	font-family: georgia, times, serif
}

abbr,
acronym {
	border-bottom: 1px dotted #666
}

@media (prefers-color-scheme: dark) {
	abbr,
	acronym {
		border-bottom: 1px dotted #ccc
	}
}

body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	background: #fff;
	color: #000;
	max-width: 50em;
	margin: 2em auto;
	padding: 0 2em;
}

@media (prefers-color-scheme: dark) {
	body {
		background: #0d1116;
		color: #fff;
	}
}

h1,
h2 {
	font-variant: small-caps;
	font-family: georgia, times, serif;
	text-align: center
}

h1 {
	font-size: 3em;
	line-height: 1.2em
}

h2 {
	font-size: 1.9em;
	margin: 0.5em 0 0.5em
}

.blog h2 {
	margin: 0.5em 0 0.2em
}

h3 {
	font-size: 1.3em;
	margin: 0.2em 0 0.2em;
	font-variant: small-caps;
	font-family: georgia, times, serif
}

blockquote {
	font-family: Georgia, "Georgia ref", "Times New Roman", Times, serif
}

code,
kbd,
pre,
samp,
var {
	font-family: "Bitstream Vera Sans Mono", "Andale Mono", Monaco, monospace
}

.formtable {
	margin: 0 auto
}

.formtable th {
	text-align: right;
	width: 2%;
	padding-right: 1em;
	font-weight: bold;
	vertical-align: middle
}


.formtable td {
	width: 10%;
}

.formtable input[type="text"],
.formtable input[type="email"],
.formtable input[type="password"] {
	width: 100%;
}

.formtable textarea {
	width: 100%;
}

.errorlist {
	list-style: none;
	font-family: georgia, times, serif;
	font-style: italic;
	font-size: 80%;
	color: #d32f2f;
	margin-bottom: 0.5em;
}

/* Style for form fields with errors */
td:has(.errorlist) input,
td:has(.errorlist) textarea,
td:has(.errorlist) select {
	border: 1px solid #d32f2f;
	padding: 0.3em;
}

td:has(.errorlist) input:focus,
td:has(.errorlist) textarea:focus,
td:has(.errorlist) select:focus {
	outline: none;
	border-color: #d32f2f;
	box-shadow: 0 0 0 1px #d32f2f;
}

table.message th {
	text-align: right;
	vertical-align: top;
	font-weight: bold
}

table.message td {
	font-family: georgia, times, serif;
	font-style: italic;
	text-align: left;
	padding: 0 1em
}

table.message td.buttons {
	padding: 1em;
	text-align: center
}

table.message td p {
	margin: 0 0 1em 0;
	text-indent: 0
}

.messages {
	margin: 0 auto;
	width: 100%;
	text-align: center;
	font-family: georgia, times, serif;
	font-style: italic
}

.messages td {
	padding: 3px;
	border-left: solid 1px #b3b3b3
}

@media (prefers-color-scheme: dark) {
	.messages td {
		border-left: solid 1px #666;
	}
}

.messages td .actions {
	text-align: right
}

ul.messages>li {
	font-size: 15pt;
	padding: 20px 10px;
	border: 1px solid #888;
	background: #eee;
	margin: 20px 0;
	list-style: none;
}

@media (prefers-color-scheme: dark) {
	ul.messages>li {
		border: 1px solid #777;
		background: #111;
		color: white;
	}
}

.boxdiv {
	margin: 1em 2em;
	padding: 0px;
	text-indent: 0px
}

.single {
	text-align: center;
	text-indent: 0px
}

.errors {
	text-align: center
}

.postdate {
	font-style: italic;
	font-size: 80%;
	text-align: center
}

/* Pricing table styles */
/* Pricing cards layout */
.pricing-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
	justify-content: center;
	margin: 2em 0;
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}

.pricing-card {
	background: white;
	border: 1px solid black;
	border-radius: 5px;
	padding: 2em;
	text-align: center;
	display: grid;
	grid-template-areas:
		"name"
		"toggle"
		"price"
		"features"
		"buttons";
	grid-template-rows: auto auto auto 1fr auto;
}

.pricing-card.premium-card {
	background: #f5f5f5;
	border: 2px solid black;
}

@media (prefers-color-scheme: dark) {
	.pricing-card {
		background: #0d1116;
		border: 1px solid #fff;
	}

	.pricing-card.premium-card {
		background: #111;
		border: 2px solid #fff;
	}
}

.plan-name {
	grid-area: name;
	font-size: 2em;
	margin: 0 0 0.5em 0;
	color: black;
}

.plan-price {
	grid-area: price;
	font-size: 3em;
	font-weight: bold;
	margin: 0.25em 0;
	color: black;
}

@media (prefers-color-scheme: dark) {
	.plan-name {
		color: white;
	}

	.plan-price {
		color: white;
	}
}

.plan-price-container {
	grid-area: toggle;
	margin: 0.5em 0;
}

.price-toggle {
	margin: 0;
	display: flex;
	gap: 0.5em;
}

.price-spacer-toggle {
	visibility: hidden;
}


.price-tab {
	flex: 1;
	padding: 0.5em 1em;
	background: white;
	border: 1px solid black;
	cursor: pointer;
	font-size: 1em;
	color: black;
	border-radius: 5px;
}

.price-tab.active {
	background: black;
	color: white;
}

.price-tab:hover:not(.active) {
	background: #f0f0f0;
}

@media (prefers-color-scheme: dark) {
	.price-tab {
		background: #0d1116;
		border: 1px solid #fff;
		color: white;
	}

	.price-tab.active {
		background: white;
		color: black;
	}

	.price-tab:hover:not(.active) {
		background: #333;
	}
}

.plan-features {
	grid-area: features;
	list-style: none;
	padding: 0;
	margin: 2em 0;
	text-align: left;
}

.plan-features li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75em 0;
	border-bottom: 1px solid #ccc;
	font-size: 1.1em;
	line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
	.plan-features li {
		border-bottom: 1px solid #555;
	}
}

.plan-features li:last-child {
	border-bottom: none;
}

.feature-label {
	font-weight: normal;
	color: black;
}

.feature-value {
	font-weight: bold;
	color: black;
	text-align: right;
}

@media (prefers-color-scheme: dark) {
	.feature-label {
		color: white;
	}

	.feature-value {
		color: white;
	}
}

.plan-buttons {
	grid-area: buttons;
}

.plan-button {
	cursor: pointer;
	background-color: white;
	border: 1px solid black;
	color: black;
	padding: 0.5em 0.7em;
	border-radius: 5px;
	margin: 10px 5px 15px 5px;
	text-decoration: none;
	font-size: 130%;
	display: inline-block;
	width: 90%;
	text-align: center;
	min-height: 44px;
	box-sizing: border-box;
}

.plan-button:hover {
	color: white;
	background-color: black;
}

.plan-button.current {
	background: black;
	color: white;
	cursor: default;
}

.plan-button.current:hover {
	background: black;
	color: white;
}

.plan-button.primary {
	background: black;
	color: white;
}

.plan-button.primary:hover {
	background: #333;
	color: white;
}

@media (prefers-color-scheme: dark) {
	.plan-button {
		background-color: #0d1116;
		border: 1px solid #fff;
		color: white;
	}

	.plan-button:hover {
		color: black;
		background-color: white;
	}

	.plan-button.current {
		background: white;
		color: black;
	}

	.plan-button.current:hover {
		background: white;
		color: black;
	}

	.plan-button.primary {
		background: white;
		color: black;
	}

	.plan-button.primary:hover {
		background: #ccc;
		color: black;
	}
}

.plan-button.secondary {
	margin-top: 5px;
	font-size: 130%;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
	.pricing-cards {
		grid-template-columns: 1fr;
		gap: 1.5em;
		max-width: none;
	}

	.plan-price {
		font-size: 2.5em;
	}

	.plan-features li {
		font-size: 1em;
	}
}

.bar {
	text-align: center;
	font-family: georgia, times, serif;
	font-style: italic;
	padding: 11px 0;
	font-size: 125%;
}

.bar .active {
	background-color: #000;
	color: #fff
}

.bar .active a {
	background-color: #000;
	color: #fff
}

@media (prefers-color-scheme: dark) {
	.bar .active {
		background-color: #fff;
		color: #000
	}

	.bar .active a {
		background-color: #fff;
		color: #000
	}
}

.bar li {
	display: inline;
	border-left: solid 1px #b3b3b3;
	margin: -2px;
	padding: 2px 1em
}

@media (prefers-color-scheme: dark) {
	.bar li {
		border-left: solid 1px #666;
	}
}

.bar li:first-child {
	border-left: 1px
}

.bar li a {
	color: #000;
	text-decoration: none
}

@media (prefers-color-scheme: dark) {
	.bar li a {
		color: #fff;
	}
}

.center {
	text-align: center
}

button {
	/* display: inline; */
	background-color: white;
	border: 1px solid black;
	color: black;
	display: inline;
	padding: 0.5em 0.7em;
	font-size: 100%;
	border-radius: 5px;
	margin: 10px 5px 15px 5px;
	font-size: 130%;
}

button:hover {
	color: white;
	background-color: black;
}

@media (prefers-color-scheme: dark) {
	button {
		background-color: #0d1116;
		border: 1px solid #fff;
		color: white;
	}

	button:hover {
		color: black;
		background-color: white;
	}
}

ul>li {
	list-style: circle;
	margin-left: 20px;
}

h1.logo a {
	text-decoration: none;
	color: black;
}

@media (prefers-color-scheme: dark) {
	h1.logo a {
		color: white;
	}
}

a.button {
	cursor: pointer;
	background-color: white;
	border: 1px solid black;
	color: black;
	padding: 0.5em 0.7em;
	border-radius: 5px;
	margin: 10px 5px 15px 5px;
	text-decoration: none;
	font-size: 130%;
	display: inline-block;
}

a.button:hover {
	color: white;
	background-color: black;
}

@media (prefers-color-scheme: dark) {
	a.button {
		background-color: #0d1116;
		border: 1px solid #fff;
		color: white;
	}

	a.button:hover {
		color: black;
		background-color: white;
	}
}

hr {
	margin: 1rem auto;
	height: 26px;
	height: 1.625rem;
	color: #222;
	text-align: center;
	display: block;
	font-weight: bold;
	font-size: 130%;
	border: 0
}

hr:before {
	content: "···";
	letter-spacing: 1em
}

@media (prefers-color-scheme: dark) {
	hr {
		color: #ccc;
	}
}

.log h3:first-child {
	border-top: none;
}

.log h3 {
	margin-top: 1em;
	border-top: 1px solid gray;
	padding-top: 0.5em;
}

@media (prefers-color-scheme: dark) {
	.log h3 {
		border-top: 1px solid #666;
	}
}

.log .empty {
	text-align: center;
	padding: 2em 0;
}

.disabled-field {
	background-color: #f5f5f5;
	color: #666;
	cursor: not-allowed;
	border: 1px solid #ddd;
}

.footer-text {
	font-size: 9pt;
	text-align: center;
	color: grey;
	margin: 50px 0 20px 0;
}

@media (prefers-color-scheme: dark) {
	.footer-text {
		color: #999;
	}
}

@media (prefers-color-scheme: dark) {
	.disabled-field {
		background-color: #222;
		color: #999;
		border: 1px solid #555;
	}
}

@media (max-width: 600px) {
    body {
        margin: 1em;
        padding: 0 1em;
    }

    .bar li {
        display: inline-block;
        border-left: none;
        margin: 2px;
        padding: 4px 8px;
    }

    .bar li:first-child {
        border-left: none;
    }

    button,
    a.button {
        font-size: 110%;
        padding: 0.8em 1em;
    }

    .formtable,
    .formtable tbody,
    .formtable tr,
    .formtable th,
    .formtable td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .formtable th {
        padding-right: 0;
        padding-bottom: 0.5em;
    }

    .formtable input[type="text"],
    .formtable input[type="email"],
    .formtable input[type="password"],
    .formtable textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .messages {
        width: auto;
    }

    .messages td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border-left: none;
        padding: 0.5em 0;
    }

    .messages td .actions {
        text-align: center;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }
}
