.vrb-app {
	max-width: 720px;
	margin: 0 auto;
	font-family: inherit;
}

.vrb-logged-out-notice {
	background: #eef6ff;
	border: 1px solid #cfe2ff;
	border-radius: 6px;
	padding: 16px 20px;
	text-align: center;
}

.vrb-logged-out-notice p:first-child {
	margin-top: 0;
}

.vrb-logged-out-notice a {
	font-weight: 600;
}

.vrb-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.vrb-calendar-header button {
	background: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	padding: 4px 10px;
	font-size: 16px;
}

.vrb-current-month {
	margin: 0;
	text-transform: capitalize;
}

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

.vrb-day-name {
	text-align: center;
	font-weight: 600;
	font-size: 12px;
	color: #666;
	padding-bottom: 4px;
	text-transform: uppercase;
}

.vrb-day-cell {
	position: relative;
	min-height: 56px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	padding: 4px;
	background: #fff;
	cursor: pointer;
	text-align: left;
}

.vrb-day-cell.vrb-empty {
	visibility: hidden;
	cursor: default;
}

.vrb-day-cell:hover {
	border-color: #999;
}

.vrb-day-cell.vrb-today {
	border-color: #2271b1;
}

.vrb-day-cell.vrb-has-bookings {
	background: #eef6ff;
}

.vrb-day-cell.vrb-past {
	opacity: 0.6;
}

.vrb-day-number {
	font-size: 13px;
	font-weight: 600;
}

.vrb-day-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2271b1;
	margin-top: 4px;
}

.vrb-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
}

.vrb-modal-overlay[hidden] {
	display: none;
}

.vrb-modal {
	position: relative;
	background: #fff;
	border-radius: 6px;
	padding: 24px;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    top: 50px;
}

.vrb-modal-close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 4px 8px;
}

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

.vrb-day-bookings {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.vrb-day-bookings li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 8px;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	margin-bottom: 6px;
	font-size: 14px;
}

.vrb-booking-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vrb-booking-meta {
	font-size: 12px;
	color: #666;
}

.vrb-day-bookings .vrb-delete-btn {
	background: none;
	border: none;
	color: #b32d2e;
	cursor: pointer;
	font-size: 13px;
}

.vrb-form-row {
	display: flex;
	flex-direction: column;
}

.vrb-form-row label {
	font-weight: 600;
	font-size: 13px;
}

.vrb-form-row input {
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.vrb-form-row-times {
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.vrb-form-row-checkbox label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: normal;
}

.vrb-form-feedback {
	font-size: 13px;
	min-height: 18px;
}

.vrb-form-feedback.vrb-error {
	color: #b32d2e;
}

.vrb-form-feedback.vrb-success {
	color: #1a7f37;
}

.vrb-submit-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 8px 16px;
	cursor: pointer;
}

.vrb-submit-btn:disabled {
	opacity: 0.6;
	cursor: default;
}
