@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700&display=swap');

:root {
	--show-yellow: #ffcc00;
	--show-green: #23472b;
}

html,
body {
	min-height: 100%;
	background-color: var(--show-green);
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: start center;
	font-family: 'Fira Sans', sans-serif;
	background-image: url('BG-WEB.jpg');
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
}

.show-announcement {
	width: min(480px, calc(100% - 40px));
	margin: 32px 0;
	color: #fff;
	text-align: center;
}

.show-announcement h1 {
	margin: 0 0 16px;
	font-size: clamp(24px, 5vw, 36px);
	font-weight: 500;
}

.show-announcement h1 img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.show-details {
	padding: 0.1rem 1rem 1rem;
	background: rgba(0, 0, 0, 0.55);
	font-size: 20px;
}

.show-details form p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
}

.name-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.show-details input[type="text"],
.show-details input[type="number"],
.show-details input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	margin-top: 4px;
	padding: 6px 8px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font: inherit;
}

.show-details input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0 6px 0 0;
	vertical-align: middle;
}

.show-details input:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.field-error:not([hidden]) {
	display: block;
	margin-top: 6px;
	color: #ff9b9b;
	font-size: 13px;
}


.show-details input[aria-invalid="true"] {
	border-color: #ff9b9b;
}

.event-details {
	color: var(--show-yellow);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
}

.event-details span {
	margin: 0 8px;
}

.show-details button[type="submit"] {
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 0;
	background: var(--show-green);
	color: var(--show-yellow);
	font: 600 16px 'Fira Sans', sans-serif;
	text-transform: uppercase;
	cursor: pointer;
}

.show-details button[type="submit"]:hover {
	background: #305c39;
}

.text-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--show-yellow);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

button:focus-visible {
	outline: 2px solid var(--show-yellow);
	outline-offset: 4px;
}

#privacy-dialog {
	box-sizing: border-box;
	width: min(720px, calc(100% - 32px));
	height: 85vh;
	height: 85svh;
	max-height: calc(100svh - 32px);
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: #17261b;
	color: #fff;
	font: 16px/1.6 'Fira Sans', sans-serif;
}

#privacy-dialog::backdrop {
	background: rgba(0, 0, 0, 0.75);
}

#privacy-title {
	margin: 0;
	font-size: 20px;
	color: var(--show-yellow);
}

#rsvp-success {
	padding: 8px 0;
	font-size: 16px;
	line-height: 1.6;
}

#success-title,
.donation-prompt h2 {
	color: var(--show-yellow);
}

.donation-prompt {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.6;
}

.payment-error {
	color: #ff9b9b;
}

.donation-button:not([hidden]) {
	display: block;
	padding: 12px 16px;
	background: var(--show-green);
	color: var(--show-yellow);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	width: 100%;
	border: 0;
	border-radius: 0;
	font: inherit;
}

.donation-button:hover {
	background: #305c39;
}

.donation-note {
	font-size: 13px;
}

.show-details button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.show-details #donation-placeholder:disabled {
	cursor: default;
	opacity: 0.75;
}

#privacy-dialog[open] {
	display: flex;
	flex-direction: column;
}

.privacy-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	flex-shrink: 0;
}

.privacy-frame {
	display: block;
	width: 100%;
	min-height: 0;
	flex: 1;
	border: 0;
	background: #fff;
}

.calendar-card {
	text-align: left;
	font-size: 16px;
	line-height: 1.6;
}

.calendar-card h2 {
	color: var(--show-yellow);
}

.calendar-actions {
	display: grid;
	gap: 12px;
	margin: 20px 0;
}

.cookie-preferences { padding:16px; text-align:center; color:#ffcc00; font-size:13px; }
.cookie-preferences p { margin:0 0 14px; }
.cookie-preferences a { color:inherit; }
.cookie-preferences .footer-privacy { padding:0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }
.cookie-preferences .footer-faq { display:inline-block; max-width:100%; box-sizing:border-box; margin-bottom:20px; padding:14px 24px; border:1px solid #ffcc00; color:#23472b; background:#ffcc00; text-decoration:none; font-size:15px; font-weight:700; }
.cookie-preferences .footer-faq:hover { background:#ffe066; }
.cookie-preferences .footer-credits { margin-bottom:0; font-size:12px; }

.faq-content { padding:20px 18px; text-align:left; font-size:16px; line-height:1.6; }
.faq-content h2 { margin:0; color:var(--show-yellow); text-align:center; font-size:28px; }
.faq-intro { margin:8px 0 24px; text-align:center; }
.faq-content details { border-top:1px solid rgba(255,255,255,.25); }
.faq-content summary { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 0; color:var(--show-yellow); font-weight:600; cursor:pointer; list-style:none; }
.faq-content summary::-webkit-details-marker { display:none; }
.faq-content summary::after { content:'+'; flex-shrink:0; font-size:24px; line-height:1; }
.faq-content details[open] > summary::after { content:'−'; }
.faq-content summary:focus-visible { outline:2px solid var(--show-yellow); outline-offset:4px; }
.faq-answer p { margin:0 0 18px; overflow-wrap:anywhere; }
.faq-answer a, .faq-back { color:var(--show-yellow); }
.faq-back { display:inline-block; margin-top:24px; }
