﻿/*

COPYRIGHT DAVE WILLS 2026 ALL RIGHTS RESERVED

*/
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #f4f4f4;
	color: #222;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

.site-header {
	padding: 24px 20px 20px;
	text-align: center;
	background: #fff;
	border-bottom: 1px solid #d8d8d8;
}

.site-header h1 {
	margin: 0 0 18px;
	font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.header-image {
	display: block;
	width: min(100%, 600px);
	height: auto;
	margin: 0 auto 20px;
}

.content.sample-content {
	width: 90%;
	margin: 30px auto;
	padding: 32px;
	overflow: hidden;
	border-radius: 10px;
}

.sample-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.sample-content h2 {
	text-align: center;
}

.main-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.main-nav + .main-nav {
	margin-top: 18px;
}

.main-nav button,
.main-nav .nav-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	padding: 11px 20px;
	border: 0;
	border-radius: 6px;
	background: #333;
	color: #fff;
	font: inherit;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.main-nav button:hover,
.main-nav .nav-button:hover {
	background: #555;
}

#site-about-btn {
	min-width: auto;
	padding: 6px 14px;
	background: #e5e5e5;
	color: #333;
	border: 1px solid #aaa;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
}

#site-about-btn:hover {
	background: #d6d6d6;
}

.content {
	width: 90%;
	margin: 30px auto;
	padding: 32px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.content.narrow {
	max-width: 620px;
}

.content h2 {
	margin-top: 0;
}

.notice {
	padding: 14px 16px;
	border-left: 4px solid #777;
	background: #f1f1f1;
}

.status-message {
	min-height: 1.5em;
	margin: 14px 0 0;
}

.status-message.error {
	color: #9b1c1c;
}

.status-message.success {
	color: #176b28;
}

label {
	display: block;
	margin: 18px 0 6px;
	font-weight: bold;
}

input,
textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #aaa;
	border-radius: 5px;
	font: inherit;
}

textarea {
	min-height: 150px;
	resize: vertical;
}

.primary-button {
	width: 100%;
	margin-top: 20px;
}

.required {
	color: #9b1c1c;
}

.honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}


.instructions-text {
	line-height: 1.3;
}

.instructions-text p {
	margin: 0 0 0.8em 0;
}

.instructions-title {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 12px;
	text-align: center;
}

.instructions-text li {
	margin-left: 1em;
}

.instructions-text p.instructions-heading {
	margin-bottom: 0.2em;
}

.instructions-text p.instructions-body {
	margin-top: 0;
	margin-left: 0;
}

@media (max-width: 600px) {
	.content {
		padding: 22px;
	}

	.main-nav {
		flex-direction: column;
	}

	.main-nav a,
	.main-nav button {
		width: 100%;
	}
}

.faq-question {
	margin-left: 20px;
	margin-bottom: 6px;
}

.faq-answer {
	margin-left: 40px;
	margin-top: 0;
	margin-bottom: 24px;
}

.faq-answer + ul {
	margin-left: 30px;
}

.copyright {
	display: block;
	width: fit-content;
	margin: -10px auto 16px;
	font-size: 0.85rem;
	color: #555;
	text-decoration: none;
	cursor: pointer;
}

.copyright:hover {
	text-decoration: underline;
}

#text-popup {
	position: absolute;
	display: none;
	max-width: min(520px, 90vw);
	padding: 12px 14px;
	background: #fff;
	color: #000;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(0,0,0,.35);
	z-index: 9999;
	font-size: 0.9rem;
	line-height: 1.45;
	text-align: left;
}

.install-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.install-modal.hidden {
	display: none;
}

.install-modal-content {
	background: white;
	border-radius: 10px;
	padding: 24px 30px;
	width: min(520px, 85vw);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.install-modal-content h2 {
	margin-top: 0;
	text-align: center;
}

.install-modal-content li {
	margin-bottom: 8px;
}

.install-modal-buttons {
	margin-top: 20px;
	text-align: center;
}
