/* ============================================
   Litepicker — MBCms FRONTAL
   Palette hardcodée : gris + bleu ardoise pastel
   ============================================

   Gris texte     : #3a3a3a / #797979 / #b8b8b8
   Gris interface : #f6f6f5 (fond) / #d8d8d4 (bordure)
   Accent pastel  : #7389a8 (ardoise) / #e8eef5 (léger) / #a3b5c8 (mid)
   ============================================ */

.form-hint {
	font-size: 12px;
	color: #999;
	margin: 4px 0 0;
	font-style: italic;
}

/* Conteneur principal */
.litepicker {
	background: #ffffff;
	border: 1.5px solid #d8d8d4;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
	font-family: inherit;
	font-size: 14px;
	color: #3a3a3a;
	padding: 12px;
	box-sizing: border-box;
	width: auto !important;
	min-width: 580px;
}

/* Deux mois cote a cote */
.litepicker .container__months {
	width: 100% !important;
	box-sizing: border-box;
}

.litepicker .container__months.columns-2 {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 0 !important;
	box-shadow: none !important;
	width: 100%;
	box-sizing: border-box;
}

.litepicker .container__months.columns-2 .month-item {
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.litepicker .month-item {
	width: 100% !important;
	box-sizing: border-box;
}

.litepicker .container__months.columns-2 .month-item:first-child {
	padding-right: 1.2rem;
	border-right: 1px solid #e0e0dc;
}

.litepicker .container__months.columns-2 .month-item:last-child {
	padding-left: 1.2rem;
}

/* En-tete mois */
.litepicker .month-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.8rem;
	position: relative;
	min-height: 32px;
}

.litepicker .month-item-header > div:nth-child(2) {
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	pointer-events: none;
}

/* Titre du mois */
.litepicker .month-item-name,
.litepicker .month-item-year {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #7389a8;
	background: transparent;
	border: none;
	cursor: default;
	padding: 0 2px;
}

/* Fleches de navigation */
.litepicker .button-previous-month,
.litepicker .button-next-month {
	background: #f6f6f5;
	border: 1px solid #d8d8d4;
	border-radius: 5px;
	color: #797979;
	width: 30px;
	height: 30px;
	min-width: 30px;
	cursor: pointer;
	font-size: 10px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background 0.15s, border-color 0.15s;
	flex-shrink: 0;
	padding: 0;
}

.litepicker .button-previous-month:hover,
.litepicker .button-next-month:hover {
	background: #e8eef5;
	border-color: #a3b5c8;
	color: #7389a8;
}

.litepicker .button-previous-month svg,
.litepicker .button-next-month svg { display: none; }

.litepicker .button-previous-month::after { content: '\25C0'; font-size: 10px; }
.litepicker .button-next-month::after     { content: '\25B6'; font-size: 10px; }

/* En-tetes jours de la semaine */
.litepicker .month-item-weekdays-row {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 4px;
}

.litepicker .month-item-weekdays-row > div {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #a3b5c8;
	text-align: center;
	padding: 4px 0;
}

/* Grille des jours */
.litepicker .container__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	width: 100%;
	box-sizing: border-box;
}

