/* RESET A ZÁKLADNÍ NASTAVENÍ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: #f0f2f5;
	color: #333;
	line-height: 1.6;
	transition: background-color 0.3s, color 0.3s;
}

/* KONTEJNER OBSAHU */
.container {
	max-width: 1000px;
	margin: 5px auto;
	background: #fff;
	padding: 5px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}
h2, h3 {
	color: var(--themeColor, #007aff);
}
.day-cell {
	transition: background-color 0.3s, color 0.3s;
}
.reserved {
	background-color: #ff0000 !important;
	color: white !important;
}
.pending {
	background-color: #ffa500 !important;
	color: white !important;
}
/*.breakPeriod {*/
/*	background-color: #808080 !important;*/
/*	color: white !important;*/
/*}*/
.breakPeriod {
	background-color: #ff0000 !important;
	color: white !important;
}
.cleaning {
	background-color: #0000ff !important;
	color: white !important;
}
.closed {
	background-color: #cccccc;
	color: #333333;
}
.customDay {
	background-color: #90ee90;
	color: #006400;
}
.day-off {
	background-color: #ffcccb ;
	color: #8b0000 !important;
	cursor: not-allowed;
}
.specialDay {
	background-color: #ff9999;
	color: #660000;
}
.maxAdvance {
	background-color: #d3d3d3;
	color: #555555;
}
/* Přepínač Dark Mode */
#darkModeToggle {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px 10px;
	cursor: pointer;
	background: var(--themeColor, #007aff);
	color: #fff;
	border: none;
	border-radius: 4px;
	transition: background 0.3s;
}
#darkModeToggle:hover {
	background: #005bb5;
}

/* Styly modálních oken */
.modal {
	display: none; /* skryté na začátku */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background-color: rgba(0, 0, 0, 0.6);
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}


.modal-content {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	width: 100%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	padding: 30px 20px 20px;
	font-family: sans-serif;
}

.modal-content h2 {
	margin-top: 0;
	font-size: 20px;
	text-align: center;
}

.modal-content p {
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 20px;
}

.modal-content .close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	transition: color 0.2s ease;
}

.modal-content .close:hover {
	color: #000;
}

.modal-content button {
	display: block;
	margin: 0 auto;
	background-color: #3f5bec;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.modal-content button:hover {
	background-color: #cc006b;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

/* TOAST NOTIFIKACE */
#toastContainer {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1100;
}
.toast {
	background-color: #333;
	color: #fff;
	padding: 10px 15px;
	border-radius: 5px;
	margin-bottom: 10px;
	opacity: 0;
	animation: fadein 0.5s forwards, fadeout 0.5s 2.5s forwards;
}
@keyframes fadein {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeout {
	from { opacity: 1; }
	to { opacity: 0; }
}

/* ZOBRAZOVACÍ SEKCE */
.view {
	display: none;
}
.view.active {
	display: block;
}

/* OVERLAYE */
#loadingOverlay, #redirectOverlay, #unavailableOverlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 20px;
	display: none !important;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}
#unavailableOverlay.active, #redirectOverlay.active, #loadingOverlay.active {
	display: flex !important;
}
#unavailableOverlay button {
	margin-top: 20px;
	padding: 10px 20px;
	background: #007aff;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
#unavailableOverlay button:hover {
	background: #005bb5;
}
#calendarLoadingOverlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: none !important;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	font-size: 18px;
	color: #fff;
	font-weight: bold;
}
#calendarLoadingOverlay.active {
	display: flex !important;
}

/* KALENDÁŘNÍ KOMPONENTA */
.calendar-container {

	position: relative;
	width: 100%;
	/* výška podle obsahu, žádné pevné výšky */
	max-width: 1000px;
	margin: 40px auto;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	overflow: visible; /* odstraněn vnitřní scroll */
}

.calendar {
	/* odstraníme overflow-y: auto */
	display: grid;
	grid-template-columns: 50px repeat(7, 1fr);
	border-top: 1px solid #ddd;
	/* výška se přizpůsobí počtu slotů */
}

