.mani-reservation-form {
	max-width: 520px;
	margin: 24px auto 50px;
	padding: 28px;
	border: 1px solid #eaeaea;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(20, 30, 60, 0.08);
	position: relative;
	z-index: 2;
	overflow-x: hidden;
	box-sizing: border-box;
}

@media (max-width: 600px) {
	.mani-reservation-form {
		margin-left: 14px;
		margin-right: 14px;
		padding: 20px;
	}
	.mani-tagline {
		padding-left: 14px;
		padding-right: 14px;
		box-sizing: border-box;
	}
}

.mani-reservation-form .form-group {
	margin-bottom: 18px;
}

.mani-reservation-form label {
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
}

.mani-reservation-form .form-control {
	border-radius: 8px;
	border: 1px solid #d7dbe0;
	padding: 10px 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.mani-reservation-form .form-control:focus {
	border-color: #2d7dd2;
	box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.15);
	outline: none;
}

.mani-reservation-form .btn-primary {
	background: #2d7dd2;
	border: none;
	border-radius: 8px;
	padding: 12px 34px;
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(45, 125, 210, 0.35);
	transition: transform .15s ease, box-shadow .15s ease;
}

.mani-reservation-form .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(45, 125, 210, 0.42);
}

.mani-calendar {
	border: 1px solid #e6e9ee;
	border-radius: 10px;
	padding: 12px;
	background: #fafbfc;
}

.mani-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	font-weight: bold;
}

.mani-calendar-header button {
	border: none;
	background: #eef2f7;
	border-radius: 8px;
	width: 34px;
	height: 34px;
	cursor: pointer;
	transition: background .15s ease;
}

.mani-calendar-header button:hover {
	background: #dbe6f2;
}

.mani-calendar-header button:disabled {
	opacity: 0;
	pointer-events: none;
}

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

.mani-day {
	padding: 9px 0;
	text-align: center;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	transition: background .12s ease, transform .12s ease;
}

.mani-day:hover {
	background: #e6f2ff;
	transform: translateY(-1px);
}

.mani-day-disabled {
	background: #f2f2f2;
	color: #bbb;
	text-decoration: line-through;
	cursor: not-allowed;
}

.mani-day-disabled:hover {
	transform: none;
	background: #f2f2f2;
}

.mani-day-selected {
	background: #2d7dd2;
	color: #fff;
	border-color: #2d7dd2;
	box-shadow: 0 3px 10px rgba(45, 125, 210, 0.35);
}

.mani-selected-label {
	margin-top: 10px;
	font-size: 13px;
	color: #555;
}

.mani-select-row {
	display: flex;
	gap: 8px;
}

.mani-select-row select {
	flex: 1;
}

/* honeypot field: hidden from real users, left in the DOM for bots */
.mani-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.mani-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-color: #2d7dd2;
	margin-bottom: 0;
	position: relative;
	padding: 10px 20px;
	box-sizing: border-box;
}

.mani-header-subtitle {
	color: #ffffff;
	opacity: .92;
	margin: 8px 0 0;
	text-align: center;
	font-size: 1.05rem;
	max-width: 620px;
	text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.mani-header-title {
	color: #ffffff;
	margin: 0;
	padding: 0 20px;
	text-align: center;
	font-size: 2.3rem;
	font-weight: 700;
	text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.mani-tagline {
	text-align: center;
	padding: 26px 15px 44px;
	color: #4a5568;
}

.mani-tagline-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(45, 125, 210, 0.12);
	color: #2d7dd2;
	margin-bottom: 10px;
}

.mani-tagline p {
	margin: 6px auto 0;
	font-size: 1.08rem;
	max-width: 420px;
}

.mani-success-panel {
	text-align: center;
	padding: 10px 6px 6px;
}

.mani-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(46, 125, 50, 0.1);
	margin-bottom: 6px;
}