/* Jours */
.litepicker .day-item {
	font-size: 15px;
	color: #3a3a3a;
	text-align: center;
	padding: 12px 2px;
	border-radius: 3px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.12s, color 0.12s;
	box-sizing: border-box;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.litepicker .day-item:hover:not(.is-locked):not(.is-start-date):not(.is-end-date) {
	background: #e8eef5 !important;
	color: #7389a8 !important;
}

/* Aujourd'hui */
.litepicker .day-item.is-today {
	border: 1.5px solid #c0c0bc !important;
	color: #3a3a3a !important;
	font-weight: 600;
	background: transparent !important;
}

.litepicker .day-item.is-today:hover {
	background: #f0f0ee !important;
	border-color: #a8a8a4 !important;
}

/* Dates selectionnees -- debut et fin */
.litepicker .day-item.is-start-date,
.litepicker .day-item.is-end-date {
	background: #7389a8 !important;
	color: #ffffff !important;
	font-weight: 600;
}

.litepicker .day-item.is-start-date     { border-radius: 5px 0 0 5px; }
.litepicker .day-item.is-end-date       { border-radius: 0 5px 5px 0; }
.litepicker .day-item.is-start-date.is-end-date { border-radius: 5px; }

/* Plage entre les deux dates */
.litepicker .day-item.is-in-range {
	background: #e8eef5 !important;
	color: #7389a8 !important;
	border-radius: 0;
}

/* Jours hors mois */
.litepicker .day-item.is-other-month {
	color: #c8c8c4;
}

/* Jours desactives (passes) */
.litepicker .day-item.is-locked {
	color: #c0c0bc !important;
	background: transparent !important;
	cursor: not-allowed;
}

/* Footer */
.litepicker .container__footer {
	display: flex !important;
	padding: 0 !important;
	background: #ffffff !important;
	border-top: none !important;
}

.litepicker .lp-heure-row {
	width: 100%;
	padding: 8px 10px 10px;
	border-top: 1px solid #e4e4e0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.litepicker .lp-heure-row label {
	font-size: 12px;
	color: #797979;
	white-space: nowrap;
}

.litepicker .lp-heure-row select {
	font-size: 13px;
	border: 1.5px solid #d8d8d4;
	border-radius: 5px;
	padding: 3px 8px;
	background: #ffffff;
	color: #3a3a3a;
	cursor: pointer;
}

.litepicker .lp-heure-row select:focus {
	outline: none;
	border-color: #a3b5c8;
}

.litepicker .lp-heure-row button {
	font-size: 13px;
	font-weight: 600;
	padding: 4px 14px;
	background: #7389a8;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: opacity 0.15s;
	white-space: nowrap;
}

.litepicker .lp-heure-row button:hover { opacity: 0.85; }

/* ============================================
   Slider range horaire — heure-range.js
   ============================================ */

.lhr-wrap {
	margin: 12px 0 6px;
	user-select: none;
	width: 100%;
	box-sizing: border-box;
}

.lhr-labels {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin-bottom: 14px;
}

.lhr-badge {
	background: #7389a8;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 5px;
	min-width: 48px;
	text-align: center;
}

.lhr-arrow {
	color: #b8b8b8;
	font-size: 18px;
}

.lhr-track-wrap {
	padding: 10px 0;
}

.lhr-track {
	position: relative;
	height: 5px;
	background: #e4e4e0;
	border-radius: 3px;
	margin: 0 10px;
	cursor: pointer;
}

.lhr-fill {
	position: absolute;
	height: 100%;
	background: #7389a8;
	border-radius: 3px;
	pointer-events: none;
}

.lhr-handle {
	position: absolute;
	width: 22px;
	height: 22px;
	background: #ffffff;
	border: 2.5px solid #7389a8;
	border-radius: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	cursor: grab;
	transition: box-shadow 0.15s;
	z-index: 2;
}

.lhr-handle:hover,
.lhr-handle:focus {
	box-shadow: 0 0 0 5px rgba(115, 137, 168, 0.18);
	outline: none;
}

.lhr-ticks {
	position: relative;
	height: 16px;
	font-size: 10px;
	color: #c0c0bc;
	margin: 4px 10px 0;
}

/* ── Calendrier événements frontal ───────────────────────────────────────── */
.fc-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.2rem;
}
.fc-nav-title {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #3a3a3a;
	text-align: center;
}
.fc-btn-nav {
	background: #f6f6f5;
	border: 1px solid #d8d8d4;
	border-radius: 4px;
	color: #797979;
	width: 32px;
	height: 32px;
	cursor: pointer;
	font-size: 11px;
	transition: background 0.15s, border-color 0.15s;
	flex-shrink: 0;
}
.fc-btn-nav:hover {
	background: #e8eef5;
	border-color: #a3b5c8;
	color: #7389a8;
}
.fc-grid {
	display: block;
	width: 100% !important;
}
.fc-month-title {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #7389a8;
	text-align: center;
	margin-bottom: 0.8rem;
}
.fc-days-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 4px;
}
.fc-day-name {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #a3b5c8;
	text-align: center;
	padding: 2px 0;
}
.fc-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.fc-day {
	font-size: 15px;
	color: #797979;
	text-align: center;
	padding: 12px 2px;
	border-radius: 3px;
	line-height: 1;
}
.fc-day.empty { background: none; }
.fc-day.fc-past { color: #b8b8b8; }
.fc-day.fc-today {
	border: 1.5px solid #a3b5c8;
	color: #7389a8;
	font-weight: 600;
}
.fc-day.fc-event {
	background: #e8eef5;
	color: #7389a8;
	font-weight: 600;
	cursor: pointer;
}
.fc-day.fc-event:hover {
	background: #a3b5c8;
	color: #ffffff;
}
.fc-day.fc-event-start { border-radius: 3px 0 0 3px; }
.fc-day.fc-event-end   { border-radius: 0 3px 3px 0; }
.fc-day.fc-event-single { border-radius: 3px; }
/* Légende */
.fc-legend {
	margin-top: 1rem;
	font-size: 12px;
	color: #7389a8;
	font-style: italic;
}
/* Responsive */
@media only screen and (max-width: 699px) {
	.fc-nav-title { font-size: 12px; }
	.litepicker .container__months.columns-2 {
		grid-template-columns: 1fr !important;
	}
	.litepicker .container__months.columns-2 .month-item:first-child {
		padding-right: 0;
		border-right: none;
		padding-bottom: 1.2rem;
		border-bottom: 1px solid #e0e0dc;
	}
	.litepicker .container__months.columns-2 .month-item:last-child {
		padding-left: 0;
	}
	.litepicker {
		min-width: 0;
	}
}
