/**
 * Frontend Styles
 *
 * @package SimpleHallBookingManager
 */

/* Hall List Grid */
.shb-hall-list {
	display: grid;
	gap: 30px;
	margin: 30px 0;
}

.shb-hall-list.shb-columns-1 {
	grid-template-columns: 1fr;
}

.shb-hall-list.shb-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.shb-hall-list.shb-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.shb-hall-list.shb-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Hall Card */
.shb-hall-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s, box-shadow 0.2s;
}

.shb-hall-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.shb-hall-header {
	padding: 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.shb-hall-title {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
}

.shb-hall-body {
	padding: 20px;
}

.shb-hall-description {
	margin-bottom: 15px;
	color: #666;
	line-height: 1.6;
}

.shb-hall-meta {
	display: flex;
	gap: 20px;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #eee;
	font-size: 14px;
}

.shb-hall-footer {
	padding: 0 20px 20px;
}

/* Booking Form */
.shb-booking-form-wrapper {
	max-width: 600px;
	margin: 30px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shb-booking-form h3 {
	margin-top: 30px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #667eea;
	color: #333;
	font-size: 20px;
}

.shb-form-group {
	margin-bottom: 20px;
}

.shb-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
}

.shb-form-group input[type="text"],
.shb-form-group input[type="email"],
.shb-form-group input[type="tel"],
.shb-form-group input[type="date"],
.shb-form-group input[type="number"],
.shb-form-group select,
.shb-form-group textarea {
	width: 100%;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s;
	box-sizing: border-box;
}

.shb-form-group input:focus,
.shb-form-group select:focus,
.shb-form-group textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.required {
	color: #d63638;
}

/* Slots Container */
.shb-slots-container {
	padding: 15px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.shb-slots-placeholder {
	color: #666;
	font-style: italic;
	text-align: center;
	margin: 0;
}

.shb-slot-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 15px;
}

.shb-slot-option {
	position: relative;
}

.shb-slot-option input[type="radio"] {
	position: absolute;
	opacity: 0;
}

.shb-slot-option label {
	display: block;
	padding: 15px;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	text-align: left;
	position: relative;
}

/* Available slots - green accent */
.shb-slot-available label {
	border-left: 4px solid #28a745;
	background: #f8fff9;
}

.shb-slot-available label:hover {
	border-color: #28a745;
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.shb-slot-option input[type="radio"]:checked+label {
	background: #667eea;
	color: #fff;
	border-color: #667eea;
	border-left-width: 4px;
}

.shb-slot-option input[type="radio"]:checked+label .shb-availability-indicator {
	background: #fff;
	border-color: #fff;
}

.shb-slot-option input[type="radio"]:checked+label .shb-slot-status {
	color: #fff;
}

.shb-slot-option label:hover {
	border-color: #667eea;
}

.shb-slot-label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 15px;
}

.shb-slot-time {
	display: block;
	font-size: 13px;
	opacity: 0.7;
	margin-bottom: 8px;
}

/* Availability indicator */
.shb-availability-indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}

