@charset "UTF-8";

/* Calendar layout */
#calendar  {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#calendar #days {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	user-select: none;
	overflow-x: hidden;
	display: flex; /* public - have tables next to each other*/
	gap: 0;
	border-radius: 14px;
	scrollbar-width: thin;
	scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

#calendar .calendarDayColumn {
	flex: 1 1 0;
    text-align: center;
	padding: 0 2px 2px;
}

#calendar #calendarElements {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0;
}

@media (max-width: 1100px) {
	#calendar #days {
		overflow-x: auto;
		padding-bottom: 6px;
	}

	#calendar .calendarDayColumn {
		flex: 1 1 0;
	}
}

#calendar .calendarDayColumn[displayStatus=loaded] {
	display: none;
}

#calendar .calendarDayColumn[displayStatus=displayed] {
	display: block;
}

#calendar .calendarDayColumn .highlightTodayDay {
	font-weight: 600;
}

#calendar .calendarDayColumn .highlightTodayDate {
	background: var(--available-dark);
	color: #ffffff;
	padding: 1px 10px;
	border-radius: 100px;
	line-height: 1.15;
	text-shadow: none;
}

#calendar .calendarDayColumn .highlightTodayWord {
	color: var(--available-base);
}

#calendarContainer {
	width: 100%;
}

/* Calendar navigation */
#navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0 10px 0;
	margin-bottom: 20px;
	border-radius: var(--radius-lg);
	background:#FFF;
	user-select: none;
}

#navigation #currentWeekTitle {
    background: #e6e8eb;
    padding: 4px 10px 4px 10px;
	border-radius: var(--radius-lg);
   	text-align: center;
}

#navigation #weekPrevious {
	margin: 0 10px 0 10px;
    cursor: pointer;
    background: #e6e8eb;
	width: 34px;
	height: 34px;
	border-radius: 100%;
	padding: 4px;
	text-align: center;
}

#navigation #weekNext {
	margin: 0 10px 0 10px;
    cursor: pointer;
    background: #e6e8eb;
    width: 34px;
	height: 34px;
	border-radius: 100%;
	padding: 4px;
	text-align: center;
}

/* Calendar slots */
#calendar .slot {
	border-radius: 10px;
	padding: 4px;
	margin-top: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	word-break: break-word;
	box-sizing: border-box;
	transition: 0.22s;
	min-height: 44px;
	position: relative;
}

#calendar .slotCustomerName {
	display: block;
	margin-top: 8px;
	max-width: 100%;
	font-size: 80%;
	overflow: hidden;
	text-overflow: ellipsis;
}

#calendar .slotRemoveAllLabel {
	font-size: 90%;
}

#calendar .slotWithActions[status=occupied],
#calendar .slotWithActions[status=semiOccupied] {
	padding-block: 8px;
}

#calendar .slotActionMenu {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 4px;
	width: 28px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .15s ease;
}

#calendar .slotActionMenu:hover,
#calendar .slotActionMenu:focus-visible {
	background: rgba(255, 255, 255, .4);
}

/* Darken the slot without creating a stacking context for time dropdowns. */
#calendar .slot:hover {
	box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .04);
}

#calendar .slot:first-child {
    margin-top: 0;
}

#calendar .slot[status=free] {
	background: var(--available-slot);
}

#calendar .slot[status=freePublic] {
	background: var(--available-slot);
}

#calendar .slot[status=free][isDefaultAndDisabled='1'] {
	background: #eef2f7;
}

#calendar .slot[status=free] .remove {
    margin-top: 0;
    border-radius: 100%;
    font-size: 100%;
    max-width: 16px;
    width: 100%;
    padding: 8px;
    display: flex;
    background: rgba(255, 255, 255, .4);
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
	transition: background .2s;
}

/* Keep the time and Unicode indicators on the same text baseline. */
#calendar .slotTime {
	line-height: 1.25;
	white-space: nowrap;
}

#calendar .slotRecurrence {
	opacity: .65;
}

#calendar .slotActionMenu .material-icons {
	font-size: 20px;
	color: #475569;
}

/* Handle display of free slot(s) overlapped by previous occupied reservation */
#calendar .freeSlotGroupisOverlappedByOccupiedReservation {
	background: rgba(241, 245, 249, 0.92);
	padding: 3px 6px 3px 6px;
	border-left: 1px solid #d5e1ed;
	border-radius: 8px;
}

