/* Evora Event - Public Registration Form Styles
 * Modern, professional design for event registration
 * Copyright (C) 2024 Elder Benassi
 */

/* CSS Custom Properties (Variables) */
:root {
	--evora-primary-gradient-start: #28a745;
	--evora-primary-gradient-end: #1e7e34;
	--evora-dark-gradient-start: #0d1f12;
	--evora-dark-gradient-mid: #143d1c;
	--evora-dark-gradient-end: #1a5c27;
	--evora-text-primary: #333;
	--evora-text-light: rgba(255, 255, 255, 0.7);
	--evora-text-muted: rgba(255, 255, 255, 0.5);
}

/* Reset and base styles */
* {
	box-sizing: border-box;
}

body.public-registration {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: linear-gradient(135deg, var(--evora-primary-gradient-start) 0%, var(--evora-primary-gradient-end) 100%);
	min-height: 100vh;
	color: var(--evora-text-primary);
	line-height: 1.6;
	display: flex;
	flex-direction: column;
}

/* Header Styles - Professional & Eye-catching */
.evora-header {
	background: linear-gradient(135deg, var(--evora-dark-gradient-start) 0%, var(--evora-dark-gradient-mid) 50%, var(--evora-dark-gradient-end) 100%);
	backdrop-filter: blur(10px);
	padding: 0;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
}

.evora-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 50%, rgba(40, 167, 69, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 50%, rgba(30, 126, 52, 0.15) 0%, transparent 50%);
	pointer-events: none;
}

.evora-header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 1;
}

.evora-logo {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.evora-logo a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.evora-logo a:hover {
	transform: scale(1.05);
	opacity: 0.95;
}

.evora-logo img,
.evora-logo svg {
	height: 50px;
	width: auto;
	filter: drop-shadow(0 2px 8px rgba(40, 167, 69, 0.4));
}

.evora-logo-text {
	display: flex;
	flex-direction: column;
	margin-left: 0.75rem;
}

.evora-logo-brand {
	font-size: 1.75rem;
	font-weight: 800;
	background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.5px;
	line-height: 1.2;
}

.evora-logo-tagline {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 500;
}

.evora-header-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.evora-header-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(30, 126, 52, 0.2) 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 0.5rem 1rem;
	border-radius: 50px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.85rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.evora-header-badge:hover {
	background: linear-gradient(135deg, rgba(40, 167, 69, 0.3) 0%, rgba(30, 126, 52, 0.3) 100%);
	border-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-1px);
}

.evora-header-badge-icon {
	font-size: 1rem;
}

.evora-header-decoration {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--evora-primary-gradient-start), var(--evora-primary-gradient-end), var(--evora-primary-gradient-start));
	background-size: 200% 100%;
	animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

/* Container */
.evora-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 1rem;
	flex: 1;
}

