.page-template-page-bekraftelse .header {
	background-color: #043245;
}

.page-template-page-bekraftelse .divider-wrapper {
	svg path {
		fill: #f3e1ff  !important;
	}
}
/* Featured Course Section Styles */
.page-template-page-bekraftelse .divider-wrapper {
  position: relative;
  height: 84px;
}

.page-template-page-bekraftelse .shape-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.page-template-page-bekraftelse .shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 64px;
  transform: rotateY(180deg);
}

.page-template-page-bekraftelse .shape-divider .shape-fill {
  fill: #f3e1ff ;
}
.page-template-page-bekraftelse .no-hero {
	height: 110px;
}

/* Thank You Page Styles */
.page-template-page-bekraftelse .thank-you-content {
	padding-top: 80px;
	padding-bottom: 40px;
	background-color: #f3e1ff ;
}

.page-template-page-bekraftelse .thank-you-content .wrapper {
	display: flex;
	gap: 40px;
}

.page-template-page-bekraftelse .thank-you-message {
	flex: 1;
}

.page-template-page-bekraftelse .thank-you-message h1 {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.page-template-page-bekraftelse .thank-you-summary {
	flex: 1;
	position: relative;
	max-width: 400px;
}

.page-template-page-bekraftelse .context-indicator {
	position: absolute;
	top: -30px;
	right: 0;
	background: #ff6b35;
	color: white;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: 500;
}

.page-template-page-bekraftelse .summary-box {
	background: white;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-template-page-bekraftelse .summary-box h2 {
	font-size: 24px;
	margin-bottom: 0;
	text-transform: uppercase;
}

.page-template-page-bekraftelse .course-title {
	font-size: 16px;
	font-weight: 700;
	margin: 10px 0;
}

.page-template-page-bekraftelse .course-details svg {
	color: green;
	margin-left: -3px;
}

.page-template-page-bekraftelse .price-row {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #d0d0d0;
	padding: 8px 0;
}

.page-template-page-bekraftelse .price-row.total {
	font-weight: bold;
}

.page-template-page-bekraftelse .participant-form-section h2 {
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 30px;
	text-transform: uppercase;
}

.page-template-page-bekraftelse #participants-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.page-template-page-bekraftelse .participant-section {
	background: #f8f9fa;
	padding: 25px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.page-template-page-bekraftelse .participant-header {
	font-size: 24px;
	text-transform: uppercase;
}

/* Use same form styles as registration form */
.page-template-page-bekraftelse .form-row {
	display: flex;
	gap: 20px;
}

.page-template-page-bekraftelse .form-row::before,
.page-template-page-bekraftelse .form-row::after {
	content: unset !important;
}

.page-template-page-bekraftelse .form-group {
	flex: 1;
}

.page-template-page-bekraftelse .form-group label {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	font-weight: 700;
	font-size: 18px;
}

.page-template-page-bekraftelse .form-group input[type="text"],
.page-template-page-bekraftelse .form-group input[type="email"],
.page-template-page-bekraftelse .form-group input[type="tel"] {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #333;
	transition: border-color 0.3s ease;
	font-size: 16px;
	background: white;
	height: 45px;
}

.page-template-page-bekraftelse .form-group input[type="text"]:focus,
.page-template-page-bekraftelse .form-group input[type="email"]:focus,
.page-template-page-bekraftelse .form-group input[type="tel"]:focus {
	outline: none;
	border-color: #3cb371;
	box-shadow: 0 0 0 3px rgba(60, 179, 113, 0.2);
}

/* Override browser autofill styling */
.page-template-page-bekraftelse .form-group input:-webkit-autofill,
.page-template-page-bekraftelse .form-group input:-webkit-autofill:hover,
.page-template-page-bekraftelse .form-group input:-webkit-autofill:focus,
.page-template-page-bekraftelse .form-group input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
	box-shadow: 0 0 0 30px white inset !important;
	-webkit-text-fill-color: #333 !important;
	background-color: white !important;
	background-image: none !important;
}

.page-template-page-bekraftelse .form-group input:-internal-autofill-selected {
	appearance: none !important;
	background-image: none !important;
	background-color: white !important;
	color: #333 !important;
}

/* Readonly field styling */
.page-template-page-bekraftelse .readonly-field {
	background-color: #f8f9fa !important;
	color: #6c757d !important;
	cursor: not-allowed !important;
}

.page-template-page-bekraftelse .readonly-field:focus {
	border-color: #333 !important;
	box-shadow: none !important;
}

.page-template-page-bekraftelse .contact-participant {
	border-left: 4px solid #3cb371;
	background-color: #f8f9fa;
}

.page-template-page-bekraftelse .participant-saved {
	border-left: 4px solid #3cb371;
	background-color: #f0f8f0;
	opacity: 0.9;
}

.page-template-page-bekraftelse .participants-saved-notice {
	background-color: #e6f5eb;
	border-left: 4px solid #3cb371;
	padding: 15px 20px;
	margin-bottom: 25px;
	color: #2d5016;
	font-weight: 500;
}

.page-template-page-bekraftelse .participants-saved .participant-section.participant-saved {
	pointer-events: none;
}

.page-template-page-bekraftelse .participants-saved .participant-section.participant-saved input,
.page-template-page-bekraftelse .participants-saved .participant-section.participant-saved select {
	pointer-events: none;
}

.page-template-page-bekraftelse .form-hint {
	font-size: 0.9rem;
	color: #666;
	margin-top: 5px;
	display: block;
}

.page-template-page-bekraftelse .form-buttons {
	margin: 30px 0;
}

/* Use same button styles as registration form */
.page-template-page-bekraftelse .primary-button {
	padding: 14px 24px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	border: none !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.2s ease;
	background-color: #4D4057;
	color: white;
	flex-grow: 1;
	max-width: 300px;
}

.page-template-page-bekraftelse .primary-button:hover {
	background-color: #DAB45E;
}

.page-template-page-bekraftelse .primary-button:disabled {
	background-color: #aaa;
	cursor: not-allowed;
}

.page-template-page-bekraftelse .button-loader {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top: 2px solid #ffffff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.page-template-page-bekraftelse .success-message {
	padding: 40px 0;
}

.page-template-page-bekraftelse .success-message h3 {
	margin-bottom: 15px;
}

/* Mobile responsive */
@media (max-width: 768px) {

	.page-template-page-bekraftelse .thank-you-content .wrapper {
		flex-direction: column;
		gap: 20px;
	}

	.page-template-page-bekraftelse .thank-you-summary {
		max-width: unset;
	}

	.page-template-page-bekraftelse .context-indicator {
		position: static;
		margin-bottom: 20px;
	}

	.page-template-page-bekraftelse #participants-container {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.page-template-page-bekraftelse .form-row {
		flex-direction: column;
	}
}