#calendar .freeSlotGroupisOverlappedByOccupiedReservation .overlappedSlot {
	width: 100%;
	border-radius: var(--radius-lg);
	padding: 4px 0 4px 0;
    display: flex; /* Required for cross/delete icon display in proAgendaDefaultSlot.php */
    align-items: center; /* Required for cross/delete icon display in proAgendaDefaultSlot.php */
    justify-content: center; /* Required for cross/delete icon display in proAgendaDefaultSlot.php */
	background: rgba(255, 255, 255, 0.78);
}	

#calendar .endTime {
	border-radius: 0 0 16px 16px;
	padding: 0 0 4px 0;
	text-align: center;
	display: flex;
	margin: auto;
	align-items: center;
	color: #475569;
	justify-content: center;
	background: rgba(226, 232, 240, 0.88);
}

/* / Handle display of free slot(s) overlapped by previous occupied reservation */

#calendar .slot[status=occupied] {
    flex-direction: column; /* Used when both stime and reservation name are displayed */
}

#calendar .slot[status=occupied][isDefaultAndDisabled='1'] {
	background: #f3a7aa;
}

#calendar .slot[status=semiOccupied] {
	text-overflow: ellipsis; /* If name is to long for div */
	white-space: normal; /* If name is to long for div */
	overflow: hidden; /* If name is to long for div */
	flex-direction: column; /* Used when both stime and reservation name are displayed */
	color: #172033;
}

#calendar .slot[status=semiOccupied][isDefaultAndDisabled='1'] {
	color: saddlebrown;
	background: #f8ceaf;
}

#calendar .slot[isDefaultAndDisabled='1'] {
	filter: saturate(0.72);
	opacity: 0.9;
}

#calendar .slot[status=occupied],
#calendar .slot[status=semiOccupied] {
	overflow: hidden;
	color: #172033;
	background-image: none;
}

#calendar .slot[status=occupied] > div:first-child,
#calendar .slot[status=semiOccupied] > div:first-child {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	color: #0f172a;
	line-height: 1.08;
}

/* Used in proPublic */
#calendar .slot[isPending='1'] {
	background: #f1f1f1 !important;
}

/* Used in proPublic */
#calendar .slot[isOverlapping='1'] {
	background: #f1f1f1 !important;
}

#calendar .updateSlot {
	width: 100%;
	min-height: 36px;
	padding: 6px 8px;
	gap: 6px;
	margin: 4px 0 0 0;
}

#calendar .updateSlot .material-icons,
#calendar .updateSlot .icon-left {
	font-size: 16px !important;
	line-height: 1;
}

/* Agenda editor */

#timetable {
	font-size: 90%;
	width: 100%;
	text-align: center;
}

#timetable .actions {
	display: flex;
    justify-content: center;
    align-content: space-evenly;
    margin-left: 2px;
    align-items: center;
}

#timetable .actions .insert {
	display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 100%;
    border-radius: 100%;
    background: white;
    color: var(--available-dark);
    padding: 4px;
    margin-right: 4px;
    box-shadow: none;
	border: 1px solid #d5e1ed;
}

#timetable .actions .remove {
	margin-left: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    font-size: 90%;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    background: white;
    padding: 4px;
    box-shadow: none;
	border: 1px solid #d5e1ed;
}

#timetable td {
	padding: 2px !important;
}

#timetable td input {
	padding: 6px 0px 6px 0 !important;
	border: 1px solid #d5e1ed;
	border-radius: var(--radius-lg);
	text-align: center;
}

.timezoneInformation {
	float: right;
	background: rgba(255, 255, 255, .5);
	border-radius: var(--radius-lg);
    margin-top: 10px;
    padding: 2px 8px 2px 8px;
    font-size: 90%;
}

.formSub {
	display: none;
	padding-top: 10px; /* Required to leave space for the close button */
}

.agendaPrevious,
.agendaNext {
	position: absolute;
	top: 24px;
	z-index: 3;
	display: flex;
	align-items: flex-start;
	padding-top: 0;
	margin: 0;
}

.agendaPrevious {
	left: -20px;
}

.agendaNext {
	right: -20px;
}

.agendaPrevious .button,
.agendaNext .button {
	--loading-color: #808080;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	border: 1px solid #d5e1ed;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.88);
	color: #172033;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	user-select: none; /* Disable accidental selection*/
	box-shadow: none;
	backdrop-filter: blur(6px);
	transition: background-color .16s ease, border-color .16s ease;
}