.mani-success-panel h3 {
	margin: 6px 0 18px;
	color: #2e7d32;
	font-size: 1.4rem;
}

.mani-reference-badge {
	display: table;
	margin: 0 auto 16px;
	background: #f0f4f9;
	border: 1px dashed #c3d0e0;
	border-radius: 8px;
	padding: 6px 16px;
	font-size: 0.95rem;
	color: #444;
	letter-spacing: .02em;
	white-space: nowrap;
}

.mani-success-summary {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	text-align: start;
	display: inline-block;
	background: #f8faf8;
	border: 1px solid #e3f0e3;
	border-radius: 10px;
	padding: 16px 22px;
	min-width: 240px;
}

.mani-success-summary li {
	margin: 6px 0;
	font-size: 1rem;
}

.mani-success-note {
	color: #666;
	font-size: 0.92rem;
	margin-bottom: 20px;
}

.mani-version-footer {
	text-align: center;
	font-size: 11px;
	color: #999;
	margin-top: 18px;
}

.mani-shift-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mani-shift-option {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e0e4e9;
	border-radius: 8px;
	padding: 10px 12px;
	font-weight: normal;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.mani-shift-option:hover {
	border-color: #2d7dd2;
	background: #f5f9fd;
}

.mani-shift-option input {
	margin: 0;
}

.mani-time-slots-group-label {
	font-weight: 600;
	font-size: 0.9rem;
	color: #555;
	margin: 14px 0 8px;
}

.mani-time-slots-group-label:first-child {
	margin-top: 0;
}

.mani-time-slots-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

@media (max-width: 480px) {
	.mani-time-slots-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.mani-time-slot {
	border: 1px solid #e0e4e9;
	border-radius: 8px;
	background: #fff;
	padding: 9px 4px;
	text-align: center;
	font-size: 0.92rem;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .12s ease;
}

.mani-time-slot:hover {
	background: #f5f9fd;
	transform: translateY(-1px);
}

.mani-time-slot.is-selected {
	color: #fff;
	font-weight: 600;
}

.mani-inline-alert {
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #7a2420;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: 0.94rem;
	line-height: 1.7;
}

.mani-inline-alert ul {
	margin: 0;
	padding-inline-start: 18px;
}

.mani-row-2col {
	display: flex;
	gap: 14px;
}

.mani-row-2col .form-group {
	flex: 1;
	min-width: 0;
}

.mani-row-uneven .mani-col-wide {
	flex: 2;
}

.mani-row-uneven .mani-col-narrow {
	flex: 1;
	min-width: 90px;
}

@media (max-width: 560px) {
	.mani-row-2col {
		flex-direction: column;
		gap: 0;
	}
}

.mani-input-icon-wrap {
	position: relative;
}

.mani-field-icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 12px;
	transform: translateY(-50%) !important;
	width: 18px;
	height: 18px;
	color: #a0a8b4;
	pointer-events: none;
	transition: color .15s ease;
}

.mani-input-icon-wrap .form-control {
	padding-inline-start: 38px;
}

.mani-selection-summary {
	background: #eef6fd;
	border: 1px solid #cfe6f7;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: 0.95rem;
	color: #1f5c8b;
	text-align: center;
	font-weight: 600;
}

.mani-no-slots {
	color: #888;
	font-size: 0.9rem;
	text-align: center;
	padding: 10px 0;
}

.mani-slot-hidden {
	display: none !important;
}

.mani-load-more {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 9px 0;
	background: #f5f7fa;
	border: 1px dashed #d7dbe0;
	border-radius: 8px;
	color: #555;
	font-size: 0.9rem;
	cursor: pointer;
}

.mani-btn-outline {
	display: inline-block;
	background: #fff;
	color: #2d7dd2;
	border: 1px solid #2d7dd2;
	padding: 9px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	transition: background .15s ease;
}

.mani-btn-outline:hover {
	background: #eef6fd;
	color: #2d7dd2;
}
