@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/roboto-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.agenda-custom-wrapper {
	max-width: 1000px;
	margin: 0 auto;
	font-family: "Roboto", sans-serif;
	box-sizing: border-box;
}

.agenda-custom-wrapper .agenda-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}

.agenda-custom-wrapper .agenda-filter {
	display: flex;
	align-items: center;
	gap: 10px;
}

.agenda-custom-wrapper .agenda-filter label {
	font-size: 14px;
	font-weight: 500;
	color: #344054;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}

.agenda-custom-wrapper .agenda-filter-select {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	padding: 9px 36px 9px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%277%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 stroke=%27%23667085%27 stroke-width=%271.5%27 fill=%27none%27/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	color: #344054;
	min-width: 220px;
	outline: none;
	box-shadow: none;
	height: auto;
	line-height: 1.4;
	margin: 0;
	width: auto;
}

.agenda-custom-wrapper .agenda-filter-select:focus {
	border-color: #7b61ff;
	box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.15);
}

.agenda-custom-wrapper .agenda-nav {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	gap: 0;
}

.agenda-custom-wrapper .agenda-prev,
.agenda-custom-wrapper .agenda-next {
	font-family: "Roboto", sans-serif;
	padding: 10px 16px;
	border: none;
	background: #fff;
	cursor: pointer;
	font-size: 20px;
	font-weight: 400;
	color: #344054;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	margin: 0;
	border-radius: 0;
	min-width: 44px;
	outline: none;
	box-shadow: none;
}

.agenda-custom-wrapper .agenda-prev {
	border-right: 1px solid #e4e7ec;
}

.agenda-custom-wrapper .agenda-next {
	border-left: 1px solid #e4e7ec;
}

.agenda-custom-wrapper .agenda-prev:hover,
.agenda-custom-wrapper .agenda-next:hover {
	background: #f6f5fb;
	color: #7b61ff;
}

.agenda-custom-wrapper .agenda-current-month {
	font-size: 16px;
	font-weight: 600;
	color: #1d2939;
	padding: 10px 24px;
	min-width: 210px;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	margin: 0;
	line-height: 1;
	background: #fff;
}

.agenda-custom-wrapper .agenda-calendar-container.loading,
.agenda-custom-wrapper .agenda-upcoming-container.loading {
	opacity: 0.4;
	pointer-events: none;
}

.agenda-custom-wrapper .agenda-calendar {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	font-family: "Roboto", sans-serif;
}

.agenda-custom-wrapper .agenda-calendar th {
	background: #f6f5fb;
	padding: 12px 6px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: #667085;
	border: none;
	border-bottom: 1px solid #e4e7ec;
	font-family: "Roboto", sans-serif;
}

.agenda-custom-wrapper .agenda-day {
	border: 1px solid #e4e7ec;
	vertical-align: top;
	height: 120px;
	padding: 5px;
	background: #fff;
	font-family: "Roboto", sans-serif;
}

.agenda-custom-wrapper .agenda-day.is-empty,
.agenda-custom-wrapper .agenda-day.is-weekend {
	background: #f6f5fb;
}

.agenda-custom-wrapper .agenda-day.is-today {
	border: 2px solid #7b61ff;
	background: #edeaff;
}

.agenda-custom-wrapper .agenda-day-number {
	font-size: 13px;
	font-weight: 600;
	color: #667085;
	margin-bottom: 4px;
	text-align: right;
	padding-right: 4px;
	line-height: 1.2;
}

.agenda-custom-wrapper .agenda-day.is-today .agenda-day-number {
	font-weight: 700;
	color: #7b61ff;
}

.agenda-custom-wrapper .agenda-day-events {
	display: flex;
	flex-direction: column;
	gap: 3px;
	height: calc(100% - 24px);
}

.agenda-custom-wrapper .agenda-day-events-multi {
	height: auto;
}

.agenda-custom-wrapper .agenda-event {
	font-size: 12px;
	line-height: 1.4;
	padding: 4px 7px;
	border-radius: 5px;
	font-weight: 500;
	white-space: normal;
	word-break: break-word;
	flex: 1;
	min-height: 0;
	background-color: var(--agenda-event-color);
	color: var(--agenda-event-text-color);
	font-family: "Roboto", sans-serif;
}

.agenda-custom-wrapper .agenda-event-multi {
	font-size: 11px;
	line-height: 1.2;
	padding: 3px 6px;
	white-space: nowrap;
	word-break: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 0 1 auto;
	min-height: auto;
}

.agenda-custom-wrapper .agenda-event-time {
	font-weight: 700;
	font-size: 10px;
	opacity: 0.85;
}

.agenda-custom-wrapper .agenda-day-details {
	display: none;
}

.agenda-custom-wrapper .agenda-day-detail-swatch,
.agenda-custom-wrapper .agenda-legend-swatch {
	background-color: var(--agenda-event-color);
}

.agenda-custom-wrapper .agenda-legend {
	margin-top: 16px;
	padding: 14px 18px;
	background: #f6f5fb;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	font-size: 14px;
	color: #344054;
	font-family: "Roboto", sans-serif;
}

.agenda-custom-wrapper .agenda-legend-title {
	font-weight: 600;
}

.agenda-custom-wrapper .agenda-legend-item {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
}

.agenda-custom-wrapper .agenda-legend-swatch {
	display: inline-block;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin-top: calc((1lh - 14px) / 2);
	border-radius: 4px;
}

