/* Grok Bot 17 Nov 2026: white selected-day number; centred month Back/Next arrows (r2). */

.zabuto_calendar td.current-date,
.zabuto_calendar td.current-date .badge,
.zabuto_calendar td.theme_bg,
.zabuto_calendar td.theme_bg .badge,
.zabuto_calendar .current-date .badge,
.zabuto_calendar .theme_bg .badge {
	color: #fff !important;
}
.zabuto_calendar td:not(.disabled):hover,
.zabuto_calendar td:not(.disabled):hover .badge {
	color: #fff !important;
}

/* Month header is a 44px rounded bar so Back/Next sit on the vertical middle
   of the pill (kills the old padding-bottom:33px + display:block on the side cells,
   which left the arrows hanging over the bottom edge). */
.zabuto_calendar .calendar-month-header > th,
.zabuto_calendar .calendar-month-header th:first-child,
.zabuto_calendar .calendar-month-header th:last-child,
.zabuto_calendar .calendar-month-header th[colspan="5"] {
	height: 44px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	vertical-align: middle !important;
	box-sizing: border-box;
	line-height: 44px;
}
.zabuto_calendar .calendar-month-header th:first-child,
.zabuto_calendar .calendar-month-header th:last-child {
	position: relative !important;
	display: table-cell !important;
	overflow: visible;
	min-width: 52px;
}

.zabuto_calendar .calendar-month-header .calendar-month-navigation {
	position: absolute !important;
	top: 0 !important;
	bottom: 0 !important;
	transform: none !important;
	width: 44px;
	height: 44px !important;
	max-height: 44px;
	margin: 0;
	padding: 0;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 3;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
	border-radius: 999px;
	box-sizing: border-box;
	background: transparent;
	cursor: pointer;
}
/* Chevron sits ~16–24px in from the rounded ends (8px + half of (44 − glyph)). */
.zabuto_calendar .calendar-month-header th:first-child .calendar-month-navigation { left: 8px !important; right: auto !important; }
.zabuto_calendar .calendar-month-header th:last-child .calendar-month-navigation { right: 8px !important; left: auto !important; }

.zabuto_calendar .calendar-month-navigation > span,
.zabuto_calendar .calendar-month-navigation .glyphicon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: static !important;
	width: 44px !important;
	height: 44px !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	border: 0 !important;
	background: none !important;
	opacity: 1 !important;
	cursor: pointer;
	font-size: 0 !important;
}

/* Same size, weight and colour on both sides — matches the month label. */
.zabuto_calendar .glyphicon-chevron-left::before,
.zabuto_calendar .glyphicon-chevron-right::before,
.zabuto_calendar .calendar-month-header th:first-child .calendar-month-navigation:empty::before,
.zabuto_calendar .calendar-month-header th:last-child .calendar-month-navigation:empty::before {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	font-style: normal !important;
	line-height: 1 !important;
	color: #555 !important;
	opacity: 1 !important;
	speak: never;
	display: block;
}
.zabuto_calendar .glyphicon-chevron-left::before,
.zabuto_calendar .calendar-month-header th:first-child .calendar-month-navigation:empty::before {
	content: "\2039" !important; /* ‹ */
}
.zabuto_calendar .glyphicon-chevron-right::before,
.zabuto_calendar .calendar-month-header th:last-child .calendar-month-navigation:empty::before {
	content: "\203A" !important; /* › */
}

/* Current month: Back stays visible but not clickable (zabuto omits the icon). */
.zabuto_calendar .calendar-month-header th:first-child .calendar-month-navigation:empty {
	cursor: default;
	pointer-events: none;
}
.zabuto_calendar .calendar-month-header th:first-child .calendar-month-navigation:empty::before {
	opacity: 0.3 !important;
	color: #555 !important;
}
.zabuto_calendar .calendar-month-navigation:not(:empty):hover .glyphicon::before,
.zabuto_calendar .calendar-month-navigation:not(:empty):focus-visible .glyphicon::before {
	color: #333 !important;
}

.zabuto_calendar .calendar-month-header th[colspan="5"] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-left: 4px !important;
	padding-right: 4px !important;
}