.shb-availability-indicator.shb-available {
	background: #28a745;
	border: 2px solid #28a745;
	box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.shb-availability-indicator.shb-booked {
	background: #dc3545;
	border: 2px solid #dc3545;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

/* Slot status badge */
.shb-slot-status {
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: #28a745;
	color: #fff;
	float: right;
}

/* Required field notice */
.shb-select-required {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	padding: 10px 15px;
	margin-bottom: 15px;
	color: #856404;
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shb-select-required::before {
	content: "⚠️";
	font-size: 16px;
}

.shb-slot-required {
	border-left: 3px solid #ffc107 !important;
}

.shb-slot-required:invalid {
	border-color: #dc3545 !important;
	border-left-color: #dc3545 !important;
}

/* Buttons */
.shb-btn {
	display: inline-block;
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s;
	box-sizing: border-box;
}

.shb-btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
}

.shb-btn-primary:hover {
	background: linear-gradient(135deg, #5568d3 0%, #6a428e 100%);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.shb-btn-danger {
	background: #d63638;
	color: #fff;
}

.shb-btn-danger:hover {
	background: #c02527;
	color: #fff;
}

.shb-btn-large {
	width: 100%;
	padding: 15px 30px;
	font-size: 18px;
}

.shb-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Messages */
.shb-form-messages {
	margin-bottom: 20px;
}

.shb-notice {
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.shb-notice-success {
	background: #d1f2eb;
	color: #0c5040;
	border-left: 4px solid #00a32a;
}

.shb-notice-error {
	background: #f8d7da;
	color: #721c24;
	border-left: 4px solid #d63638;
}

.shb-notice-info {
	background: #cfe2ff;
	color: #052c65;
	border-left: 4px solid #0073aa;
}

.shb-notice p {
	margin: 0;
}

/* User Booking Page */
.shb-user-booking {
	max-width: 700px;
	margin: 30px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shb-user-booking h2 {
	margin-top: 0;
	color: #333;
}

.shb-booking-status {
	margin: 20px 0;
	text-align: center;
}

.shb-status-badge {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
}

.shb-status-pending {
	background: #fff3cd;
	color: #856404;
}

.shb-status-confirmed {
	background: #d4edda;
	color: #155724;
}

.shb-status-cancelled {
	background: #f8d7da;
	color: #721c24;
}

.shb-booking-details {
	margin: 30px 0;
}

.shb-detail-row {
	display: flex;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.shb-detail-row:last-child {
	border-bottom: none;
}

.shb-detail-label {
	flex: 0 0 150px;
	font-weight: 600;
	color: #555;
}

.shb-detail-value {
	flex: 1;
	color: #333;
}

.shb-booking-actions {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #eee;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {

	.shb-hall-list.shb-columns-3,
	.shb-hall-list.shb-columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {

	.shb-hall-list.shb-columns-2,
	.shb-hall-list.shb-columns-3,
	.shb-hall-list.shb-columns-4 {
		grid-template-columns: 1fr;
	}

	.shb-booking-form-wrapper,
	.shb-user-booking,
	.shb-pin-lookup-form {
		padding: 0;
		margin: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 0;
		box-shadow: none;
		border: none;
	}

	.shb-form-group {
		margin-bottom: 12px;
	}

	.shb-form-group label {
		margin-bottom: 4px;
		font-size: 15px;
	}

	.shb-booking-form h3 {
		margin-top: 20px;
		font-size: 18px;
	}

	.shb-calendar-header {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 0 5px;
	}

	.shb-cal-month-year {
		order: 0;
		font-size: 15px;
	}

	.shb-calendar-grid {
		gap: 2px;
	}

	.shb-cal-day {
		padding: 12px 2px;
		/* Taller touch targets */
		font-size: 13px;
	}

	.shb-cal-day-header {
		padding: 5px;
		font-size: 11px;
	}

	.shb-date-indicator {
		width: 4px;
		height: 4px;
	}

	.shb-calendar-legend {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 12px;
	}

	.shb-legend-item {
		justify-content: flex-start;
	}

	/* Stack date selection rows on mobile */
	.shb-date-slot-row {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 15px;
		position: relative;
		padding-right: 50px;
	}

	.shb-dates-header {
		display: none;
		/* Hide complex header on mobile */
	}

	.shb-remove-date {
		position: absolute;
		top: 15px;
		right: 10px;
	}

	.shb-single-date-selection .shb-date-info {
		grid-template-columns: 1fr auto;
		padding: 12px;
	}

	.shb-single-date-display {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 15px;
	}

	.shb-big-date {
		width: 100%;
		flex-direction: row;
		justify-content: center;
		gap: 10px;
		min-width: auto;
	}

	.shb-day {
		font-size: 28px;
	}

	.shb-month-year {
		margin-top: 0;
		font-size: 14px;
	}

	.shb-time-info {
		width: 100%;
		text-align: center;
	}

	.shb-detail-row {
		flex-direction: column;
		gap: 5px;
	}

	.shb-detail-label {
		flex: none;
	}
}

@media screen and (max-width: 480px) {
	.shb-cal-day {
		padding: 12px 2px;
	}

	.shb-btn-large {
		font-size: 16px;
		padding: 12px 20px;
	}

	.shb-booking-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 20px;
	}

	.shb-booking-id {
		align-self: flex-start;
	}

	.shb-pin-code {
		font-size: 24px;
		letter-spacing: 2px;
	}
}

/* Loading State */
.shb-loading {
	opacity: 0.6;
	pointer-events: none;
}

.shb-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: shb-spin 1s linear infinite;
}

@keyframes shb-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Extra touch target improvements for mobile */
@media (pointer: coarse) {

	.shb-cal-day,
	.shb-btn,
	.shb-slot-select,
	.shb-form-group input,
	.shb-form-group select {
		min-height: 44px;
	}

	.shb-cal-day {
		min-width: 40px;
	}
}

/* ========================================
   Multi-Day Booking Styles (v1.1.0+)
   ======================================== */

/* Multi-day toggle */
.shb-checkbox-label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

.shb-checkbox-label input {
	margin-right: 8px;
}

/* Calendar container (unified for single and multi-day) */
.shb-calendar,
.shb-multiday-calendar {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 15px;
}

/* Calendar header (month/year + navigation) */
.shb-calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.shb-cal-prev,
.shb-cal-next {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 5px 12px;
	cursor: pointer;
	border-radius: 3px;
	font-size: 16px;
	transition: background 0.2s;
}

.shb-cal-prev:hover,
.shb-cal-next:hover {
	background: #135e96;
}

.shb-cal-month-year {
	font-weight: bold;
	font-size: 16px;
}

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

.shb-cal-day-header {
	text-align: center;
	font-weight: bold;
	padding: 8px;
	background: #f5f5f5;
	font-size: 12px;
	border-radius: 3px;
}

.shb-cal-day {
	text-align: center;
	padding: 10px;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	border-radius: 3px;
	transition: all 0.2s;
	font-size: 14px;
}

.shb-cal-day:hover:not(.disabled):not(.empty) {
	background: #e7f3ff;
	border-color: #2271b1;
}

.shb-cal-day.selected {
	background: #2271b1;
	color: #fff;
	border-color: #135e96;
	font-weight: bold;
}

.shb-cal-day.disabled {
	background: #f5f5f5;
	color: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

.shb-cal-day.empty {
	border: none;
	background: transparent;
	cursor: default;
}

/* Calendar date with indicator */
.shb-cal-day {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
}

.shb-date-number {
	display: block;
	font-size: 14px;
}

/* Date availability indicators */
.shb-date-indicator {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-top: 2px;
}

.shb-indicator-available {
	background: #28a745;
	box-shadow: 0 0 4px rgba(40, 167, 69, 0.5);
}

.shb-indicator-partial {
	background: #ffc107;
	box-shadow: 0 0 4px rgba(255, 193, 7, 0.5);
}

.shb-indicator-full {
	background: #dc3545;
	box-shadow: 0 0 4px rgba(220, 53, 69, 0.5);
}

/* Enhanced calendar day states */
.shb-cal-day.available {
	border-color: #d4edda;
}

.shb-cal-day.partially-booked {
	border-color: #fff3cd;
}

.shb-cal-day.fully-booked {
	background: #f8d7da;
	border-color: #f5c6cb;
	cursor: not-allowed;
	opacity: 0.7;
	pointer-events: none;
}

.shb-cal-day.fully-booked:hover {
	background: #f8d7da;
	border-color: #f5c6cb;
}

/* Loading state for calendar */
.shb-loading-availability {
	position: relative;
}

.shb-loading-availability::before {
	content: 'Loading availability...';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.95);
	padding: 15px 30px;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	z-index: 100;
	font-weight: 600;
	color: #2271b1;
}

.shb-loading-availability::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.7);
	z-index: 99;
	border-radius: 6px;
}

.shb-loading-availability .shb-calendar-grid {
	pointer-events: none;
	opacity: 0.5;
}

/* Calendar legend */
.shb-calendar-legend {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 15px;
	margin-top: 15px;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	font-size: 13px;
}

.shb-legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.shb-legend-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.shb-legend-indicator.shb-indicator-selected {
	background: #2271b1;
	box-shadow: 0 0 4px rgba(34, 113, 177, 0.5);
}

.shb-legend-label {
	font-size: 12px;
	color: #555;
	font-weight: 500;
}

/* Selected dates display */
.shb-selected-dates-display {
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 20px;
	margin-top: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.shb-dates-label {
	font-weight: 600;
	margin-bottom: 15px;
	font-size: 15px;
	color: #333;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shb-dates-label::before {
	content: "📅";
	font-size: 18px;
}

/* Date with slot selection rows */
.shb-selected-dates-with-slots {
	margin: 10px 0;
}

.shb-date-slot-row {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 12px 15px;
	margin-bottom: 10px;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 2fr auto;
	gap: 15px;
	align-items: center;
	transition: box-shadow 0.2s;
}

.shb-date-slot-row:hover {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shb-date-label {
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	color: #2271b1;
	white-space: nowrap;
}

.shb-date-label strong {
	color: #2271b1;
}

.shb-date-slot-selector {
	flex: 1;
}

.shb-remove-date {
	background: #dc3545;
	color: #fff;
	border: none;
	border-radius: 4px;
	width: 36px;
	height: 36px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shb-remove-date:hover {
	background: #c82333;
	transform: scale(1.05);
}

.shb-remove-date:active {
	transform: scale(0.95);
}

.shb-slot-select {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid #ddd;
	border-left: 3px solid #28a745;
	border-radius: 4px;
	font-size: 14px;
	background: #f8fff9;
	cursor: pointer;
	transition: all 0.2s;
	font-weight: 500;
}

.shb-slot-select:hover {
	border-color: #28a745;
	box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
}

.shb-slot-select:focus {
	outline: none;
	border-color: #667eea;
	border-left-color: #667eea;
	box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.shb-slot-select:invalid {
	border-color: #dc3545;
	border-left-color: #dc3545;
	background: #fff5f5;
}

/* Dropdown options with checkmark */
.shb-slot-select option[data-available="true"] {
	color: #28a745;
	font-weight: 500;
}

.shb-slot-select option:disabled {
	color: #999;
	font-style: italic;
}

.shb-loading-slots {
	color: #666;
	font-style: italic;
	font-size: 14px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 4px;
	text-align: center;
	border: 1px dashed #ddd;
}

.shb-no-slots {
	color: #721c24;
	font-size: 14px;
	padding: 15px;
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	text-align: center;
	font-weight: 600;
}

.shb-no-slots small {
	display: block;
	margin-top: 5px;
	font-weight: 400;
	font-size: 13px;
	opacity: 0.8;
}

.shb-selected-dates-with-slots .empty {
	color: #666;
	font-style: italic;
	padding: 10px;
	text-align: center;
}

.shb-dates-count {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #ddd;
	font-size: 14px;
}

.shb-dates-count strong {
	color: #2271b1;
}

/* Single date selection (1 date selected) */
.shb-single-date-selection {
	background: #f8f9fa;
	border-radius: 4px;
	padding: 15px;
}

.shb-single-date-selection .shb-date-info {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 12px 15px;
	margin-bottom: 15px;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto;
	gap: 15px;
	align-items: center;
}

.shb-single-date-selection .shb-date-info strong {
	font-size: 15px;
	font-weight: 500;
	color: #2271b1;
}

.shb-single-date-selection .shb-remove-date {
	background: #dc3545;
	color: #fff;
	border: none;
	border-radius: 4px;
	width: 36px;
	height: 36px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shb-single-date-selection .shb-remove-date:hover {
	background: #c82333;
	transform: scale(1.05);
}

/* Multi-day selection (2+ dates) */
.shb-multiday-selection {
	background: transparent;
}

/* Header for multi-day rows (optional, for better UX) */
.shb-dates-header {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 2fr auto;
	gap: 15px;
	padding: 8px 15px;
	background: #f8f9fa;
	border-radius: 4px 4px 0 0;
	border: 1px solid #ddd;
	border-bottom: none;
	font-size: 12px;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.shb-multiday-selection .shb-date-slot-row:first-child {
	border-radius: 0 0 4px 4px;
}

.shb-multiday-selection .shb-date-slot-row:not(:first-child) {
	margin-top: 0;
}

/* Calendar placeholder */
.shb-calendar-placeholder {
	background: #f8f9fa;
	border: 1px dashed #ddd;
	border-radius: 4px;
	padding: 40px 20px;
	text-align: center;
	color: #666;
	font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.shb-calendar-grid {
		gap: 3px;
	}

	.shb-cal-day {
		padding: 8px 5px;
		font-size: 12px;
	}

	.shb-cal-day-header {
		padding: 6px 3px;
		font-size: 11px;
	}

	.shb-date-number {
		font-size: 12px;
	}

	.shb-date-indicator {
		width: 5px;
		height: 5px;
	}

	.shb-calendar-legend {
		flex-wrap: wrap;
		gap: 12px;
		padding: 10px;
		font-size: 11px;
	}

	.shb-legend-item {
		gap: 5px;
	}

	.shb-legend-indicator {
		width: 10px;
		height: 10px;
	}

	.shb-legend-label {
		font-size: 11px;
	}

	.shb-calendar,
	.shb-multiday-calendar {
		padding: 0;
		margin: 0;
		border: none;
	}

	/* Hide header on mobile */
	.shb-dates-header {
		display: none;
	}

	/* Stack date selection rows on mobile */
	.shb-date-slot-row {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 15px;
		position: relative;
		padding-right: 50px;
	}

	.shb-date-label {
		justify-content: flex-start;
		width: 100%;
	}

	.shb-date-slot-selector {
		width: 100%;
	}

	.shb-remove-date {
		position: absolute;
		top: 12px;
		right: 12px;
	}

	.shb-single-date-selection .shb-date-info {
		grid-template-columns: 1fr auto;
	}

	.shb-single-date-selection .shb-date-info strong {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.shb-date-label {
		font-size: 13px;
	}

	.shb-slot-select {
		font-size: 13px;
		padding: 8px 10px;
	}

	.shb-slot-options {
		grid-template-columns: 1fr;
	}

	.shb-slot-status {
		font-size: 10px;
		padding: 2px 6px;
	}

	.shb-select-required {
		font-size: 13px;
		padding: 8px 12px;
	}
}

/* ========================================
   User Booking Confirmation Page Styles
   ======================================== */

/* Multi-day badge in user booking */
.shb-user-booking .shb-multiday-badge {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

/* Full-width detail row for multiday dates */
.shb-detail-row.shb-detail-full {
	display: block;
}

.shb-detail-row.shb-detail-full .shb-detail-label {
	display: block;
	margin-bottom: 10px;
}

.shb-detail-row.shb-detail-full .shb-detail-value {
	display: block;
}

/* User booking dates table */
.shb-user-booking-dates-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.shb-user-booking-dates-table thead {
	background: #f5f5f5;
}

.shb-user-booking-dates-table th {
	padding: 12px;
	text-align: left;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #ddd;
}

.shb-user-booking-dates-table td {
	padding: 12px;
	border-bottom: 1px solid #eee;
}

.shb-user-booking-dates-table tbody tr:last-child td {
	border-bottom: none;
}

.shb-user-booking-dates-table tbody tr:hover {
	background: #f9f9f9;
}

/* Responsive adjustments for user booking table */
@media screen and (max-width: 600px) {
	.shb-user-booking-dates-table {
		font-size: 14px;
	}

	.shb-user-booking-dates-table th,
	.shb-user-booking-dates-table td {
		padding: 8px;
	}
}

/* ========================================
   PIN Lookup Form Styles
   ======================================== */

.shb-pin-lookup-form {
	max-width: 500px;
	margin: 40px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.shb-pin-lookup-form h2 {
	margin-top: 0;
	color: #333;
}

.shb-pin-lookup-form p {
	color: #666;
	margin-bottom: 25px;
}

.shb-pin-form {
	margin-top: 20px;
}

.shb-form-group {
	margin-bottom: 20px;
	text-align: left;
}

.shb-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.shb-required {
	color: #d63638;
}

.shb-pin-input {
	width: 100%;
	padding: 15px;
	font-size: 20px;
	border: 2px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
	transition: border-color 0.3s;
}

.shb-pin-input:focus {
	outline: none;
	border-color: #0073aa;
}

.shb-form-help {
	margin: 8px 0 0 0;
	font-size: 13px;
	color: #666;
}

.shb-btn {
	display: inline-block;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.1s;
}

.shb-btn:hover {
	transform: translateY(-1px);
}

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

.shb-btn-primary {
	background: #0073aa;
	color: #fff;
}

.shb-btn-primary:hover {
	background: #005a87;
}

.shb-btn-secondary {
	background: #f0f0f0;
	color: #333;
}

.shb-btn-secondary:hover {
	background: #e0e0e0;
}

.shb-btn-danger {
	background: #d63638;
	color: #fff;
}

.shb-btn-danger:hover {
	background: #b32d2e;
}

/* Responsive PIN form */
@media screen and (max-width: 600px) {
	.shb-pin-lookup-form {
		margin: 20px;
		padding: 20px;
	}

	.shb-pin-input {
		font-size: 18px;
		padding: 12px;
	}
}

/* ========================================
   Enhanced User Booking UI (v2.0)
   ======================================== */

.shb-user-booking {
	max-width: 800px;
	margin: 40px auto;
	padding: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.shb-booking-header {
	padding: 30px 30px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #f0f0f0;
}

.shb-user-booking h2 {
	margin: 0;
	font-size: 24px;
	color: #1a1a1a;
	font-weight: 700;
}

.shb-booking-id {
	background: #f0f2f5;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 13px;
	color: #666;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* Status Banner */
.shb-status-banner {
	padding: 20px 30px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.shb-status-banner.shb-status-confirmed {
	background: linear-gradient(to right, #e8f5e9, #fff);
	border-left: 5px solid #2e7d32;
}

.shb-status-banner.shb-status-pending {
	background: linear-gradient(to right, #fff8e1, #fff);
	border-left: 5px solid #ffa000;
}

.shb-status-banner.shb-status-cancelled {
	background: linear-gradient(to right, #ffebee, #fff);
	border-left: 5px solid #c62828;
}

.shb-status-icon {
	font-size: 24px;
}

.shb-status-text strong {
	display: block;
	font-size: 16px;
	color: #333;
	margin-bottom: 2px;
}

.shb-status-text small {
	color: #666;
	font-size: 13px;
}

/* PIN Card */
.shb-pin-card-container {
	padding: 30px;
	background: #fafafa;
	text-align: center;
	border-bottom: 1px dashed #e0e0e0;
}

.shb-pin-card {
	background: #fff;
	display: inline-block;
	padding: 20px 40px;
	border-radius: 8px;
	border: 2px solid #e0e0e0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.shb-pin-label {
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
	color: #888;
	margin-bottom: 8px;
	font-weight: 600;
}

.shb-pin-code {
	font-family: "Courier New", monospace;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 4px;
	color: #2271b1;
	margin-bottom: 8px;
}

.shb-pin-help {
	font-size: 12px;
	color: #999;
}

/* Content Grid */
.shb-booking-content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	padding: 30px;
	border-bottom: 1px solid #f0f0f0;
}

.shb-info-card h3,
.shb-schedule-card h3 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #888;
	margin: 0 0 20px 0;
	font-weight: 600;
}

.shb-info-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.shb-info-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.shb-label {
	font-size: 12px;
	color: #999;
}

.shb-value {
	font-size: 15px;
	color: #333;
	font-weight: 500;
}

/* Schedule Card */
.shb-schedule-card {
	padding: 30px;
	background: #fff;
}

.shb-schedule-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #666;
}

.shb-badge {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.shb-badge-info {
	background: #e3f2fd;
	color: #1565c0;
}

/* Responsive Table */
.shb-table-responsive {
	overflow-x: auto;
	border: 1px solid #eee;
	border-radius: 8px;
}

.shb-schedule-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.shb-schedule-table th {
	background: #f8f9fa;
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	color: #555;
	border-bottom: 1px solid #eee;
}

.shb-schedule-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.shb-schedule-table tr:last-child td {
	border-bottom: none;
}

.shb-time-badge {
	display: inline-block;
	background: #f0f2f5;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 12px;
	color: #555;
}

.shb-slot-name {
	display: block;
	margin-top: 4px;
	color: #888;
}

/* Single Date Display */
.shb-single-date-display {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #eee;
}

.shb-big-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	min-width: 80px;
}

.shb-day {
	font-size: 32px;
	font-weight: 700;
	color: #2271b1;
	line-height: 1;
}

.shb-month-year {
	font-size: 12px;
	color: #666;
	text-transform: uppercase;
	margin-top: 4px;
	font-weight: 500;
}

.shb-time-info {
	flex: 1;
}

.shb-time-row {
	font-size: 18px;
	color: #333;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shb-icon {
	font-size: 20px;
}

.shb-slot-label-row {
	font-size: 14px;
	color: #666;
}

/* Footer & Actions */
.shb-booked-on {
	padding: 15px 30px;
	background: #f9f9f9;
	font-size: 12px;
	color: #888;
	text-align: right;
	border-top: 1px solid #eee;
}

.shb-booking-actions {
	padding: 20px 30px;
	background: #fff;
	border-top: 1px solid #eee;
	text-align: right;
}

.shb-btn-block {
	display: block;
	width: 100%;
}

@media screen and (max-width: 600px) {
	.shb-booking-content-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.shb-single-date-display {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}

	.shb-pin-code {
		font-size: 24px;
	}

	.shb-booking-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}