.agendaPrevious .button img,
.agendaNext .button img {
	display: block;
	width: 14px;
	height: 14px;
	filter: brightness(0) saturate(100%) invert(12%) sepia(20%) saturate(1112%) hue-rotate(175deg) brightness(94%) contrast(93%);
	pointer-events: none;
}

.agendaPrevious[status=disabled] .button,
.agendaNext[status=disabled] .button {
	background: #F6F6F6;
	cursor: default;
	color: grey;
	opacity: 0.42;
	pointer-events: none;
}

.calendarDayColumn .dayTitle {
    font-size: 90%;
}

.multipleHours {
    padding: 10px;
    background: white;
    border: 1px solid #d5e1ed;
    border-radius: 0px 16px 16px 16px;
    margin-top: 1px; /* display hack */
}

.multipleHours #hourslist .hour {
	flex-direction: row;
	display: inline-flex;
    align-items: center;
	margin-top: 10px;
	width: 100%;
}

.multipleHours #hourslist .hour input{
	border-radius: var(--radius-lg);
	background: #FFF;
}

.multipleHours #hourslist .hour .close {
    font-size: 90%;
    margin-left: 10px;
    min-height: 24px;
    min-width: 24px;
    border-radius: 100%;
    cursor: pointer;
   	user-select: none;
}

.multipleHours #hourslist input{
	border-radius: var(--radius-lg);
	background: #FFF;
}

.multipleHours #insertContainer {
	display: flex;
	justify-self: center;
}

.multipleHours #insertContainer #insert {
    margin: 10px 0 0 0;
    padding: 6px;
}

.multipleHours #insertContainer #intervalInformation {
    display: flex;
    align-items: center;
    margin-top: 10px;
    max-width: 300px;
    margin-left: 4px;
}

.multipleHours #insertContainer #intervalInformation input[name='interval'] {
	background: #e6e8eb;
    padding: 6px;
    border: 0 !important;
    border-radius: var(--radius-lg);
    margin-left: 8px;
    width: 60px;
}

.multipleDays {
	font-size: 90%;
	padding: 10px;
    background: white;
    border: 1px solid #d5e1ed;
    border-radius: 0px 16px 16px 16px;
}

.changeDateSlotSelection {
	padding: 10px;
	background: white;
	border-radius: 0 10px 10px 10px;
	border: 1px solid #d5e1ed;
}

.changeDateSlotSelection > #slotsList .loadedGroup {
	display: none;	/* Displayed via javascript/ajax */
}

.changeDateSlotSelection > #slotsList .loadedGroup .date {
	margin: 10px 0 4px 0;
	color: rgba(0, 0, 0, 0.8);
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots {
	display: flex;
	flex-wrap: wrap;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot {
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 10px;
	margin: 3px;
	user-select: none;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[idSlot=none]{
	background: #e6e8eb;
	pointer-events: none;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[status=free] {
    background: var(--brand-lightbg);
    color: var(--brand-lightbg-text);
    transition: background-color 0.2s ease;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[status=free]:not([isSelected=yes]):not([isPending='1']):not([isOverlapping='1']):hover {
    background: var(--brand-lightbg-border);
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[status=semiOccupied] {
    background: orange;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[isSelected=yes] {
	background: var(--brand-primary) !important; /* overwrite slot color */
	color: #FFF;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[isPending='1'] {
	background: #f1f1f1 !important;
     /* Commented, a error will be displayed is the slot is selected*/
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[isOverlapping='1'] {
	background: #f1f1f1 !important;
	color: grey;
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[isPending='1'][isSelected=yes] {
	background: #9f9f9f !important;
     /* Commented, a error will be displayed is the slot is selected*/
}

.changeDateSlotSelection > #slotsList .loadedGroup .dateSlots .slot[isOverlapping='1'][isSelected=yes] {
	background: #9f9f9f !important;
     /* Commented, a error will be displayed is the slot is selected*/
}

.changeDateSlotSelection > #slotNext {
	font-size: 90%;
	background: #f3f3f3;
	color: #404040;
	cursor: pointer;
	width: fit-content;
	text-align: center;
	padding: 8px 12px;
	margin-top: 8px;
	border-radius: 10px;
	transition: background-color 160ms ease;
}

.changeDateSlotSelection > #slotNext:hover {
	background: #eaeaea;
}

#proAgendaCustomInformation {
	margin-top: 20px;	
}

.proAgendaContactElement {
    margin-top: 10px;
    padding: 10px;
    background: #e6e8eb;
    border-radius: 10px;
    box-shadow: none;
    cursor: pointer;
	border: 1px solid #d5e1ed;
}

.servicesList {
	width: 100%;
	display: inline-block;
	background: white;
	padding: 10px;
	border-radius: 0 10px 10px 10px;
    border: 1px solid #d5e1ed;
	box-sizing: border-box;
}

#proAgengaContactAutoCompleteNotif {
	display: none;
}

#trigger_proAgendaUpdateServicesCancel {
	background: #e6e8eb;
    color: #000;
}

#proAgendaSlotSelectionReservationsResults :is(.result, .result_overlap) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #d5e1ed;
    border-radius: 10px;
    background: #fff;
    color: #26364a;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease;
}

#proAgendaSlotSelectionReservationsResults :is(.result, .result_overlap):hover {
    border-color: #d5e1ed;
    background: #f8fafc;
}

