/* register-styles.css - Web Directions To Go Registration Styles v2.2 - Compact & Balanced */

/* Import base styles */
@import url('https://use.typekit.net/oly4kpp.css');

:root {
	--body-font: "montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--heading-font: "montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--body-bg-color: #f5f7fa;
	--fieldset-bg-color: #fff;
	--border-color: #e1e4e8;
	--control-bg-color: #f8f9fa;
	--control-active-color: #e9ecef;
	--primary-color: #667eea;
	--primary-hover: #5568d3;
	--primary-active: #4c5ec7;
	--safe-action-bg-color: #10b981;
	--safe-action-hover-color: #059669;
	--safe-action-active-color: #047857;
	--safe-action-text-color: #fff;
	--discount-color: #10b981;
	--text-primary: #1f2937;
	--text-secondary: #6b7280;
	--fieldset-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
	--button-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--body-font);
	background-color: var(--body-bg-color);
	color: var(--text-primary);
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--heading-font);
	font-weight: 700;
	color: var(--text-primary);
}

h1 {
	font-size: 1.5em;
	margin-bottom: 0.25em;
}

h2 {
	font-size: 1.05em;
	margin-bottom: 0.65em;
	color: var(--text-primary);
}

h3 {
	font-size: 0.95em;
	margin-bottom: 0.5em;
	text-align: center;
	font-weight: 700;
}

header {
	text-align: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 1.25em 1em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 1.5em;
}

header h1 {
	color: white;
	font-size: 1.5em;
	margin-bottom: 0.35em;
	font-weight: 700;
}

header p {
	font-size: 0.9em;
	opacity: 0.95;
	max-width: 600px;
	margin: 0 auto;
}

main {
	max-width: 950px;
	margin: 0 auto 2em;
	padding: 0 1.25em;
}

#contactForm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25em;
	align-items: start;
}

#contactForm > fieldset {
	background-color: var(--fieldset-bg-color);
	box-shadow: var(--fieldset-shadow);
	border-radius: 8px;
	border: 1px solid var(--border-color);
	padding: 1.25em;
}

.contact-details {
	/* Left column */
}

.event-and-pricing {
	/* Right column */
}

label {
	display: block;
	font-weight: 600;
	font-size: 0.8em;
	margin-bottom: 0.25em;
	color: var(--text-primary);
}

.help-inline {
	font-weight: 400;
	color: var(--text-secondary);
	font-size: 0.85em;
}

input, select {
	font-family: var(--body-font);
	font-size: 0.9em;
	width: 100%;
	border: 1px solid var(--border-color);
	padding: 0.5em 0.6em;
	border-radius: 5px;
	background-color: var(--control-bg-color);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.6em center;
	background-size: 11px;
	padding-right: 2em;
}

.required {
	color: #ef4444;
	font-weight: 600;
	font-size: 0.95em;
}

fieldset > p {
	margin-bottom: 0.75em;
}

fieldset > p:last-of-type {
	margin-bottom: 0;
}

.inline-input {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.75em;
	align-items: center;
}

.inline-input label {
	margin-bottom: 0;
	text-align: left;
}

.inline-input input {
	width: 80px;
	justify-self: end;
}

.help-text {
	font-size: 0.75em;
	color: var(--text-secondary);
	font-style: italic;
	margin-top: 0.25em;
	line-height: 1.3;
	grid-column: 1 / -1;
}

.help-text a {
	color: var(--primary-color);
	text-decoration: none;
}

.help-text a:hover {
	text-decoration: underline;
}

.event-selection {
	margin-bottom: 1em;
}

.event-selection p {
	margin-bottom: 0.75em;
}

.pricing-divider {
	height: 1px;
	background: linear-gradient(to right, transparent, var(--border-color), transparent);
	margin: 1em 0;
}

.event-and-pricing {
	margin-block-end: 5em
}

#pricingSummary {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 1em;
	border-radius: 6px;
	border: 1px solid var(--border-color);
}

#pricingSummary h3 {
	color: var(--text-primary);
	font-weight: 700;
	margin-bottom: 0.6em;
	font-size: 0.95em;
}

#invoiceSummary {
	width: 100%;
	margin-bottom: 0.6em;
	border-collapse: separate;
	border-spacing: 0 0.25em;
}

#invoiceSummary td {
	padding: 0.25em 0;
	font-size: 0.85em;
}

#invoiceSummary td:first-of-type {
	font-weight: 600;
	text-align: right;
	padding-right: 0.75em;
	width: 58%;
	color: var(--text-secondary);
}

#invoiceSummary td:last-of-type {
	text-align: left;
	font-weight: 700;
	color: var(--text-primary);
}

#discount-row td {
	color: var(--discount-color);
}

.total-row td {
	padding-top: 0.4em;
	font-size: 1em !important;
	border-top: 2px solid var(--border-color);
	color: var(--primary-color) !important;
	font-weight: 700 !important;
}

.pricing-note {
	padding-block-start: 2em;
	font-size: 0.75em;
	color: var(--text-secondary);
	text-align: center;
	line-height: 1.35;
	margin: 0.6em 0 0.85em;
}

.proceed-button {
	width: 100%;
	font-family: var(--body-font);
	font-size: 0.95em;
	font-weight: 700;
	color: var(--safe-action-text-color);
	background-color: var(--safe-action-bg-color);
	border: none;
	padding: 0.65em 1em;
	border-radius: 6px;
	box-shadow: var(--button-shadow);
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.proceed-button:hover {
	background-color: var(--safe-action-hover-color);
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.proceed-button:active {
	background-color: var(--safe-action-active-color);
	transform: translateY(0);
	box-shadow: var(--button-shadow);
}

footer {
	text-align: center;
	padding: 1.5em 1em;
	background-color: var(--fieldset-bg-color);
	border-top: 1px solid var(--border-color);
	margin-top: 2em;
	position: fixed;
	bottom: 0;
	width: 100%
}

footer img {
	max-height: 35px;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

footer img:hover {
	opacity: 1;
}

@media (max-width: 899px) {
	#contactForm {
		grid-template-columns: 1fr;
		gap: 1.25em;
	}
	
	header h1 {
		font-size: 1.35em;
	}
	
	header p {
		font-size: 0.85em;
	}
	
	.inline-input {
		grid-template-columns: 1fr;
	}
	
	.inline-input input {
		justify-self: start;
		width: 100%;
		max-width: 150px;
	}
}

@media (max-width: 599px) {
	main {
		padding: 0 1em;
	}
	
	#contactForm > fieldset {
		padding: 1em;
	}

	
	header {
		padding: 1em;
	}
	
	header h1 {
		font-size: 1.25em;
	}
	
	header p {
		font-size: 0.8em;
	}
}

@view-transition {
	navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
	@view-transition {
	  navigation: none;
	}
}