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

body {
	font-family: "Poppins", sans-serif;
	line-height: 1.6;
	color: #2d3748;
	background: #48513b;
	min-height: 100vh;
	padding: 20px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	background: #fffffff2;
	backdrop-filter: blur(20px);
	border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.header {
	background: #f0efeb;
	color: #ffffff;
	padding: 40px;
	text-align: center;
}

.header h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}

.header p {
	font-size: 1.1rem;
	opacity: 0.9;
	font-weight: 500;
	color: #48513b;
}

.header img {
	width: 200px;
}

.form-container {
	padding: 20px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 0 20px;
}

.form-field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.form-field.full-width {
	grid-column: 1 / -1;
}

input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

label {
	font-weight: 600;
	color: #48513b;
	margin-top: 15px;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

input[required],
select[required] {
	border-color: #e2e8f0;
}

input[required].is-invalid,
select[required].is-invalid {
	border-color: #ee6471 !important;
}

input,
select {
	padding: 16px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.3s ease;
	background: white;
}

input:focus,
select:focus {
	outline: none;
	border-color: #48513b;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	transform: translateY(-1px);
}

input:hover,
select:hover {
	border-color: #48513b;
}

/* Modern Checkbox Styles */
.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 12px;
}

.checkbox-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px;
	/* background: #f8fafc; */
	border-radius: 14px;
	border: 2px solid transparent;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	overflow: hidden;
}

.checkbox-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
	transition: left 0.6s ease;
}

.checkbox-item:hover {
	/* background: #f1f5f9;
	border-color: #48513b;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); */
}

.checkbox-item:hover::before {
	/* left: 100%; */
}

.checkbox-item input[type="checkbox"] {
	appearance: none;
	width: 18px;
	height: 18px;
	padding: 12px;
	border: 2px solid #cbd5e0;
	border-radius: 8px;
	background: white;
	cursor: pointer;
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:hover {
	border-color: #48513b;
	/* transform: scale(1.05); */
}

.checkbox-item input[type="checkbox"]:checked {
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	border-color: #3e4633;
	/* transform: scale(1.05); */
}

.checkbox-item input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 8px;
	width: 5px;
	height: 11px;
	border: solid white;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	animation: checkmark 0.3s ease-in-out;
}

@keyframes checkmark {
	0% {
		opacity: 0;
		transform: rotate(45deg) scale(0);
	}

	50% {
		opacity: 1;
		transform: rotate(45deg) scale(1.2);
	}

	100% {
		opacity: 1;
		transform: rotate(45deg) scale(1);
	}
}

.checkbox-item label {
	margin: 0;
	cursor: pointer;
	font-weight: 500;
	color: #2d3748;
	flex-grow: 1;
	user-select: none;
}

.checkbox-item:has(input:checked) {
	/* background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	border-color: #cbd5e0;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15); */
}

/* Modern Radio Button Styles */
.radio-group {
	display: flex;
	flex-direction: column;
	gap: 0px;
	margin-top: 12px;
}

.radio-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 4px;
	/* background: #f8fafc; */
	/* border-radius: 16px;
	border: 2px solid transparent;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
	cursor: pointer;
	overflow: hidden;
}

.radio-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
	transition: left 0.6s ease;
}

.radio-item:hover {
	/* background: #f1f5f9;
	border-color: #48513b;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); */
}

/* .radio-item:hover::before {
	left: 100%;
} */

.radio-item input[type="radio"] {
	appearance: none;
	padding: 12px;
	width: 18px;
	height: 18px;
	border: 2px solid #cbd5e0;
	border-radius: 50%;
	background: white;
	cursor: pointer;
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
}