/* Error message styling */
.page-template-page-bekraftelse .error-content {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 2rem;
}

.page-template-page-bekraftelse .error-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	padding: 3rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.page-template-page-bekraftelse .error-message h1 {
	color: #d32f2f;
	font-size: 2rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.page-template-page-bekraftelse .error-message p {
	color: #666;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.page-template-page-bekraftelse .error-message ul {
	text-align: left;
	color: #666;
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.page-template-page-bekraftelse .error-message li {
	margin-bottom: 0.5rem;
}

/* API Error Message */
.page-template-page-bekraftelse .api-error-message {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.page-template-page-bekraftelse .api-error-message p {
	color: #856404;
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

/* Placeholder info */
.page-template-page-bekraftelse .placeholder-info {
	background-color: #e6f5eb;
	border-left: 4px solid #3cb371;
	padding: 15px 20px;
	margin-bottom: 25px;
	color: #2d5016;
	font-weight: 500;
}

.page-template-page-bekraftelse .placeholder-info strong {
	color: #043245;
}

/* Payment Pending Message - use orange/warning color instead of red */
.page-template-page-bekraftelse .error-message.payment-pending h1 {
	color: #f57c00;
}

.page-template-page-bekraftelse .error-message.payment-pending {
	border-top: 4px solid #f57c00;
}

/* Payment Verifying State */
.page-template-page-bekraftelse .verifying-content {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 2rem;
	background-color: #f3e1ff ;
}

.page-template-page-bekraftelse .verifying-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
	background: #fff;
	padding: 3rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	max-width: 500px;
}

.page-template-page-bekraftelse .verifying-message h1 {
	color: #043245;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.page-template-page-bekraftelse .verifying-message p {
	color: #666;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.page-template-page-bekraftelse .verifying-message .small-text {
	font-size: 0.9rem;
	color: #999;
}

.page-template-page-bekraftelse .loading-spinner-large {
	width: 60px;
	height: 60px;
	border: 4px solid #f3e1ff ;
	border-top: 4px solid #043245;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 1.5rem 0;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* API-only saved participant notice */
.page-template-page-bekraftelse .participant-section.api-only-saved {
	background-color: #f3e1ff ;
	border-left: 4px solid #4a7c59;
}

.page-template-page-bekraftelse .api-saved-notice {
	padding: 1rem;
	text-align: center;
}

.page-template-page-bekraftelse .api-saved-notice p {
	margin: 0;
	color: #4a7c59;
	font-weight: 500;
	font-size: 1rem;
}

/* Individual participant save button */
.page-template-page-bekraftelse .participant-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 5px;
}

.page-template-page-bekraftelse .save-single-participant {
	align-self: flex-start;
}

/* Participant message (success/error) */
.page-template-page-bekraftelse .participant-message {
	display: none;
	padding: 10px 14px;
	font-size: 0.95rem;
	line-height: 1.4;
}

.page-template-page-bekraftelse .participant-message.error {
	background-color: #fef2f2;
	border-left: 4px solid #dc3545;
	color: #991b1b;
}

.page-template-page-bekraftelse .participant-message.success {
	display: none;
}

/* Saved badge shown after individual save */
.page-template-page-bekraftelse .participant-saved-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #2d5016;
	font-weight: 600;
	font-size: 0.95rem;
}

.page-template-page-bekraftelse .participant-saved-badge svg {
	color: #3cb371;
}

/* All participants saved notice */
.page-template-page-bekraftelse .all-saved-notice {
	background-color: #e6f5eb;
	border-left: 4px solid #3cb371;
	padding: 15px 20px;
	margin-bottom: 25px;
	color: #2d5016;
	font-weight: 500;
}

.page-template-page-bekraftelse .all-saved-notice p {
	margin: 0;
}