.calendar-container::-webkit-scrollbar {
	display: none;
}

/* HLAVIČKA KALENDÁŘE */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--headerBackground, #007aff);
	color: var(--headerTextColor, #fff);
	padding: 10px 15px;
}
.header button {
	border: none;
	background: none;
	font-size: 20px;
	color: var(--headerTextColor, #fff);
	cursor: pointer;
}
.header span {
	font-size: 16px;
	font-weight: 500;
}

/* GRID KALENDÁŘE */
.calendar {
	display: grid;
	grid-template-columns: 60px repeat(7, 1fr);
	border-top: 1px solid #ddd;
}
.time-slot {
	padding: 4px;
	text-align: right;
	font-size: 10px;
	border-bottom: 1px solid #eee;
	height: 35px;
	box-sizing: border-box;
}
.day-header {
	padding: 4px;
	text-align: center;
	font-size: 12px;
	border-left: 1px solid #eee;
	background: #f7f7f7;
	font-weight: 500;
	box-sizing: border-box;
}
.day-header {
	position: sticky;
	top: 0;
	z-index: 3;
	background: #fff;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.day-cell {
	border-left: 1px solid #eee;
	border-bottom: 1px solid #eee;
	height: 35px;
	position: relative;
	font-size: 10px;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.1s;
}
.day-cell:hover {
	background-color: var(--cellHoverColor, #e6f7ff);
}
.price-tag {
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(255,255,255,0.9);
	color: #000;
	padding: 0px 7px;
	font-size: 0.8em;
	border-top-left-radius: 4px;
	z-index: 10;
	box-shadow: 0 -1px 3px rgba(0,0,0,0.3);
	pointer-events: none;
}
.range-start, .range-end {
	background-color: #add8e6 !important;
}
.range-middle {
	background-color: #90ee90 !important;
}
.conflict {
	background-color: #ffcccb ;
}
.day-cell.conflict {
	background-color: #ffcccc !important;
}
.day-cell.preview {
	background-color: #e6f7ff;
}
#discountBar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 40px;
	background-color: #f1f3f5;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	z-index: 1000;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#discountBar .discount-details-toggle {
	color: #007aff;
	cursor: pointer;
	margin-left: 10px;
	text-decoration: underline;
}
#discountDetails {
	position: fixed;
	top: 40px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	display: none;
}
#discountDetails ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#discountDetails li {
	margin: 5px 0;
}

/* Styly pro dark mode */
body.dark-mode #discountBar {
	background-color: #2a2a2a;
	color: #e0e0e0;
}
body.dark-mode #discountBar .discount-details-toggle {
	color: #66b0ff;
}
body.dark-mode #discountDetails {
	background-color: #333;
	border-color: #444;
	color: #e0e0e0;
}
.preview {
	background-color: #add8e6 !important;
}
.pending {
	background-color: #ffff99;
	pointer-events: none;
	color: #333;
	font-weight: bold;
}
.cleaning {
	background-color: #cccccc;
	pointer-events: none;
	color: #333;
	font-style: italic;
}
/*.breakPeriod {*/
/*	background-color: #aaaaaa;*/
/*	pointer-events: none;*/
/*	color: #fff;*/
/*	font-weight: bold;*/
/*}*/
.maxAdvance {
	background-color: #666666;
	pointer-events: none;
	color: #fff;
	font-weight: bold;
}

/* OVLÁDACÍ LIŠTA */
.controls {
	text-align: center;
	padding: 10px;
	background: #f7f7f7;

	bottom: 0;
	z-index: 50;
}
.controls button {
	padding: 8px 15px;
	margin: 0 5px;
	font-size: 14px;
	cursor: pointer;
	border: none;
	border-radius: 5px;
	background: var(--themeColor, #007aff);
	color: #fff;
}
#priceOverlay {
	position: absolute;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	white-space: nowrap;
}
#discountTooltip {
	position: absolute;
	background: #fffae6;
	color: #8a6d3b;
	padding: 4px 8px;
	border: 1px solid #ffeeba;
	border-radius: 4px;
	font-size: 12px;
	display: none;
	pointer-events: none;
	z-index: 10;
}

