/* CSS Custom Properties */
:root {
	--bookitin-primary-color: #4f46e5;
	--bookitin-primary-hover: #4338ca;
}

/* Widget Container */
.bookitin-widget {
	position: relative;
	width: 100%;
	margin: 20px 0;
}

.bookitin-widget iframe {
	display: block;
	border: none;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	min-height: 400px;
	transition: height 0.2s ease-out;
	background: transparent;
}

/* Notice Styles (for admin messages) */
.bookitin-notice {
	padding: 15px 20px;
	border-radius: 4px;
	margin: 20px 0;
	font-size: 14px;
}

.bookitin-notice-warning {
	background: #fff8e5;
	border: 1px solid #ffb900;
	color: #826200;
}

.bookitin-notice-warning a {
	color: #826200;
	font-weight: 600;
}

.bookitin-notice-error {
	background: #fef1f1;
	border: 1px solid #dc3232;
	color: #a00;
}

/* Login Required Box */
.bookitin-login-required {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	max-width: 400px;
	margin: 20px auto;
}

.bookitin-login-icon {
	color: #6c757d;
	margin-bottom: 15px;
}

.bookitin-login-required h3 {
	margin: 0 0 10px 0;
	color: #343a40;
	font-size: 1.25em;
}

.bookitin-login-required p {
	margin: 0 0 20px 0;
	color: #6c757d;
}

.bookitin-login-button {
	display: inline-block;
	padding: 10px 24px;
	background: var(--bookitin-primary-color);
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	transition: background 0.2s;
}

.bookitin-login-button:hover {
	background: var(--bookitin-primary-hover);
	color: #fff !important;
}

/* Responsive */
@media screen and (max-width: 600px) {
	.bookitin-widget iframe {
		min-height: 500px;
	}
}