/* Banner Wrapper for full-width with background */
.evora-banner-wrapper {
	width: 100%;
	margin-bottom: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

/* Event Banner */
.evora-event-banner {
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: cover;
	display: block;
}

/* Event Header */
.evora-event-header {
	background: white;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.evora-event-title {
	margin: 0 0 1rem 0;
	font-size: 2.5rem;
	font-weight: 700;
	color: #1a202c;
	line-height: 1.2;
}

.evora-event-info {
	font-size: 1.1rem;
	color: #4a5568;
}

.evora-event-info p {
	margin: 0.5rem 0;
}

/* Event Description */
.evora-event-description {
	background: white;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-size: 1.05rem;
	line-height: 1.8;
	color: #2d3748;
}

.description-collapsed {
	max-height: 150px;
	overflow: hidden;
	position: relative;
}

.description-collapsed::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50px;
	background: linear-gradient(to bottom, transparent, white);
}

.evora-toggle-btn {
	background: none;
	border: none;
	color: #28a745;
	font-weight: 600;
	cursor: pointer;
	padding: 0.5rem 0;
	margin-top: 1rem;
	font-size: 0.95rem;
	transition: color 0.3s ease;
	display: block;
	width: 100%;
	text-align: center;
}

.evora-toggle-btn:hover {
	color: #1e7e34;
}

/* Registration Form */
.evora-registration-form {
	background: white;
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.evora-registration-form h2 {
	margin: 0 0 1.5rem 0;
	font-size: 2rem;
	font-weight: 700;
	color: #1a202c;
	text-align: center;
}

/* Form Group - More condensed spacing */
.evora-form-group {
	margin-bottom: 1rem;
	position: relative;
}

.evora-form-label {
	display: block;
	margin-bottom: 0.375rem;
	font-weight: 600;
	color: #2d3748;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.evora-form-label.required::after {
	content: ' *';
	color: #e53e3e;
}

/* Form Inputs */
.evora-form-input,
.evora-form-select,
.evora-form-textarea {
	width: 100%;
	padding: 0.75rem 0.875rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.3s ease;
	background: white;
}

.evora-form-input:focus,
.evora-form-select:focus,
.evora-form-textarea:focus {
	outline: none;
	border-color: #28a745;
	box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.evora-form-input.valid,
.evora-form-select.valid {
	border-color: #48bb78;
}

.evora-form-input.error,
.evora-form-select.error {
	border-color: #f56565;
}

.evora-form-textarea {
	min-height: 100px;
	resize: vertical;
}

/* Validation Messages */
.evora-field-error {
	color: #e53e3e;
	font-size: 0.8rem;
	margin-top: 0.375rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.evora-field-success {
	color: #38a169;
	font-size: 0.8rem;
	margin-top: 0.375rem;
}

/* Field Hint - Character counter and format hints */
.evora-field-hint {
	color: #718096;
	font-size: 0.75rem;
	margin-top: 0.25rem;
	font-style: italic;
}

/* Badge Type Selection */
.evora-badge-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
	margin-top: 0.5rem;
}

.evora-badge-option {
	position: relative;
}

.evora-badge-option input[type="radio"] {
	position: absolute;
	opacity: 0;
}

.evora-badge-label {
	display: block;
	padding: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-weight: 600;
}

.evora-badge-option input[type="radio"]:checked + .evora-badge-label {
	border-color: #28a745;
	background: #28a745;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.evora-badge-option input[type="radio"]:focus + .evora-badge-label {
	outline: none;
	box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.evora-badge-label:hover {
	border-color: #28a745;
	transform: translateY(-2px);
}

/* Submit Button */
.evora-submit-btn {
	width: 100%;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 1rem;
}

.evora-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.evora-submit-btn:active {
	transform: translateY(0);
}

.evora-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Success Message */
.evora-success-message {
	text-align: center;
	padding: 3rem 2rem;
}

.evora-success-message h2 {
	color: #38a169;
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.evora-success-message p {
	font-size: 1.1rem;
	color: #4a5568;
	margin: 0.75rem 0;
}

/* Error Message */
.evora-error-message {
	background: #fff5f5;
	border-left: 4px solid #fc8181;
	padding: 1rem 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.evora-error-message p {
	color: #c53030;
	margin: 0.5rem 0;
	font-weight: 500;
}

/* Info Message */
.evora-info-message {
	background: #ebf8ff;
	border-left: 4px solid #4299e1;
	padding: 1rem 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	text-align: center;
}

.evora-info-message p {
	color: #2c5282;
	margin: 0.25rem 0;
}

/* Custom Fields */
.evora-custom-fields {
	border-top: 2px solid #e2e8f0;
	margin-top: 2rem;
	padding-top: 2rem;
}

.evora-custom-fields h3 {
	font-size: 1.5rem;
	color: #1a202c;
	margin-bottom: 1.5rem;
	font-weight: 700;
}

/* Checkbox Styling */
.evora-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.evora-checkbox-option,
.evora-radio-option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.evora-checkbox-option:hover,
.evora-radio-option:hover {
	border-color: #28a745;
	background: #f7fafc;
}

.evora-checkbox-option input[type="checkbox"],
.evora-radio-option input[type="radio"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	margin: 0;
}

.evora-checkbox-option label,
.evora-radio-option label {
	font-weight: 500;
	cursor: pointer;
	flex: 1;
	margin: 0;
}

/* Radio Group Styling */
.evora-radio-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.evora-checkbox-label {
	font-weight: 500;
	cursor: pointer;
	flex: 1;
}

/* Loading State */
.evora-loading,
.evora-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Footer Styles - Professional & Eye-catching */
.evora-footer {
	background: linear-gradient(135deg, var(--evora-dark-gradient-start) 0%, var(--evora-dark-gradient-mid) 50%, var(--evora-dark-gradient-end) 100%);
	color: #fff;
	padding: 0;
	margin-top: 3rem;
	position: relative;
	overflow: hidden;
}

.evora-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 10% 20%, rgba(40, 167, 69, 0.1) 0%, transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(30, 126, 52, 0.1) 0%, transparent 40%);
	pointer-events: none;
}

.evora-footer-decoration {
	height: 4px;
	background: linear-gradient(90deg, var(--evora-primary-gradient-start), var(--evora-primary-gradient-end), var(--evora-primary-gradient-start));
	background-size: 200% 100%;
	animation: shimmer 3s infinite linear;
}

.evora-footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 2rem 0;
	position: relative;
	z-index: 1;
}

.evora-footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 3rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.evora-footer-section {
	display: flex;
	flex-direction: column;
}

.evora-footer-section h3 {
	font-size: 1.1rem;
	margin-bottom: 1.25rem;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.5px;
	position: relative;
	padding-bottom: 0.75rem;
}

.evora-footer-section h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, #28a745, #1e7e34);
	border-radius: 2px;
}

.evora-footer-section p {
	margin: 0.5rem 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	line-height: 1.7;
}

.evora-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.evora-footer-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.evora-footer-logo-icon {
	width: 45px;
	height: 45px;
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.evora-footer-logo-text {
	font-size: 1.5rem;
	font-weight: 800;
	background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.evora-footer-description {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 0.875rem !important;
	line-height: 1.8 !important;
	max-width: 300px;
}

.evora-footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.evora-footer-social-link {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.1rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.evora-footer-social-link:hover {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	border-color: transparent;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.evora-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.evora-footer-links li {
	margin: 0.6rem 0;
}

.evora-footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 400;
}

.evora-footer-links a:hover {
	color: #fff;
	transform: translateX(5px);
}

.evora-footer-links a::before {
	content: '→';
	opacity: 0;
	transition: opacity 0.3s ease;
}

.evora-footer-links a:hover::before {
	opacity: 1;
}

.evora-footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
}

.evora-footer-contact-icon {
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.evora-footer-contact-text {
	line-height: 1.6;
}

.evora-footer-contact-text a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.3s ease;
}

.evora-footer-contact-text a:hover {
	color: #28a745;
}

.evora-footer-credits {
	padding: 1.5rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.evora-footer-credits p {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
}

.evora-footer-credits a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.evora-footer-credits a:hover {
	color: #28a745;
}

.evora-footer-tech {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.4) !important;
	font-size: 0.8rem !important;
}

.evora-footer-tech-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(255, 255, 255, 0.05);
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
	.evora-footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.evora-header-container {
		padding: 0.75rem 1rem;
		flex-wrap: wrap;
		gap: 0.75rem;
	}
	
	.evora-logo-brand {
		font-size: 1.4rem;
	}
	
	.evora-logo-tagline {
		font-size: 0.65rem;
		letter-spacing: 1px;
	}
	
	.evora-header-nav {
		display: none;
	}
	
	.evora-container {
		padding: 1rem 0.5rem;
	}
	
	.evora-event-title {
		font-size: 1.75rem;
	}
	
	.evora-registration-form {
		padding: 1.5rem;
	}
	
	.evora-registration-form h2 {
		font-size: 1.5rem;
	}
	
	.evora-badge-grid {
		grid-template-columns: 1fr;
	}
	
	.evora-footer-container {
		padding: 2rem 1rem 0;
	}
	
	.evora-footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.evora-footer-section h3::after {
		width: 30px;
	}
	
	.evora-footer-credits {
		flex-direction: column;
		text-align: center;
	}
	
	.evora-footer-tech {
		justify-content: center;
	}
	
	.evora-footer-social {
		justify-content: center;
	}
}

/* Print Styles */
@media print {
	@page {
		size: A4;
		margin: 10mm;
	}
	
	body.public-registration {
		background: white !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		font-size: 11pt;
	}
	
	.evora-header,
	.evora-footer,
	.evora-submit-btn,
	.evora-print-btn,
	.evora-print-message,
	.no-print {
		display: none !important;
	}
	
	.evora-container {
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
	}
	
	.evora-confirmation-page {
		box-shadow: none !important;
		border: none !important;
		padding: 10mm !important;
		max-width: 100% !important;
	}
	
	.evora-success-message {
		padding: 0 !important;
	}
	
	.evora-success-message h2 {
		font-size: 18pt !important;
		margin-bottom: 5mm !important;
	}
	
	.evora-success-message p {
		font-size: 10pt !important;
		margin: 2mm 0 !important;
	}
	
	.evora-badge-id-section {
		padding: 8mm !important;
		margin: 5mm 0 !important;
	}
	
	.evora-badge-id-label {
		font-size: 9pt !important;
	}
	
	.evora-badge-id {
		font-size: 16pt !important;
	}
	
	.evora-event-summary {
		padding: 8mm !important;
		margin: 5mm 0 !important;
	}
	
	.evora-event-summary h3 {
		font-size: 10pt !important;
		margin-bottom: 3mm !important;
	}
	
	.evora-event-summary p {
		font-size: 10pt !important;
		margin: 2mm 0 !important;
	}
	
	.evora-qrcode-section {
		padding: 5mm !important;
		margin: 5mm 0 !important;
		page-break-inside: avoid;
	}
	
	.evora-qrcode-section h3 {
		font-size: 10pt !important;
		margin-bottom: 3mm !important;
	}
	
	.evora-qrcode {
		padding: 3mm !important;
	}
	
	.evora-qrcode img {
		width: 18mm !important;
		height: 18mm !important;
	}
	
	/* Print Header - Event Banner */
	.evora-print-header {
		display: block !important;
		text-align: center;
		margin: 0 auto 3mm auto;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		box-sizing: border-box;
	}
	
	.evora-print-banner {
		max-width: 100%;
		width: 100%;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
	}
	
	.evora-print-banner img {
		max-width: 170mm;
		width: auto;
		height: auto;
		max-height: 18mm;
		object-fit: contain;
		margin: 0 auto;
	}
	
	/* Print Footer - Logo and Credits */
	.evora-print-footer {
		display: block !important;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		text-align: center;
		padding: 5mm 0;
		border-top: 1px solid #e2e8f0;
		background: white;
	}
	
	.evora-print-footer-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2mm;
		width: 100%;
	}
	
	.evora-print-logo {
		width: 80px !important;
		height: auto !important;
		max-height: 25px !important;
		object-fit: contain;
		display: block;
		margin: 0 auto;
	}
	
	.evora-print-credits {
		font-size: 8pt;
		color: #718096;
		margin: 0;
		text-align: center;
		width: 100%;
	}
}

/* Hide print-only elements on screen */
@media screen {
	.evora-print-header,
	.evora-print-footer {
		display: none;
	}
}

/* Confirmation Page Styles */
.evora-confirmation-page {
	max-width: 600px;
	margin: 0 auto;
}

.evora-badge-id-section {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	border-radius: 12px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	text-align: center;
}

.evora-badge-id-label {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	margin: 0 0 0.5rem 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.evora-badge-id {
	color: white;
	font-size: 2rem;
	margin: 0;
	font-family: 'Courier New', Courier, monospace;
	letter-spacing: 3px;
}

.evora-event-summary {
	background: #f7fafc;
	border-radius: 12px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-left: 4px solid #28a745;
}

.evora-event-summary h3 {
	color: #1a202c;
	font-size: 1.1rem;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.evora-event-summary p {
	margin: 0.5rem 0;
	color: #4a5568;
}

.evora-qrcode-section {
	text-align: center;
	margin: 2rem 0;
	padding: 1.5rem;
	background: white;
	border-radius: 12px;
	border: 2px solid #e2e8f0;
}

.evora-qrcode-section h3 {
	color: #1a202c;
	font-size: 1.1rem;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.evora-qrcode {
	display: inline-block;
	padding: 1rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.evora-qrcode img {
	display: block;
}

.evora-print-message {
	background: #fffbeb;
	border: 2px solid #f59e0b;
	border-radius: 12px;
	padding: 1.5rem;
	margin: 2rem 0;
	text-align: center;
}

.evora-print-message p {
	margin: 0.5rem 0;
	color: #92400e;
}

.evora-print-message p:first-child {
	font-size: 1.1rem;
}

.evora-print-btn {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.75rem 2rem;
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.evora-print-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Register Another Attendee Section */
.evora-register-another {
	text-align: center;
	margin: 2rem 0 0;
	padding: 1.5rem 0;
	border-top: 1px solid #e2e8f0;
}

.evora-register-another-btn {
	display: inline-block;
	padding: 0.75rem 2rem;
	background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.evora-register-another-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
	color: white;
	text-decoration: none;
}

/* Terms and Conditions Styling */
.evora-terms-group {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.evora-terms-checkbox {
	background: #f7fafc;
	border: 2px solid #e2e8f0;
}

.evora-terms-checkbox label a {
	color: #28a745;
	font-weight: 600;
	text-decoration: underline;
}

.evora-terms-checkbox label a:hover {
	color: #1e7e34;
}

/* Accessibility */
.evora-form-input:focus-visible,
.evora-form-select:focus-visible,
.evora-form-textarea:focus-visible {
	outline: 3px solid #28a745;
	outline-offset: 2px;
}

[x-cloak] {
	display: none !important;
}

/* Animation for success/error messages */
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.evora-success-message,
.evora-error-message,
.evora-info-message {
	animation: slideIn 0.3s ease-out;
}

/* Searchable Select (Third-Party Combobox) */
.evora-searchable-select {
	position: relative;
	width: 100%;
}

.evora-search-container {
	position: relative;
	display: flex;
	align-items: center;
}

.evora-search-input {
	padding-right: 2.5rem !important;
	cursor: pointer;
}

.evora-search-icon {
	position: absolute;
	right: 0.75rem;
	color: #28a745;
	font-size: 0.75rem;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.evora-searchable-select[x-data] .evora-search-icon {
	transform: rotate(0deg);
}

.evora-search-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	max-height: 250px;
	overflow-y: auto;
	background: white;
	border: 2px solid #28a745;
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
	margin-top: -2px;
}

.evora-search-option {
	padding: 0.75rem 1rem;
	cursor: pointer;
	transition: all 0.15s ease;
	border-bottom: 1px solid #f0f0f0;
}

.evora-search-option:last-child {
	border-bottom: none;
}

.evora-search-option:hover,
.evora-search-option.highlighted {
	background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(30, 126, 52, 0.1) 100%);
}

.evora-search-option.selected {
	background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
	color: white;
	font-weight: 600;
}

.evora-search-option.selected:hover,
.evora-search-option.selected.highlighted {
	background: linear-gradient(135deg, #5a6fd1 0%, #6a4290 100%);
}

.evora-search-no-results {
	padding: 1rem;
	text-align: center;
	color: #718096;
	font-style: italic;
}