#proAgendaSlotSelectionReservationsResults :is(.result, .result_overlap):focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.agendaReservationContent {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.agendaReservationContent strong {
    display: block;
    font-weight: 600;
}

.agendaReservationSecondary {
    display: block;
    color: #506176;
    font-size: 90%;
}

.agendaReservationDetails {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    font-size: 90%;
}

.agendaReservationDetails .agendaReservationSecondary {
    font-size: inherit;
}

#proAgendaSlotSelectionReservationsResults :is(.result, .result_overlap) > .material-icons {
    flex-shrink: 0;
    color: #506176;
}

#proAgendaSlotSelectionReservationsResults .resultPaymentMissing {
	display:flex;
	margin-top: 10px;
    padding: 10px;
    background: #eef2f7;
    border-radius: 10px;
}

#proAgendaSlotSelectionReservationsResults .resultPaymentMissing:first-child {
	margin-top: 0; /* Required to remove margin-top from first .proAgendaSlotSelectionReservationsResults child div (.result) */
}

#proAgendaSlotSelectionReservationsResults .resultPaymentMissing .blinkingElement {
	margin-right: 10px;
}

.proAgendaSlotInformation {
	display: flex;
	align-items: center; 
    background: #FFF;
    border-radius: 10px;
    padding: 10px;
    box-shadow: none;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    justify-content: space-between;
	border: 1px solid #d5e1ed;
}

.proAgendaSlotInformation #text {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.proAgendaSlotInformation img {
	width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-left: 3px;
    transform: rotate(-20deg);
}

.proAgendaSlotInformation .imgUTF8 {
	border-radius: 10px;
	padding-left: 7px;
	padding-right: 7px;
	margin-right: 8px;
	background: #e6e8eb;
	box-shadow: none;
	border: 1px solid #d5e1ed;
}

.proAgendaSlotInformation #sendInvoice {
	cursor: pointer;
    margin-right: 4px;
    padding: 6px;
    border-radius: 100px;
    font-size: 90%;
    background: white;
    border: 1px solid #d5e1ed;
    color: black;
}

.proAgendaSlotInformation #copyInClipboard {
	cursor: pointer;
    padding: 6px;
    border-radius: 100px;
    font-size: 90%;
    background: black;
    color: white;
}

.proAgendaSlotInformation a {
	color: var(--available-dark);
}

/* Reservation form */
/* Specific services are displayed when an address is selected. */
#selectMultipleServices {
	display: none;
	margin-top: 10px;
}

.bufferTimeNotice {
	border: 1px solid #d5e1ed;
	text-align: left;
	background: #f8fafc;
	color: #475569;
	font-size: 90%;
	padding: 10px;
    margin: 4px 0;
	border-radius: 8px;
	border-left: 1px solid #d5e1ed;
	box-shadow: none;
	
}

.bufferTimeNotice .icon {
    font-size: 16px;
    opacity: 0.8;
    margin-right: 4px;
}

.slotEndTime {
	position: relative;
	margin: 0;
	--line-left: 20px;
	--spur-length: 80px;
}

@media (max-width: 1200px) {
	.slotEndTime {
	  --spur-length: 46%; /* Required for the dot to be visible next to the slot end time */
	}
}

/* Slot end-time indicator */
.slotEndTime::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 0;
	bottom: 0;
	width: 2px;
	height: 50%;
	background: rgba(148, 163, 184, 0.62);
}

/* container for the horizontal “tick” and text */
.slotEndTime .line {
    text-align: right;
}