.radio-item input[type="radio"]:hover {
	border-color: #48513b;
	/* transform: scale(1.05); */
	box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.radio-item input[type="radio"]:checked {
	border-color: #48513b;
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	/* transform: scale(1.05); */
	box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.radio-item input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	top: 6px;
	left: 6px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-radius: 50%;
	animation: radioCheck 0.3s ease-in-out;
}

@keyframes radioCheck {
	0% {
		opacity: 0;
		transform: scale(0);
	}

	50% {
		opacity: 1;
		transform: scale(1.3);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.radio-item label {
	margin: 0;
	cursor: pointer;
	font-weight: 500;
	color: #2d3748;
	flex-grow: 1;
	user-select: none;
}

.radio-item:has(input:checked) {
	/* background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	border-color: #cbd5e0;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15); */
}

.activities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0px;
	margin-top: 10px;
}

.activities-grid-one {
	display: flex;
	margin-top: 0px;
}

.submit-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

.submit-btn {
	font-family: "Poppins", sans-serif;
	width: 100%;
	padding: 18px 32px;
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	/* box-shadow: 0 4px 15px rgba(107, 142, 35, 0.4); */
}

.submit-btn:hover {
	transform: translateY(-2px);
	/* box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6); */
}

.submit-btn:active {
	transform: translateY(0);
}

.consent-section {
	/* background: linear-gradient(135deg, #f0fff4 0%, #f7fffa 100%);
	border: 2px solid #68d391;
	border-radius: 16px;
	padding: 24px;
	margin-top: 24px; */
}

.consent-section .checkbox-item {
	background: white;
	/* border: 2px solid #68d391; */
}

.consent-section .checkbox-item:hover {
	/* border-color: #48bb78; */
	/* box-shadow: 0 8px 25px rgba(72, 187, 120, 0.15); */
}

.consent-section .checkbox-item:has(input:checked) {
	background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(104, 211, 145, 0.1) 100%);
	border-color: #1d6f21;
}

.consent-section .checkbox-item input[type="checkbox"]:checked {
	background: linear-gradient(135deg, #1d6f21 0%, #29922e 100%);
	border-color: #1d6f21;
}

@media (max-width: 768px) {
	.container {
		margin: 10px;
		border-radius: 16px;
	}

	.header {
		padding: 30px 20px;
	}

	.header h1 {
		font-size: 2rem;
	}

	.form-container {
		padding: 20px 20px;
	}

	.form-grid {
		grid-template-columns: 1fr;
		gap: 0 20px;
	}

	.activities-grid {
		grid-template-columns: 1fr;
	}

	.checkbox-item,
	.radio-item {
		padding: 4px;
	}
}

@media (max-width: 480px) {
	body {
		padding: 0px;
	}

	.container {
		margin: 0;
	}

	.header h1 {
		font-size: 1.8rem;
	}

	.form-container {
		padding: 20px 15px;
	}

	.checkbox-item,
	.radio-item {
		padding: 4px;
		gap: 10px;
	}

	.checkbox-item input[type="checkbox"],
	.radio-item input[type="radio"] {
		width: 20px;
		height: 20px;
	}

	/* Ensure container doesn't overflow */
	.container {
		width: 100%;
		max-width: 100%;
	}

	/* Force single column with no minimum width */
	.form-grid {
		grid-template-columns: 1fr !important;
		gap: 0;
	}

	/* Safety measure for form fields */
	.form-field {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}

	@media (max-width: 480px) {
		.checkbox-item input[type="checkbox"]:checked::after {
			top: 5px;
			left: 9px;
			width: 5px;
			height: 11px;
			border-width: 0 3px 3px 0;
		}
	}

	.radio-item input[type="radio"]:checked::after {
		top: 6px;
		left: 6px;
		width: 12px;
		height: 12px;
	}
}

/* Custom styling for form validation */
input:invalid:not(:focus):not(:placeholder-shown) {
	/* border-color: #ee6471;
	box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1); */
}

input:valid:not(:focus):not(:placeholder-shown) {
	/* border-color: #48bb78; */
}

/* Loading animation for submit button */
.submit-btn.loading {
	position: relative;
	color: transparent;
}

.submit-btn.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Modern Date Picker Styles */
.date-picker-container {
	position: relative;
}

.date-input-wrapper {
	position: relative;
	cursor: pointer;
}

.date-input-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
	color: #4a5568;
}

.date-input-display:hover {
	border-color: #48513b;
}

.date-input-display.focused {
	border-color: #4a5568;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	transform: translateY(-1px);
}

.date-input-display .placeholder {
	color: #a0aec0;
}

.date-input-display .calendar-icon {
	width: 26px;
	height: 26px;
	color: #48513b;
}

.date-picker-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #ffffff;
	/* border: 2px solid #e2e8f0; */
	border-radius: 16px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	z-index: 1000;
	margin-top: 8px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px) scale(0.95);
	transition: all 0.3s ease;
	pointer-events: none;
}

