.gck-frontend-calendar {
	width: 100%;
	max-width: 420px;
	margin: 10px 0 20px;
	font-family: inherit;
}

.gck-calendar-hint {
	font-weight: 700;
	margin: 0 0 8px;
}

.gck-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 8px;
}

.gck-calendar-nav button {
	background: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: 28px;
	height: 28px;
	cursor: pointer;
}

.gck-calendar-nav button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.gck-calendar-title {
	font-weight: 700;
	min-width: 140px;
	text-align: center;
}

.gck-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-auto-rows: 1fr;
	gap: 4px;
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.gck-calendar-grid.gck-fading {
	opacity: 0;
	transform: scale(0.98);
}

.gck-fc-head {
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	color: #888;
}

.gck-fc-day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 13px;
	cursor: pointer;
	background: #fff;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.gck-fc-day:not(.gck-fc-disabled):not(.gck-fc-full):not(.gck-fc-empty):hover {
	background: #eef6ff;
	border-color: #bcdcfb;
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(34, 113, 177, 0.15);
}

.gck-fc-day.gck-fc-disabled {
	background: #f2f2f2;
	color: #bbb;
	cursor: not-allowed;
}

.gck-fc-day.gck-fc-full {
	background: #fbe2e2;
	color: #b94a48;
	cursor: not-allowed;
}

.gck-fc-day.gck-fc-empty {
	border: none;
	cursor: default;
}

.gck-fc-day.gck-fc-selected {
	outline: 2px solid #2271b1;
	transform: translateY(-1px);
}

.gck-day-slots-wrapper {
	height: 0;
	overflow: hidden;
	transition: height 0.28s ease;
}

.gck-day-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	gap: 6px;
	padding-top: 12px;
}

.gck-time-btn {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 8px 4px;
	background: #eafbea;
	color: #1a7f37;
	font-weight: 600;
	cursor: pointer;
	opacity: 0;
	transform: translateY(6px);
	animation: gckSlotIn 0.25s ease forwards;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.gck-time-btn:not(.gck-occupied):not(.gck-time-selected):hover {
	background: #d5f5d5;
	transform: translateY(-2px);
}

.gck-time-btn.gck-occupied {
	background: #f2f2f2;
	color: #aaa;
	cursor: not-allowed;
	text-decoration: line-through;
}

.gck-time-btn.gck-time-selected {
	background: #2271b1;
	color: #fff;
}

@keyframes gckSlotIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.gck-selected-info {
	margin-top: 0;
	padding: 0 12px;
	background: #eef6ff;
	border: 1px solid #cfe3fb;
	border-radius: 4px;
	font-weight: 600;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease, padding 0.25s ease;
}

.gck-selected-info.gck-visible {
	max-height: 80px;
	opacity: 1;
	margin-top: 12px;
	padding: 10px 12px;
}