.agenda-custom-wrapper .agenda-upcoming-container {
	margin-top: 24px;
}

.agenda-custom-wrapper .agenda-upcoming-heading {
	margin: 0 0 12px;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #1d2939;
}

.agenda-custom-wrapper .agenda-upcoming-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.agenda-custom-wrapper .agenda-upcoming-item {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e4e7ec;
	border-left: 4px solid var(--agenda-event-color);
	border-radius: 10px;
	font-family: "Roboto", sans-serif;
}

.agenda-custom-wrapper .agenda-upcoming-date {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	padding: 6px 0;
	background: #f6f5fb;
	border-radius: 8px;
	line-height: 1.15;
	text-transform: uppercase;
}

.agenda-custom-wrapper .agenda-upcoming-weekday,
.agenda-custom-wrapper .agenda-upcoming-month {
	font-size: 11px;
	font-weight: 600;
	color: #667085;
}

.agenda-custom-wrapper .agenda-upcoming-day {
	font-size: 20px;
	font-weight: 700;
	color: #1d2939;
}

.agenda-custom-wrapper .agenda-upcoming-body {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
	min-width: 0;
}

.agenda-custom-wrapper .agenda-upcoming-title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #1d2939;
}

.agenda-custom-wrapper .agenda-upcoming-meta {
	font-size: 13px;
	line-height: 1.4;
	color: #667085;
	white-space: nowrap;
}

.agenda-custom-wrapper .agenda-upcoming-empty {
	margin: 0;
	padding: 14px 18px;
	background: #f6f5fb;
	border-radius: 10px;
	font-size: 14px;
	color: #667085;
}

.agenda-custom-wrapper .agenda-upcoming-empty[hidden] {
	display: none;
}

@media (max-width: 1023px) {

	.agenda-custom-wrapper .agenda-event {
		font-size: 11px;
		padding: 3px 5px;
		word-break: normal;
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
	}

	.agenda-custom-wrapper .agenda-upcoming-item {
		gap: 14px;
		padding: 10px 14px;
	}

	.agenda-custom-wrapper .agenda-upcoming-title {
		font-size: 14px;
	}
}

@media (max-width: 767px) {

	.agenda-custom-wrapper .agenda-toolbar {
		gap: 12px;
	}

	.agenda-custom-wrapper .agenda-filter,
	.agenda-custom-wrapper .agenda-nav {
		width: 100%;
	}

	.agenda-custom-wrapper .agenda-filter-select {
		flex: 1;
		min-width: 0;
	}

	.agenda-custom-wrapper .agenda-current-month {
		flex: 1;
		min-width: 0;
		padding: 10px 8px;
	}

	.agenda-custom-wrapper .agenda-calendar th {
		padding: 8px 0;
		font-size: 11px;
	}

	.agenda-custom-wrapper .agenda-day {
		height: 56px;
		padding: 3px;
	}

	.agenda-custom-wrapper .agenda-day[data-day] {
		cursor: pointer;
	}

	.agenda-custom-wrapper .agenda-day-number {
		font-size: 12px;
		text-align: center;
		padding-right: 0;
	}

	.agenda-custom-wrapper .agenda-day.is-selected .agenda-day-number {
		width: 22px;
		height: 22px;
		line-height: 22px;
		margin: 0 auto 4px;
		border-radius: 50%;
		background: #344054;
		color: #fff;
	}

	.agenda-custom-wrapper .agenda-day-events {
		height: auto;
		gap: 2px;
	}

	.agenda-custom-wrapper .agenda-event {
		height: 6px;
		flex: none;
		padding: 0;
		border-radius: 3px;
		font-size: 0;
		line-height: 0;
		color: transparent;
		overflow: hidden;
	}

	.agenda-custom-wrapper .agenda-event-time {
		display: none;
	}

	.agenda-custom-wrapper .agenda-day-details {
		display: block;
		margin-top: 12px;
		padding: 14px 17px;
		background: #fff;
		border: 1px solid #e4e7ec;
		border-radius: 10px;
	}

	.agenda-custom-wrapper .agenda-day-detail[hidden] {
		display: none;
	}

	.agenda-custom-wrapper .agenda-day-detail-title {
		font-size: 15px;
		font-weight: 600;
		color: #1d2939;
		margin-bottom: 8px;
	}

	.agenda-custom-wrapper .agenda-day-detail-item {
		display: flex;
		align-items: flex-start;
		gap: 8px;
		padding: 6px 0;
		font-size: 14px;
		color: #344054;
	}

	.agenda-custom-wrapper .agenda-day-detail-swatch {
		flex-shrink: 0;
		width: 14px;
		height: 14px;
		margin-top: calc((1lh - 14px) / 2);
		border-radius: 4px;
	}

	.agenda-custom-wrapper .agenda-day-detail-empty {
		font-size: 14px;
		color: #667085;
	}

	.agenda-custom-wrapper .agenda-upcoming-container {
		margin-top: 20px;
	}

	.agenda-custom-wrapper .agenda-upcoming-heading {
		font-size: 16px;
	}

	.agenda-custom-wrapper .agenda-upcoming-item {
		gap: 12px;
		padding: 10px 12px;
	}

	.agenda-custom-wrapper .agenda-upcoming-date {
		width: 52px;
	}

	.agenda-custom-wrapper .agenda-upcoming-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.agenda-custom-wrapper .agenda-upcoming-meta {
		white-space: normal;
	}
}