.date-picker-dropdown.active {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: all;
}

.calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	color: white;
}

.calendar-nav-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	font-size: 18px;
}

.calendar-nav-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.05);
}

.calendar-title {
	font-size: 1.1rem;
	font-weight: 600;
}

.calendar-grid {
	padding: 10px;
}

.calendar-days-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0px;
	margin-bottom: 12px;
}

.calendar-day-header {
	font-family: "Poppins", sans-serif;
	padding: 4px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #505739;
}

.calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.calendar-day {
	font-family: "Poppins", sans-serif;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	position: relative;
	background: transparent;
	border: none;
	font-size: 15px;
}

.calendar-day:hover:not(.disabled):not(.other-month):not(.today) {
	background: #edf2f7;
	transform: scale(1.05);
	transition: all 0.2s ease;
}

.calendar-day.today {
	background: #e9e9e9;
	color: #48513b;
	font-weight: 600;
	cursor: default;
}

.calendar-day.today.disabled {
	color: #48513b;
	cursor: not-allowed;
}

.calendar-day.today:hover {
	cursor: default;
}

.calendar-day.selected {
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	color: #ffffff;
	font-weight: 600;
}

.calendar-day.disabled {
	color: #cbd5e0;
	cursor: not-allowed;
}

.calendar-day.other-month {
	color: #cbd5e0;
	cursor: default;
}

.calendar-day.other-month:not(.disabled) {
	cursor: default;
}

.calendar-day.other-month:hover:not(.disabled) {
	/* background: #f7fafc; */
	color: #4a5568;
}

@media (max-width: 480px) {
	.date-picker-dropdown {
		position: absolute;
		top: 50%;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%) scale(0.95);
		width: 80vw;
		max-width: 350px;
		z-index: 200;
	}

	.date-picker-dropdown.active {
		transform: translate(-50%, -50%) scale(1);
	}

	.calendar-grid {
		padding: 10px;
	}
}

/* Modern Time Picker Styles */
.time-picker-container {
	position: relative;
}

.time-input-wrapper {
	position: relative;
	cursor: pointer;
}

.time-input-display {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
	color: #4a5568;
}

.time-input-display:hover {
	border-color: #48513b;
}

.time-input-display.focused {
	border-color: #4a5568;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	transform: translateY(-1px);
}

.time-input-display .placeholder {
	color: #a0aec0;
}

.time-input-display .clock-icon {
	width: 26px;
	height: 26px;
	color: #48513b;
}

.time-picker-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #ffffff;
	/* border: 2px solid #e2e8f0; */
	border-radius: 16px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	z-index: 999;
	margin-top: 8px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px) scale(0.95);
	transition: all 0.3s ease;
	pointer-events: none;
}

.time-picker-dropdown.active {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: all;
}

.time-picker-header {
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	color: white;
	padding: 14px;
	text-align: center;
	font-weight: 600;
	font-size: 1rem;
}

.time-slots-container {
	padding: 20px;
	max-height: 240px;
	overflow-y: auto;
}

.time-slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 8px;
}

.time-slot {
	font-family: "Poppins", sans-serif;
	background: #f7fafc;
	border: 2px solid transparent;
	border-radius: 12px;
	padding: 12px 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	color: #4a5568;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
}

.time-slot:hover {
	background: #edf2f7;
	border-color: #e2e8f0;
	transform: translateY(-1px);
}