/* FORMULÁŘ */
.form-step {
	display: none !important;
}
.form-step.active {
	display: block !important;
}
.progress-bar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	list-style: none;
}
.progress-bar li {
	flex: 1;
	text-align: center;
	padding: 10px;
	background: #ddd;
	color: #333;
	font-size: 14px;
	border-right: 1px solid #ccc;
}
.progress-bar li:last-child {
	border-right: none;
}
.progress-bar li.active {
	background: #007aff;
	color: #fff;
}
.form-step label {
	display: block;
	margin: 10px 0 5px;
	font-weight: bold;
}
.form-step input, .form-step select {
	width: 100%;
	padding: 8px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
}
.back-to-calendar {
	cursor: pointer;
	color: #007aff;
	margin-bottom: 10px;
	display: inline-block;
}
.captcha-container {
	margin: 20px 0;
	text-align: center;
}
#captchaImage {
	border: 1px solid #ddd;
	margin-bottom: 10px;
}
#captchaInput {
	padding: 8px;
	width: 150px;
	margin-right: 10px;
}
#refreshCaptcha {
	padding: 8px 12px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
#refreshCaptcha:hover {
	background-color: #0056b3;
}
.payment-method-selection label {
	display: block;
	margin: 10px 0;
}

/* KONTEJNER PRO VÝBĚR KALENDÁŘE */
#calendarSelector {
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
}
#calendarSelector label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}
#calendarSelector select {
	width: 100%;
	padding: 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
#calendarSelector select {
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px auto;
}

/* CHECKBOX */
.checkbox__input {
	position: absolute;
	top: -100px;
	left: -100px;
}
.checkbox__inner {
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid #626262;
	background: transparent no-repeat center;
}
.checkbox__input:checked + .checkbox__inner {
	border-color: #52C6C4;
	background-color: #52C6C4;
	background-size: 14px 10px;
}