/* your existing spur */
.slotEndTime .line::before {
	content: "";
	position: absolute;
	left: var(--line-left);
	top: 50%;
	width: var(--spur-length);
	height: 2px;
	transform: translateY(-50%);
	background: rgba(148, 163, 184, 0.62);
}

/* time label */
.slotEndTime .line .time {
	position: relative;
	line-height: 1;
	font-size: 90%;
	color: darkslategray;
	padding-left: 4px;
	background: #FFF;
}

.slotEndTime .line .time-slim-overlapped {
	height: 8px;
}

/* ensure the overlapped case’s container actually spans to the next slot */
.slotEndTime.overlapped {
	margin-bottom: -4px;
}

/* make the vertical line go all the way from top to bottom */
.slotEndTime.overlapped::before {
	top: 0;
	bottom: 0;
	height: auto;         /* ignore the default 16px */
	background: rgba(148, 163, 184, 0.62);
}
.slotEndTime.overlapped .line::after {
  display: none;
}

/* Hide the horizontal spur for overlapping slots. */
.slotEndTime.overlapped .line::before {
  display: none;
}

/* Default schedule */

.proAgendaDefaultScheduleReconfiguration .day {
    padding: 10px;
    margin-top: 30px;
	border-radius: var(--radius-lg);
    border: 1px solid #d5e1ed;
}

.proAgendaDefaultScheduleReconfiguration .setting {
	display: flex;
	align-items: center;
	margin-top: 10px;
	max-width: 250px;
}

.proAgendaDefaultScheduleReconfiguration .setting input[name='interval'] {
	border-radius: var(--radius-lg);
	margin-left: 8px;
	box-shadow: none;
	padding: 6px;
	width: 60px;
}

.slot-paid-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 90%;
	cursor: pointer;
	transition: all 120ms ease;
}

.slot-paid-toggle[data-paid="1"] {
	padding: 3px;
	height: 22px;
	width: 22px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
}

.slot-paid-toggle[data-paid="0"] {
	border-radius: var(--radius-lg);
	padding: 0 4px;
	border: 1px solid #d5e1ed;
	border-color: darkslategray;
}
/* Agenda controls */
#calendarWrapper { 
	position: relative;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

#calendarWrapper.uiIsLoading { min-height: 330px; }

#proAgendaPage.uiAgendaDatePending #proAgendaDatePickerSummary {
	visibility: hidden;
}

.proAgendaControlsPanel {
	font-size: 90%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	margin-top: 10px;
	padding: 10px;
	border: 1px solid #d5e1ed;
	border-radius: 14px;
	background: linear-gradient(145deg, #ffffff 0%, #fbfcfe 100%);
	box-shadow: none;
}

.proAgendaControlsToggles {
	display: grid;
	align-content: center;
	gap: 10px;
}

.proAgendaControlsPanel .switchContainer {
	padding: 0;
	margin-top: 0;
	background-color: #FFF !important;
}

.proAgendaControlsPanel .switchContainer + .switchContainer {
	border-top: 0;
}

.proAgendaBulkActions {
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: center;
	gap: 10px;
	padding-left: 10px;
	border-left: 1px solid #d5e1ed;
}

.proAgendaBulkActions .button-list {
	display: contents;
}

.proAgendaBulkActions .button-list a {
	grid-column: 1 / -1;
	grid-row: 2;
	min-width: 0;
	text-decoration: none;
}

.proAgendaBulkAction {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	font-family: var(--font-sans);
	font-size: 90%;
	line-height: 1.1;
	white-space: nowrap;
	border-radius: 8px !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.proAgendaBulkAction::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 100px;
	font-size: 16px;
	line-height: 1;
}

.proAgendaBulkAction--add::before {
	content: "+";
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

.proAgendaBulkAction--add {
	border-color: color-mix(in srgb, var(--available-base) 20%, transparent) !important;
	background: var(--available-base) !important;
	color: #ffffff !important;
}

.proAgendaBulkAction--remove {
	border-color: rgba(185, 28, 28, 0.20) !important;
	background: #ffffff !important;
	color: #991b1b !important;
}

.proAgendaBulkAction--remove::before {
	content: "×";
	color: #991b1b;
	font-size: 21px;
}

.proAgendaBulkAction--weekly {
	grid-column: 1 / -1;
	border-color: color-mix(in srgb, var(--available-base) 22%, transparent) !important;
	background: #ffffff !important;
	color: var(--available-base) !important;
}

.proAgendaBulkAction--weekly .material-icons {
	margin-left: 6px;
	font-size:  16px !important;
	line-height: 1;
}

/* Reservation metadata */
#reservationMetaCard {
    display: grid;
    gap: 10px;
    padding: 10px;
    margin-bottom: 10px;
	    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
	    border: 1px solid #d5e1ed;
	border-radius: var(--radius-lg);
    box-shadow: none;
}

.reservationMetaGrid {
    display: grid;
    gap: 10px;
}

.reservationMetaLabel {
    color: #8b93a6;
    font-size: 90%;
}

.reservationMetaValue {
    color: #1a2233;
    line-height: 1.35;
    word-break: break-word;
}

.proAgendaReservationReadOnlyStatus {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.proAgendaReservationReadOnlyNotes {
	white-space: pre-wrap;
}

#reservationMetaEditor {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #d5e1ed;
	border-radius: var(--radius-lg);
    box-shadow: none;
}

.reservationMetaActions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.reservationMetaActions .reservationMetaButton {
    flex: 1;
}

.reservationMetaButton {
    appearance: none;
    padding: 10px 10px;
    border: 1px solid #d5e1ed;
	border-radius: var(--radius-lg);
    background: #ffffff;
    color: #161b26;
    cursor: pointer;
    text-align: center;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    box-shadow: none;
    margin-top: 0 !important;
}

/* Primary CTA */
.reservationMetaButtonPrimary {
	border: 1px solid #d5e1ed;
    background: #1f2937;
    color: #ffffff;
    box-shadow: none;
	
}

/* Secondary action */
.reservationMetaButtonSecondary {
    background: #f8fafc;
    color: #475467;
    box-shadow: none;
}

.proAgendaCalendarBody {
	padding: 18px;
}

/* Responsive calendar */
@media (max-width: 760px) {
	#calendarWrapper {
		border-radius: 12px;
	}
}