.time-slot.selected {
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
	color: #ffffff;
	font-weight: 600;
}

.time-slot.unavailable {
	background: #f7fafc;
	color: #cbd5e0;
	cursor: not-allowed;
	opacity: 0.6;
}

.time-slot.unavailable:hover {
	transform: none;
	border-color: transparent;
}

/* Custom scrollbar for time slots */
.time-slots-container::-webkit-scrollbar {
	width: 6px;
}

.time-slots-container::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb {
	background: #c1c2c0;
	border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb:hover {
	background: #c1c2c0;
}

@media (max-width: 768px) {
	.time-slots-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.time-slot {
		padding: 16px 12px;
		font-size: 1rem;
		min-height: 52px;
	}
}

@media (max-width: 480px) {
	.time-picker-dropdown {
		position: absolute;
		top: 0;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%) scale(0.95);
		width: 80vw;
		max-width: 350px;
		max-height: 80vh;
	}

	.time-picker-dropdown.active {
		transform: translate(-50%, -50%) scale(1);
	}

	.time-slots-container {
		max-height: calc(80vh - 120px);
	}

	.time-slots-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 0;
	}

	.time-slot {
		padding: 18px 16px;
		font-size: 1.1rem;
		min-height: 56px;
		border-radius: 16px;
	}
}


/* Basic rotating spinner */
.spinner-border {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	vertical-align: -0.125em;
	border: 0.25em solid currentcolor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
	to {
		transform: rotate(360deg);
	}
}

/* Hide original select */
.custom-select-wrapper select {
	display: none;
}

/* Custom Select Styles */
.custom-select {
	position: relative;
	display: inline-block;
	width: 100%;
}

/* Hide original select */
.custom-select-wrapper select {
	display: none;
}

/* Custom Select Styles */
.custom-select {
	position: relative;
	display: inline-block;
	width: 100%;
}

.select-trigger {
	background: white;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	padding: 14px;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
	position: relative;
	min-height: 20px;
	position: relative;
}

.select-trigger:hover {
	border-color: #48513b;
	/* box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); */
}

.select-trigger.active {
	border-color: #48513b;
	/* box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15); */
}

.select-trigger::after {
	content: '';
	border: solid #666;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
	position: absolute;
	right: 16px;
	top: 50%;
	margin-top: -3px;
}

.select-trigger.active::after {
	transform: rotate(-135deg);
	margin-top: 0;
}

.select-options {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #ffffff;
	border: 2px solid #e1e5e9;
	border-top: none;
	border-radius: 0 0 8px 8px;
	z-index: 1000;
	overflow-y: auto;
	opacity: 0;
	transform: translateY(-10px);
	visibility: hidden;
	transition: all 0.3s ease;
	/* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.select-options.show {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.select-option {
	padding: 12px 16px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	border-bottom: 1px solid #f1f3f4;
}

.select-option:last-child {
	border-bottom: none;
}

.select-option:hover {
	background-color: #f8f9fa;
}

.select-option.selected {
	background-color: #48513b;
	color: #ffffff;
}

.select-option.selected:hover {
	background-color: #48513b;
}

/* Modern Style Variant */
.custom-select.modern .select-trigger {
	/* background: linear-gradient(145deg, #ffffff, #f1f3f4); */
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	/* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

.custom-select.modern .select-trigger:hover {
	/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
	/* transform: translateY(-1px); */
	border-color: #48513b;
}

.custom-select.modern .select-options {
	border-radius: 12px;
	border: 1px solid #ddd;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	margin-top: 6px;
}

.error-message {
	color: #d14654;
	font-size: 0.875em;
	margin-top: 0.25rem;
	display: block;
}

.is-invalid {
	border-color: #ee6471;
}

.custom-select.is-invalid .select-trigger {
	border-color: #ee6471;
}

.general-error {
	margin-bottom: 1rem;
}

/* Modal Backdrop */
/* Modal Backdrop */
.modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #dcdddba3;
	backdrop-filter: blur(1px);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

/* Show modal */
.modal-backdrop.show {
	opacity: 1;
	visibility: visible;
}

.modal-backdrop.show .modal {
	transform: translate(-50%, -50%) scale(1);
}

/* Modal Content */
.modal {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1100;
	transform: translate(-50%, -50%) scale(0.8);
	background: #fffffff2;
	border-radius: 20px;
	max-width: 400px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
}

/* Modal Header */
.modal-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	text-align: center;
}