/* DOPLŇKOVÉ SLUŽBY (KARTY) */
.separator {
	border-top: 1px solid #ccc;
	margin: 10px 0;
}
.bd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	max-width: 1200px;
	margin: auto;
	padding: 20px;
}
.card {
	/*background: #fff;*/
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.card__img {
	width: 100%;
	height: 200px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	/*background-color: #f0f0f0;*/
}
.card__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.card__img:hover img {
	transform: scale(1.1);
}
.card__name {
	padding: 15px;
	text-align: center;
	font-weight: bold;
	font-size: 1.1rem;
	color: #333;
}
.card__precis {
	padding: 0 15px 15px 15px;
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.card__precis .form-floating {
	flex: 0 0 120px;
	margin-right: 10px;
	position: relative;
}
.card__preci {
	font-size: 1.2rem;
	color: #e6007e;
	font-weight: bold;
	display: flex;
	align-items: center;
}
.card__preci::before {
	content: 'x ';
	margin-right: 5px;
	font-size: 1rem;
	color: #666;
}
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.lightbox img {
	max-width: 90%;
	max-height: 80%;
}
.form-select.service-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 10px 15px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #fff;
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px auto;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.form-select.service-select:focus {
	border-color: #007aff;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 122, 255, 0.5);
}

/* DARK MODE */
body.dark-mode {
	background: #121212;
	color: #e0e0e0;
}
body.dark-mode .container {
	background: #1e1e1e;
}
body.dark-mode .controls {
	background: #1e1e1e;
	border-color: #333;
	box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
body.dark-mode .form-step {
	background: #1e1e1e;
	border-color: #333;
	box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
body.dark-mode .calendar-container {
	background: #1e1e1e;
	border-color: #333;
	box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
body.dark-mode .calendar .time-slot {
	background: #2c2c2c;
	border-color: #444;
}
body.dark-mode .day-header {
	background: #333;
	color: #e0e0e0;
	border-color: #444;
}
body.dark-mode .day-cell {
	border-color: #444;
}
body.dark-mode .day-cell:hover {
	background-color: #2a2a2a;
}
body.dark-mode .price-tag {
	background: rgba(0,0,0,0.8);
	color: #fff;
}
body.dark-mode .lightbox img {
	filter: brightness(0.8);
}

@media (max-width: 768px) {

	.calendar-container {
		width: 100%;
		overflow: visible;
		position: relative;
		border: 1px solid #ccc;
		padding-bottom: 80px;
	}

	.calendar {
		display: grid;
		grid-template-columns: 60px repeat(7, 80px);
		min-width: calc(60px + 7 * 80px);
		width: max-content;
		height: auto;
	}

	.day-header,
	.time-slot,
	.day-cell {
		font-size: 10px;
		padding: 2px;
		height: 30px;
	}

	.day-header {
		position: sticky;
		top: 0;
		z-index: 3;
		background: #fff;
		text-align: center;
		border-bottom: 1px solid #ddd;
	}

	.time-slot {
		position: sticky;
		left: 0;
		background: #fafafa;
		z-index: 2;
		text-align: right;
		border-right: 1px solid #ddd;
	}

	.day-cell {
		width: 100%;
		text-align: center;
		cursor: pointer;
		border-left: 1px solid #eee;
		border-bottom: 1px solid #eee;
		position: relative;
		z-index: 1;
	}

	.controls {

		bottom: 0;
		left: 0;
		right: 0;
		z-index: 100;
		background: rgba(255, 255, 255, 0.95);
		padding: 10px;
		box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
		text-align: center;
		min-height: 60px;
	}

	.controls button {
		width: 100%;
		margin: 6px 0;
		font-size: 16px;
		padding: 10px;
	}


	.form-step.active {
		display: block !important;
		padding-bottom: 150px !important;
	}

	#step2 #servicesList {
		max-height: calc(100vh - 250px);
		overflow-y: auto;
		padding-bottom: 20px;
		box-sizing: border-box;
	}

	.bd-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		gap: 10px;
	}

	.card.service-item {
		border-radius: 8px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
		background: #fff;
		display: flex;
		flex-direction: column;
		height: auto;
		overflow: hidden;
	}

	.card__img {
		width: 100%;
		aspect-ratio: 4 / 3;
		overflow: hidden;
	}

	.card__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.card__name {
		font-size: 0.95rem;
		text-align: center;
		padding: 6px 4px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.card__precis {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 6px;
		font-size: 0.9rem;
		text-align: center;
	}

	.card__preci {
		color: #e6007e;
		font-weight: bold;
		font-size: 0.95rem;
		margin-top: 4px;
	}

	.card__precis .form-select {
		width: 100%;
		padding: 4px 6px;
		font-size: 0.85rem;
	}

	#orderSummary {
		padding: 15px;
		font-size: 15px;
		line-height: 1.5;
		max-height: 50vh;
		overflow-y: auto;
		padding-bottom: 20px;
	}

	#orderSummary strong {
		display: inline-block;
		width: 140px;
	}

	#orderSummary p {
		margin-bottom: 10px;
	}

	#orderSummary table {
		width: 100%;
		border-collapse: collapse;
	}

	#orderSummary table thead {
		display: none;
	}

	#orderSummary table tr {
		display: block;
		border: 1px solid #ddd;
		margin-bottom: 10px;
		padding: 10px;
	}

	#orderSummary table td {
		display: block;
		width: 100%;
		text-align: left;
		font-size: 14px;
	}

	#orderSummary table td::before {
		content: attr(data-label);
		font-weight: bold;
		display: block;
		margin-bottom: 2px;
	}
}




.calendar-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 12px 20px;
	margin-top: 15px;
	padding: 10px 0;
	border-top: 1px solid #ccc;
	font-size: 13px;
	flex-direction: row;
}
.legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.legend-circle {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid #999;
}

