/* =============================================
   Reservation System LP — Frontend Styles
   ============================================= */

.rslp-calendar-wrapper {
	max-width: 500px;
	margin: 20px auto;
}

.rslp-reservation-form {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rslp-form-group {
	margin-bottom: 15px;
}

.rslp-form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 14px;
}

.rslp-form-group input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 14px;
	box-sizing: border-box;
}

.rslp-form-group input:focus {
	outline: none;
	border-color: #4caf50;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.rslp-submit-btn {
	width: 100%;
	padding: 12px;
	background: #4caf50;
	color: white;
	border: none;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.rslp-submit-btn:hover {
	background: #45a049;
}

.rslp-submit-btn:active {
	transform: scale(0.98);
}

.rslp-submit-btn.rslp-loading {
	position: relative;
	color: transparent;
	pointer-events: none;
	opacity: 0.8;
}

.rslp-submit-btn.rslp-loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: rslp-spin 0.7s linear infinite;
}

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

/* Flatpickr calendar overrides */
.flatpickr-calendar {
	box-shadow: 0 3px 13px rgba(0, 0, 0, 0.08);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
	background: #4caf50;
	border-color: #4caf50;
}

.flatpickr-day.inRange {
	background: #e8f5e9;
	border-color: #4caf50;
}

.flatpickr-day.disabled {
	color: #ccc;
	cursor: not-allowed;
}