.modal-title {
	font-size: 1.5rem;
	font-weight: bold;
	color: #333;
}

/* No close button needed */

/* Modal Body */
.modal-body {
	line-height: 1.6;
	color: #555;
}

/* Modal Footer */
.modal-footer {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	padding-top: 15px;
	border-top: 1px solid #eee;
}

/* slide */
.slideshow-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.slide {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}

.slide img {
	width: auto;
	height: 106px;
	object-fit: cover;
	transform: translateX(100%);
}

.slide .slide-content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 260px;
}

.slide .slide-content .text {
	font-size: 14px;
	font-weight: 600;
	color: #3e4633;
	transform: translateX(100%);
}

/* Animation for each slide - total cycle is 24 seconds (6 slides × 4 seconds each) */
/* Animations only start when slideshow-active class is added */
.slideshow-active .slide:nth-child(1) {
	animation: slideShow 24s infinite;
	animation-delay: 0s;
}

.slideshow-active .slide:nth-child(1) img {
	animation: imageMove 24s infinite;
	animation-delay: 0s;
}

.slideshow-active .slide:nth-child(1) .text {
	animation: imageMove 24s infinite;
	animation-delay: 0s;
}

.slideshow-active .slide:nth-child(2) {
	animation: slideShow 24s infinite;
	animation-delay: 4s;
}

.slideshow-active .slide:nth-child(2) img {
	animation: imageMove 24s infinite;
	animation-delay: 4s;
}

.slideshow-active .slide:nth-child(2) .text {
	animation: imageMove 24s infinite;
	animation-delay: 4s;
}

.slideshow-active .slide:nth-child(3) {
	animation: slideShow 24s infinite;
	animation-delay: 8s;
}

.slideshow-active .slide:nth-child(3) img {
	animation: imageMove 24s infinite;
	animation-delay: 8s;
}

.slideshow-active .slide:nth-child(3) .text {
	animation: imageMove 24s infinite;
	animation-delay: 8s;
}

.slideshow-active .slide:nth-child(4) {
	animation: slideShow 24s infinite;
	animation-delay: 12s;
}

.slideshow-active .slide:nth-child(4) img {
	animation: imageMove 24s infinite;
	animation-delay: 12s;
}

.slideshow-active .slide:nth-child(4) .text {
	animation: imageMove 24s infinite;
	animation-delay: 12s;
}

.slideshow-active .slide:nth-child(5) {
	animation: slideShow 24s infinite;
	animation-delay: 16s;
}

.slideshow-active .slide:nth-child(5) img {
	animation: imageMove 24s infinite;
	animation-delay: 16s;
}

.slideshow-active .slide:nth-child(5) .text {
	animation: imageMove 24s infinite;
	animation-delay: 16s;
}

.slideshow-active .slide:nth-child(6) {
	animation: slideShow 24s infinite;
	animation-delay: 20s;
}

.slideshow-active .slide:nth-child(6) img {
	animation: imageMove 24s infinite;
	animation-delay: 20s;
}

.slideshow-active .slide:nth-child(6) .text {
	animation: imageMove 24s infinite;
	animation-delay: 20s;
}

@keyframes slideShow {
	0% {
		opacity: 0;
	}

	4.16% {
		opacity: 1;
	}

	/* Start showing */
	16.66% {
		opacity: 1;
	}

	/* Hold for 2 seconds */
	20.83% {
		opacity: 0;
	}

	/* Finish hiding */
	100% {
		opacity: 0;
	}
}