.language-switcher {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: flex;
	gap: 0.5rem;
}
.language-switcher img {
	width: 24px;
	height: 24px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s;
}
.language-switcher img.active {
	opacity: 1;
}
.language-switcher img:hover {
	opacity: 1;
}
.discount-code-section {
	margin-top: 1.5rem;
	padding: 1rem;
	background-color: #f8f9fa;
	border-radius: 4px;
}
body.dark-mode .discount-code-section {
	background-color: #2c2c2c;
}
.input-group {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}
#discountCodeInput {
	flex: 1;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
#applyDiscountCode, #clearDiscountCode {
	padding: 10px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
#applyDiscountCode {
	background-color: #007bff;
	color: white;
}
#clearDiscountCode {
	background-color: #dc3545;
	color: white;
	font-size: 16px;
}
#discountCodeMessage {
	margin-top: 0.5rem;
	color: #ff9500;
}
#discountCodeMessage.success {
	color: #28a745;
}
html, body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}
body.dark-mode {
	background-color: #1a1a1a;
	color: #ffffff;
}
body.light-mode {
	background-color: #ffffff;
	color: #000000;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
}
.reservation-container {
	background-color: #f8f9fa;
	padding: 2rem;
	border-radius: 8px;
	position: relative;
}
body.dark-mode .reservation-container {
	background-color: #2c2c2c;
}
.payment-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}
.payment-option {
	flex: 1 1 200px;
	border: 2px solid #ccc;
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.3s, box-shadow 0.3s;
	overflow: hidden;
}
.payment-option.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.payment-option input[type="radio"] {
	display: none;
}
.payment-option .option-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	gap: 0.5rem;
}
.payment-option img {
	width: 60px;
	height: auto;
}
.payment-option span {
	font-weight: 500;
	text-align: center;
}
.payment-option input[type="radio"]:checked + .option-content {
	border-color: #007bff;
	background-color: #eef5ff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.payment-option:hover:not(.disabled) {
	border-color: #007bff;
}
.error-message, .bank-transfer-message {
	color: #ff9500;
	margin-top: 10px;
	font-weight: bold;
	display: none;
}
.form-step {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
.form-step.active {
	display: block;
	opacity: 1;
}
.form-help {
	background-color: #f8f9fa;
	padding: 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}
input:invalid, select:invalid {
	border: 2px solid red;
}
.back-to-calendar {
	cursor: pointer;
	color: #007bff;
	margin-bottom: 1rem;
	display: inline-block;
}
.back-to-calendar:hover {
	text-decoration: underline;
}
body.dark-mode .form-help, body.dark-mode .payment-option .option-content {
	background-color: #2c2c2c;
	color: #ffffff;
}
body.dark-mode .payment-option {
	border-color: #555;
}
body.dark-mode .payment-option input[type="radio"]:checked + .option-content {
	background-color: #3a3a3a;
	border-color: #007bff;
}
body.light-mode .form-help, body.light-mode .payment-option .option-content {
	background-color: #f8f9fa;
	color: #000000;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
}
.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 600px;
	border-radius: 8px;
}
body.dark-mode .modal-content {
	background-color: #2c2c2c;
	color: #ffffff;
}
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
body.dark-mode .close {
	color: #ccc;
}
body.dark-mode .close:hover,
body.dark-mode .close:focus {
	color: #fff;
}
.select2-container {
	width: 100% !important;
}
.select2-container .select2-selection--single {
	height: 38px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 38px;
}
.select2-container .select2-selection--single .select2-selection__arrow {
	height: 38px;
}
body.dark-mode .select2-container .select2-selection--single {
	border-color: #555;
	background-color: #2c2c2c;
	color: #ffffff;
}
body.dark-mode .select2-container .select2-selection__rendered {
	color: #ffffff;
}
body.dark-mode .select2-dropdown {
	background-color: #2c2c2c;
	border-color: #555;
	color: #ffffff;
}
body.dark-mode .select2-results__option {
	color: #ffffff;
}
body.dark-mode .select2-results__option--highlighted {
	background-color: #3a3a3a !important;
}