@media (max-width: 500px) {
	#calendar #calendarElements {
		width: 100%;
	}

	#calendar #days {
		overflow-x: hidden;
		border-radius: 12px;
	}

	#calendar .calendarDayColumn {
		flex: 0 0 50%;
		width: 50%;
		padding: 0 5px 18px;
		box-sizing: border-box;
	}

	#calendar .slot {
		min-height: 66px;
	}

	#calendar .slot[status=free] {
		min-height: 44px;
	}

}

#calendar .calendarDayColumn > div:first-child > small.highlightTodayDate {
	background: #d8f2ea;
	color: var(--available-bright);
	padding: 0 10px;
	border-radius: var(--radius-lg);
	font-weight: 600;
}

/* Responsive agenda controls */
@media (max-width: 767px) {
	.proAgendaControlsPanel {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		min-width: 0;
		margin-top: 10px;
		box-sizing: border-box;
		overflow: hidden;
	}

	.proAgendaControlsToggles,
	.proAgendaBulkActions,
	.proAgendaBulkActions .button-list {
		width: 100%;
		min-width: 0;
	}

	.proAgendaBulkActions .button-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.proAgendaControlsPanel .switchContainer,
	.proAgendaBulkActions .button-list .button,
	.proAgendaBulkActions .button-list button {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.proAgendaBulkAction {
		white-space: normal;
		text-align: center;
	}

}

.proAgendaBulkActions .button-list .uiActionLink .material-icons {
	position: absolute;
	right: 16px;
	margin: 0;
}

@media (max-width: 1199px) {
	.proAgendaControlsPanel {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.proAgendaBulkActions {
		padding-top: 10px;
		padding-left: 0;
		border-top: 1px solid #d5e1ed;
		border-left: 0;
	}
}

@media (max-width: 560px) {
	.proAgendaBulkActions {
		grid-template-columns: minmax(0, 1fr);
	}

	.proAgendaBulkActions .button-list a {
		grid-column: 1;
		grid-row: 3;
	}
}

/* Interactive states */
.proAgendaControlsPanel .switchContainer:hover {
	background: rgba(241, 245, 249, 0.72);
	color: #263246;
}

.proAgendaBulkActions :is(.uiActionValid, .uiActionDanger, .uiActionNeutral, .uiActionLink):focus-visible {
	outline: 2px solid color-mix(in srgb, currentColor 28%, transparent);
	outline-offset: 2px;
}
.proAgendaSlotDate {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #66788d;
	font-size: 90%;
}