@keyframes imageMove {
	0% {
		transform: translateX(100%);
	}

	/* Start from right */
	4.16% {
		transform: translateX(0%);
	}

	/* Move to center (1 sec) */
	16.66% {
		transform: translateX(0%);
	}

	/* Hold in center for 2 seconds */
	20.83% {
		transform: translateX(-100%);
	}

	/* Move to left (1 sec) */
	100% {
		transform: translateX(-100%);
	}

	/* Stay off screen */
}

.slide-info {
	position: absolute;
	bottom: 30px;
	left: 30px;
	color: white;
	background: rgba(0, 0, 0, 0.7);
	padding: 15px 25px;
	border-radius: 10px;
	backdrop-filter: blur(10px);
	opacity: 0;
}

.slideshow-active .slide-info {
	animation: textFade 24s infinite;
}

.slideshow-active .slide:nth-child(1) .slide-info {
	animation-delay: 0s;
}

.slideshow-active .slide:nth-child(2) .slide-info {
	animation-delay: 4s;
}

.slideshow-active .slide:nth-child(3) .slide-info {
	animation-delay: 8s;
}

.slideshow-active .slide:nth-child(4) .slide-info {
	animation-delay: 12s;
}

.slideshow-active .slide:nth-child(5) .slide-info {
	animation-delay: 16s;
}

.slideshow-active .slide:nth-child(6) .slide-info {
	animation-delay: 20s;
}

@keyframes textFade {
	0% {
		opacity: 0;
	}

	4.16% {
		opacity: 1;
	}

	16.66% {
		opacity: 1;
	}

	20.83% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

.slide-info h3 {
	margin: 0 0 5px 0;
	font-size: 24px;
}

.slide-info p {
	margin: 0;
	font-size: 14px;
	opacity: 0.9;
}

.controls {
	position: absolute;
	bottom: 20px;
	right: 20px;
	display: flex;
	gap: 10px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background 0.3s;
}

.slideshow-active .dot {
	animation: dotActive 24s infinite;
}

.slideshow-active .dot:nth-child(1) {
	animation-delay: 0s;
}

.slideshow-active .dot:nth-child(2) {
	animation-delay: 4s;
}

.slideshow-active .dot:nth-child(3) {
	animation-delay: 8s;
}

.slideshow-active .dot:nth-child(4) {
	animation-delay: 12s;
}

.slideshow-active .dot:nth-child(5) {
	animation-delay: 16s;
}

.slideshow-active .dot:nth-child(6) {
	animation-delay: 20s;
}

@keyframes dotActive {
	0% {
		background: rgba(255, 255, 255, 0.5);
	}

	4.16% {
		background: white;
	}

	16.66% {
		background: white;
	}

	20.83% {
		background: rgba(255, 255, 255, 0.5);
	}

	100% {
		background: rgba(255, 255, 255, 0.5);
	}
}

.progress-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	width: 100%;
}

.progress {
	height: 100%;
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
	width: 0;
}

.slideshow-active .progress {
	animation: progressBar 24s infinite linear;
}

@keyframes progressBar {
	0% {
		width: 0%;
	}

	100% {
		width: 100%;
	}
}

.start-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
	color: white;
	border: none;
	padding: 15px 30px;
	font-size: 18px;
	font-weight: bold;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
	z-index: 100;
}

.start-button:hover {
	transform: translate(-50%, -50%) scale(1.05);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.start-button:active {
	transform: translate(-50%, -50%) scale(0.98);
}

.slideshow-active .start-button {
	display: none;
}

.modal .content {
	padding: 20px;
	line-height: 1.2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 18px;
}

.modal .content-header {
	padding-top: 15px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e1e1e1;
	font-weight: 600;
	color: #ffffff;
	font-size: 18px;
	background: linear-gradient(135deg, #48513b 0%, #666633 100%);
}

.modal .logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal .logo img {
	width: auto;
	height: 66px;
	object-fit: cover;
	object-position: center;
}