/* ==========================================================================
   TutorHelper Booking Hub
   --------------------------------------------------------------------------
   Booking Hub styling based on the TeachAllAboutIt booking admin house style.
   ========================================================================== */


/* ==========================================================================
   Theme variables and page base
   ========================================================================== */

.tutorhelper-booking-hub {
	--tutorhelper-orange: #ff6326;
	--tutorhelper-orange-dark: #e84f16;
	--tutorhelper-cream: #f3e7dd;
	--tutorhelper-cream-light: #fff8f3;
	--tutorhelper-dark: #133949;
	--tutorhelper-blue: #328bb8;
	--tutorhelper-sky: #a7d2e7;
	--tutorhelper-white: #ffffff;
	--tutorhelper-alert: #b32d2e;
	--tutorhelper-success: #2f7d4a;
	--tutorhelper-border: rgba(19, 57, 73, 0.16);
	--tutorhelper-border-strong: rgba(19, 57, 73, 0.26);
	--tutorhelper-shadow: 0 10px 28px rgba(19, 57, 73, 0.1);
	--tutorhelper-soft-shadow: 0 6px 18px rgba(19, 57, 73, 0.08);

	max-width: 1600px;
	margin-top: 20px;
	padding-right: 20px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-hub,
.tutorhelper-booking-hub * {
	box-sizing: border-box;
}

.tutorhelper-booking-hub h1,
.tutorhelper-booking-hub h2,
.tutorhelper-booking-hub h3 {
	color: var(--tutorhelper-dark);
}


/* ==========================================================================
   Page hero
   ========================================================================== */

.tutorhelper-booking-hub__heading {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	margin-bottom: 22px;
	padding: 16px 28px;
	background: linear-gradient(
		135deg,
		var(--tutorhelper-cream),
		var(--tutorhelper-cream-light)
	);
	border: 2px solid var(--tutorhelper-dark);
	border-radius: 22px;
	box-shadow: var(--tutorhelper-shadow);
}

.tutorhelper-booking-hub__logo {
	display: block;
	width: 10%;
	height: 10%;
	flex: 0 0 10%;
	object-fit: contain;
}

.tutorhelper-booking-hub__heading::before {
	content: "";
	position: absolute;
	top: -55px;
	right: -55px;
	width: 150px;
	height: 150px;
	background: var(--tutorhelper-orange);
	border-radius: 50%;
	opacity: 0.16;
	pointer-events: none;
}

.tutorhelper-booking-hub__heading > * {
	position: relative;
	z-index: 1;
}

.tutorhelper-booking-hub__heading h1 {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.15;
}

.tutorhelper-booking-hub__heading p {
	max-width: 780px;
	margin: 0;
	color: #2d4d59;
	font-size: 15px;
}

.tutorhelper-booking-hub__heading-content {
	min-width: 90%;
}

.tutorhelper-booking-hub__heading-content h1 {
	margin-top: 0;
}


@media screen and (max-width: 782px) {
	.tutorhelper-booking-hub__heading {
		align-items: flex-start;
	}

	.tutorhelper-booking-hub__logo {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.tutorhelper-price-input {
		width: 100%;
	}

	.tutorhelper-month-calendar {
		min-width: 720px;
	}

	.tutorhelper-booking-hub__calendar-area {
		overflow-x: auto;
	}
}





/* ==========================================================================
   Shared UI Object Design
   ========================================================================== */

.tutorhelper-booking-hub .tutorhelper-hub-pill-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	margin: 0;
	padding: 5px 16px;
	border: 2px solid var(--tutorhelper-border-strong);
	border-radius: 999px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
	font-weight: 700;
	line-height: 22px;
	box-shadow: none;
}

.tutorhelper-booking-hub .tutorhelper-hub-pill-button-small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 20px;
	margin: 0;
	padding: 3px 6px;
	border: 2px solid var(--tutorhelper-border-strong);
	border-radius: 999px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	box-shadow: none;
}

.tutorhelper-booking-hub
.tutorhelper-hub-pill-button:hover,
.tutorhelper-booking-hub
.tutorhelper-hub-pill-button:focus,
.tutorhelper-booking-hub
.tutorhelper-hub-pill-button-small:hover,
.tutorhelper-booking-hub
.tutorhelper-hub-pill-button-small:focus {
	border-color: var(--tutorhelper-orange);
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-orange);
}





.tutorhelper-booking-hub .tutorhelper-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 6px 18px;
	border-color: var(--tutorhelper-orange);
	border-radius: 999px;
	background: var(--tutorhelper-orange);
	color: var(--tutorhelper-white);
	font-weight: 700;
	text-shadow: none;
	box-shadow: none;
}

.tutorhelper-booking-hub
.tutorhelper-action-button:hover,
.tutorhelper-booking-hub
.tutorhelper-action-button:focus {
	border-color: var(--tutorhelper-orange-dark);
	background: var(--tutorhelper-orange-dark);
	color: var(--tutorhelper-white);
}

.tutorhelper-booking-hub .button .dashicons,
.tutorhelper-booking-hub .tutorhelper-hub-pill-button .dashicons,
.tutorhelper-booking-hub .tutorhelper-action-button .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin: 0;
	font-size: 18px;
	line-height: 1;
	vertical-align: middle;
}

.tutorhelper-booking-hub__view-switcher .button,
.tutorhelper-hub-pill-button,
.tutorhelper-action-button {
	align-items: center;
}



.tutorhelper-workspace__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 5px;
	padding: 2px 16px;
	background: rgba(243, 231, 221, 0.72);
	border: 2px solid rgba(19, 57, 73, 0.12);
	border-radius: 16px;
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-workspace__header h2 {
	font-size: 1.4em !important;
	font-weight: 700 !important;
}



/* ==========================================================================
   Form Fields
   ========================================================================== */

.tutorhelper-input-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.tutorhelper-input-field {
	display: grid;
	align-content: start;
	gap: 6px;
	min-width: 0;
}

.tutorhelper-input-field.is-full-width {
	grid-column: 1 / -1;
}

.tutorhelper-input-field label {
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-input-field input,
.tutorhelper-input-field textarea,
.tutorhelper-input-field select {
	width: 100%;
	max-width: none;
	min-height: 40px;
	padding: 7px 10px;
	border: 2px solid var(--tutorhelper-border);
	border-radius: 10px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
	box-shadow: none;
}

.tutorhelper-input-field textarea {
	min-height: 88px;
	resize: vertical;
}

.tutorhelper-input-field input:focus,
.tutorhelper-input-field textarea:focus,
.tutorhelper-input-field select:focus {
	border-color: var(--tutorhelper-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 99, 38, 0.16);
}


.tutorhelper-input-field input:disabled {
	background: #f0f0f1;
	color: #646970;
}



/* ==========================================================================
   Shared Price Input Fields
   ========================================================================== */

.tutorhelper-price-input {
	display: flex;
	align-items: stretch;
	width: min(100%, 360px);
}

.tutorhelper-price-input__symbol,
.tutorhelper-price-input__code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 2px solid var(--tutorhelper-border);
	background: var(--tutorhelper-cream);
	color: var(--tutorhelper-dark);
	font-weight: 700;
	line-height: 1;
}

.tutorhelper-price-input__symbol {
	border-right: 0;
	border-radius: 10px 0 0 10px;
}

.tutorhelper-price-input__code {
	border-left: 0;
	border-radius: 0 10px 10px 0;
}

.tutorhelper-price-input input[type="number"] {
	width: 100%;
	min-width: 0;
	min-height: 40px;
	margin: 0;
	border: 2px solid var(--tutorhelper-border);
	border-radius: 0;
	box-shadow: none;
}

.tutorhelper-price-input input[type="number"]:focus {
	position: relative;
	z-index: 1;
}





/* ==========================================================================
   Shared Student Management fields
   ========================================================================== */

.tutorhelper-student-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.tutorhelper-student-field {
	display: grid;
	align-content: start;
	gap: 6px;
	min-width: 0;
}

.tutorhelper-student-field.is-full-width {
	grid-column: 1 / -1;
}

.tutorhelper-student-field label {
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-student-field input,
.tutorhelper-student-field textarea,
.tutorhelper-student-field select {
	width: 100%;
	max-width: none;
	min-height: 40px;
	padding: 7px 10px;
	border: 2px solid var(--tutorhelper-border);
	border-radius: 10px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
}

.tutorhelper-student-field textarea {
	min-height: 88px;
	resize: vertical;
}

.tutorhelper-student-field input:focus,
.tutorhelper-student-field textarea:focus,
.tutorhelper-student-field select:focus {
	border-color: var(--tutorhelper-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 99, 38, 0.16);
}

.tutorhelper-student-field input:disabled {
	background: #f0f0f1;
	color: #646970;
}

.tutorhelper-student-address-fields {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.tutorhelper-student-address-fields h4 {
	margin: 0;
	color: var(--tutorhelper-dark);
}

.tutorhelper-toggle-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	background: var(--tutorhelper-cream-light);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 12px;
}

.tutorhelper-toggle-row input {
	margin-top: 3px;
}

.tutorhelper-toggle-row span {
	display: grid;
	gap: 2px;
}

.tutorhelper-toggle-row small {
	color: #55717c;
}

.tutorhelper-student-booking-access__controls {
	display: grid;
	gap: 14px;
}


.tutorhelper-main-section__header.is-compact {
	padding: 12px 16px;
}


/* ==========================================================================
   Shared main section
   ========================================================================== */

.tutorhelper-main-section {
	overflow: hidden;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 18px;
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-main-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	background: var(--tutorhelper-dark);
	color: var(--tutorhelper-white);
}

.tutorhelper-main-section__header-content {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.tutorhelper-main-section__header h2,
.tutorhelper-main-section__header h3 {
	margin: 0;
	color: var(--tutorhelper-white);
	font-weight: 800;
}

.tutorhelper-main-section__header p {
	margin: 0;
	color: var(--tutorhelper-sky);
	font-size: 13px;
}

.tutorhelper-main-section__header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.tutorhelper-main-section__body {
	min-width: 0;
	background: var(--tutorhelper-white);
}







/* ==========================================================================
   Student accordion
   ========================================================================== */

.tutorhelper-student-accordion {
	overflow: hidden;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 16px;
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-student-accordion__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 15px 18px;
	background: var(--tutorhelper-cream-light);
	color: var(--tutorhelper-dark);
	cursor: pointer;
	list-style: none;
}

.tutorhelper-student-accordion__summary::-webkit-details-marker {
	display: none;
}

.tutorhelper-student-accordion__summary > .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 22px;
	line-height: 1;
}

.tutorhelper-student-accordion__title {
	display: grid;
	gap: 2px;
}

.tutorhelper-student-accordion__title small {
	color: #55717c;
	font-weight: 400;
}

.tutorhelper-student-accordion__icon {
	transition: transform 160ms ease;
}

.tutorhelper-student-accordion[open]
.tutorhelper-student-accordion__icon {
	transform: rotate(180deg);
}

.tutorhelper-student-accordion__content {
	padding: 18px;
	border-top: 2px solid var(--tutorhelper-border);
}

.tutorhelper-student-password__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tutorhelper-student-password__option {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 16px;
	background: var(--tutorhelper-cream-light);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 14px;
}

.tutorhelper-student-password__option h4,
.tutorhelper-student-password__option p {
	margin: 0;
}

.tutorhelper-student-password__form {
	display: grid;
	gap: 12px;
}

@media screen and (max-width: 782px) {
	.tutorhelper-student-fields,
	.tutorhelper-student-password__grid {
		grid-template-columns: 1fr;
	}

	.tutorhelper-student-field.is-full-width {
		grid-column: auto;
	}
}






/* ==========================================================================
   Week and month view switcher
   ========================================================================== */

.tutorhelper-booking-hub__view-switcher {
	display: inline-flex;
	gap: 4px;
	padding: 5px;
	background: rgba(255, 255, 255, 0.72);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 999px;
}

.tutorhelper-booking-hub__view-switcher .button {
	min-height: 36px;
	margin: 0;
	padding: 5px 18px;
	border-color: transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--tutorhelper-dark);
	font-weight: 700;
	line-height: 24px;
	box-shadow: none;
}

.tutorhelper-booking-hub__view-switcher .button:hover,
.tutorhelper-booking-hub__view-switcher .button:focus {
	border-color: var(--tutorhelper-orange);
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-orange);
}

.tutorhelper-booking-hub__view-switcher .button.button-primary {
	border-color: var(--tutorhelper-orange);
	background: var(--tutorhelper-orange);
	color: var(--tutorhelper-white);
	text-shadow: none;
}

.tutorhelper-booking-hub__view-switcher .button.button-primary:hover,
.tutorhelper-booking-hub__view-switcher .button.button-primary:focus {
	border-color: var(--tutorhelper-orange-dark);
	background: var(--tutorhelper-orange-dark);
	color: var(--tutorhelper-white);
}


/* ==========================================================================
   Calendar toolbar
   ========================================================================== */

.tutorhelper-booking-hub__toolbar {
	display: grid;
	grid-template-columns:
		minmax(280px, 1fr)
		minmax(220px, auto)
		minmax(280px, 1fr)
        minmax(100px, auto);
	align-items: center;
	gap: 18px;
	margin-bottom: 20px;
	padding: 14px 16px;
	background: rgba(243, 231, 221, 0.72);
	border: 2px solid rgba(19, 57, 73, 0.12);
	border-radius: 16px;
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-booking-hub__period-navigation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.tutorhelper-booking-hub__period-navigation .button {
	min-height: 34px;
	margin: 0;
	padding: 4px 14px;
	border-color: rgba(19, 57, 73, 0.25);
	border-radius: 999px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
	font-weight: 700;
	box-shadow: none;
}

.tutorhelper-booking-hub__period-navigation .button:hover,
.tutorhelper-booking-hub__period-navigation .button:focus {
	border-color: var(--tutorhelper-orange);
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-orange);
}

.tutorhelper-booking-hub__period-title {
	margin: 0;
	color: var(--tutorhelper-dark);
	font-size: 18px;
	font-weight: 800;
	text-align: center;
}

.tutorhelper-booking-hub__date-jump {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

.tutorhelper-booking-hub__date-jump label {
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-booking-hub__date-jump input[type="date"] {
	min-height: 36px;
	padding: 5px 10px;
	border: 2px solid rgba(19, 57, 73, 0.22);
	border-radius: 10px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-hub__date-jump input[type="date"]:focus {
	border-color: var(--tutorhelper-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 99, 38, 0.18);
}

.tutorhelper-booking-hub__date-jump .button {
	min-height: 36px;
	margin: 0;
	padding: 5px 16px;
	border-color: var(--tutorhelper-orange);
	border-radius: 999px;
	background: var(--tutorhelper-orange);
	color: var(--tutorhelper-white);
	font-weight: 700;
	box-shadow: none;
}

.tutorhelper-booking-hub__date-jump .button:hover,
.tutorhelper-booking-hub__date-jump .button:focus {
	border-color: var(--tutorhelper-orange-dark);
	background: var(--tutorhelper-orange-dark);
	color: var(--tutorhelper-white);
}


/* ==========================================================================
   Main calendar and side-panel layout
   ========================================================================== */

.tutorhelper-booking-hub__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	align-items: start;
	gap: 22px;
}

.tutorhelper-booking-hub__calendar-area {
	min-width: 0;
	padding: 20px;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 20px;
	box-shadow: var(--tutorhelper-shadow);
}

.tutorhelper-booking-hub__sidebar {
	position: sticky;
	top: 42px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}


/* ==========================================================================
   Weekly calendar
   ========================================================================== */

.tutorhelper-week-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(150px, 1fr));
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.tutorhelper-calendar-day {
	min-width: 150px;
	overflow: hidden;
	background: #f8fafb;
	border: 2px solid rgba(19, 57, 73, 0.12);
	border-radius: 16px;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.tutorhelper-calendar-day:hover {
	border-color: rgba(19, 57, 73, 0.25);
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-calendar-day.is-today {
	border-color: var(--tutorhelper-orange);
	box-shadow:
		0 0 0 2px rgba(255, 99, 38, 0.12),
		var(--tutorhelper-soft-shadow);
}

.tutorhelper-calendar-day.is-selected {
	outline: 3px solid rgba(50, 139, 184, 0.4);
	outline-offset: 2px;
}

.tutorhelper-calendar-day.is-outside-month {
	background: rgba(243, 231, 221, 0.45);
	opacity: 0.72;
}

.tutorhelper-calendar-day__header {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	background: var(--tutorhelper-dark);
	border-bottom: 0;
	color: var(--tutorhelper-white);
}

.tutorhelper-calendar-day.is-today .tutorhelper-calendar-day__header {
	background: var(--tutorhelper-orange);
}

.tutorhelper-calendar-day__weekday {
	color: var(--tutorhelper-white);
	font-size: 15px;
	font-weight: 800;
}

.tutorhelper-calendar-day__date {
	color: var(--tutorhelper-sky);
	font-size: 12px;
	font-weight: 700;
}

.tutorhelper-calendar-day.is-today .tutorhelper-calendar-day__date {
	color: var(--tutorhelper-white);
}

.tutorhelper-calendar-day__content {
	min-height: 420px;
	padding: 10px;
}

.tutorhelper-calendar-day__section + .tutorhelper-calendar-day__section {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 2px solid rgba(19, 57, 73, 0.1);
}

.tutorhelper-calendar-day__section h3 {
	margin: 0 0 8px;
	color: var(--tutorhelper-dark);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.045em;
}


/* ==========================================================================
   Empty calendar states
   ========================================================================== */

.tutorhelper-calendar-day__empty,
.tutorhelper-month-day__empty {
	margin: 0;
	padding: 14px 9px;
	background: rgba(243, 231, 221, 0.48);
	border: 2px dashed rgba(19, 57, 73, 0.16);
	border-radius: 14px;
	color: #6b7f87;
	font-size: 12px;
	font-style: normal;
	text-align: center;
}


/* ==========================================================================
   Future Availability blocks
   --------------------------------------------------------------------------
   These classes are ready for the Availability migration.
   ========================================================================== */

.tutorhelper-availability-block {
	margin-bottom: 10px;
	padding: 10px;
	background: var(--tutorhelper-white);
	border-left: 6px solid var(--tutorhelper-orange);
	border-radius: 14px;
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-availability-block:last-child {
	margin-bottom: 0;
}

.tutorhelper-availability-block__time {
	margin-bottom: 4px;
	color: var(--tutorhelper-dark);
	font-weight: 800;
}

.tutorhelper-availability-block__title {
	margin-bottom: 4px;
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-availability-block__meta {
	margin-bottom: 8px;
	color: #47626d;
	font-size: 12px;
}

.tutorhelper-availability-block__pill {
	display: inline-flex;
	align-items: center;
	width: auto;
	max-width: 100%;
	padding: 3px 8px;
	border-radius: 9px;
	font-size: 10px;
	line-height: 1.25;
	white-space: normal;
}

.tutorhelper-availability-block {
	align-items: flex-start;
}

.tutorhelper-availability-block__pill {
	align-self: flex-start;
}


.tutorhelper-calendar-item-chooser[hidden] {
	display: none;
}

.tutorhelper-calendar-item-chooser {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.tutorhelper-calendar-item-chooser__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}

.tutorhelper-calendar-item-chooser__dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: 80vh;
	overflow: auto;
	padding: 24px;
	background: #fff;
	border-radius: 8px;
	box-shadow:
		0 12px 40px
		rgba(0, 0, 0, 0.22);
}

.tutorhelper-calendar-item-chooser__header {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: flex-start;
}

.tutorhelper-calendar-item-chooser__header h3 {
	margin-top: 0;
	margin-bottom: 4px;
}

.tutorhelper-calendar-item-chooser__header p {
	margin-top: 0;
}

.tutorhelper-calendar-item-chooser__options {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.wp-core-ui
.tutorhelper-calendar-item-chooser__option.button {
	width: 100%;
	height: auto;
	min-height: 44px;
	padding: 10px 14px;
	text-align: left;
	white-space: normal;
}


.tutorhelper-working-day-calendar-link {
	margin: 20px 0;
	padding: 16px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.tutorhelper-working-day-calendar-link p {
	margin-top: 0;
}

.tutorhelper-working-day-calendar-link p:last-of-type {
	margin-bottom: 12px;
}


/* ==========================================================================
   Future Booking blocks
   ========================================================================== */

.tutorhelper-booking-block {
	margin-top: 8px;
	padding: 9px 10px;
	background: rgba(167, 210, 231, 0.38);
	border-left: 5px solid var(--tutorhelper-blue);
	border-radius: 12px;
	color: var(--tutorhelper-dark);
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-booking-block__time,
.tutorhelper-booking-block__title {
	font-weight: 800;
}

.tutorhelper-booking-block__meta {
	margin-top: 4px;
	color: #47626d;
	font-size: 12px;
}


/* ==========================================================================
   Monthly calendar
   ========================================================================== */

.tutorhelper-month-calendar-wrap {
	overflow-x: auto;
	padding-bottom: 8px;
}

.tutorhelper-month-calendar {
	min-width: 900px;
	overflow: hidden;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 18px;
}

.tutorhelper-month-calendar__weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(120px, 1fr));
	background: var(--tutorhelper-dark);
	border-bottom: 0;
}

.tutorhelper-month-calendar__weekdays div {
	padding: 12px 10px;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--tutorhelper-white);
	font-size: 13px;
	font-weight: 800;
	text-align: center;
}

.tutorhelper-month-calendar__weekdays div:last-child {
	border-right: 0;
}

.tutorhelper-month-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(120px, 1fr));
	background: rgba(19, 57, 73, 0.08);
	gap: 1px;
}

.tutorhelper-month-calendar__grid .tutorhelper-calendar-day {
	min-height: 145px;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: var(--tutorhelper-white);
	box-shadow: none;
}

.tutorhelper-month-calendar__grid .tutorhelper-calendar-day:hover {
	position: relative;
	z-index: 1;
	background: #fffaf6;
	box-shadow: inset 0 0 0 2px rgba(255, 99, 38, 0.32);
}

.tutorhelper-month-calendar__grid .tutorhelper-calendar-day.is-outside-month {
	background: rgba(243, 231, 221, 0.72);
	color: #6b7f87;
	opacity: 1;
}

.tutorhelper-month-calendar__grid .tutorhelper-calendar-day.is-today {
	box-shadow: inset 0 0 0 3px var(--tutorhelper-orange);
}

.tutorhelper-month-calendar__grid .tutorhelper-calendar-day.is-selected {
	outline: none;
	box-shadow: inset 0 0 0 3px var(--tutorhelper-blue);
}

.tutorhelper-month-day__header {
	padding: 8px 9px 4px;
	text-align: right;
}

.tutorhelper-month-day__header a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--tutorhelper-dark);
	font-weight: 800;
	text-decoration: none;
}

.tutorhelper-month-day__header a:hover,
.tutorhelper-month-day__header a:focus {
	background: var(--tutorhelper-sky);
	color: var(--tutorhelper-dark);
	box-shadow: none;
}

.tutorhelper-calendar-day.is-today .tutorhelper-month-day__header a {
	background: var(--tutorhelper-orange);
	color: var(--tutorhelper-white);
}

.tutorhelper-calendar-day.is-selected .tutorhelper-month-day__header a {
	background: var(--tutorhelper-blue);
	color: var(--tutorhelper-white);
	box-shadow: none;
}

.tutorhelper-month-day__content {
	padding: 4px 8px 10px;
}


/* ==========================================================================
   Side panels
   ========================================================================== */

.tutorhelper-hub-panel {
	overflow: hidden;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 20px;
	box-shadow: var(--tutorhelper-shadow);
}

.tutorhelper-hub-panel__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 58px;
	padding: 15px 18px;
	background: var(--tutorhelper-dark);
	border: 0;
	color: var(--tutorhelper-white);
	cursor: pointer;
	font-size: 16px;
	font-weight: 800;
	text-align: left;
	transition:
		background 0.18s ease,
		color 0.18s ease;
}

.tutorhelper-hub-panel__toggle:hover,
.tutorhelper-hub-panel__toggle:focus {
	background: #19495d;
	color: var(--tutorhelper-white);
	outline: none;
}

.tutorhelper-hub-panel__toggle:focus-visible {
	box-shadow: inset 0 0 0 3px var(--tutorhelper-orange);
}

.tutorhelper-hub-panel__toggle .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 2px solid var(--tutorhelper-cream);
	border-radius: 999px;
	color: var(--tutorhelper-cream);
	font-size: 18px;
	line-height: 26px;
}

.tutorhelper-hub-panel__content {
	padding: 18px;
	background: var(--tutorhelper-white);
	border-top: 0;
}

.tutorhelper-hub-panel__content[hidden] {
	display: none;
}

.tutorhelper-hub-panel__content .notice {
	margin: 0;
	border-left-color: var(--tutorhelper-blue);
	border-radius: 12px;
}


/* ==========================================================================
   Booking Types summary
   ========================================================================== */

.tutorhelper-booking-types-summary {
	display: grid;
	gap: 8px;
	margin: 0;
}

.tutorhelper-booking-types-summary li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	background: rgba(243, 231, 221, 0.55);
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 14px;
}

.tutorhelper-booking-types-summary__colour {
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(19, 57, 73, 0.18);
	border-radius: 50%;
}

.tutorhelper-booking-types-summary li strong {
	overflow: hidden;
	color: var(--tutorhelper-dark);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tutorhelper-booking-types-summary li > span:not(
	.tutorhelper-booking-types-summary__colour
) {
	color: #47626d;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.tutorhelper-booking-types-summary em {
	grid-column: 2 / -1;
	color: var(--tutorhelper-alert);
	font-size: 12px;
	font-weight: 700;
}


/* ==========================================================================
   Shared controls inside future side-panel forms
   ========================================================================== */

.tutorhelper-hub-panel input[type="text"],
.tutorhelper-hub-panel input[type="date"],
.tutorhelper-hub-panel input[type="time"],
.tutorhelper-hub-panel input[type="number"],
.tutorhelper-hub-panel select,
.tutorhelper-hub-panel textarea {
	max-width: 100%;
	border: 2px solid rgba(19, 57, 73, 0.22);
	border-radius: 10px;
	background: var(--tutorhelper-white);
	color: var(--tutorhelper-dark);
}

.tutorhelper-hub-panel input[type="text"]:focus,
.tutorhelper-hub-panel input[type="date"]:focus,
.tutorhelper-hub-panel input[type="time"]:focus,
.tutorhelper-hub-panel input[type="number"]:focus,
.tutorhelper-hub-panel select:focus,
.tutorhelper-hub-panel textarea:focus {
	border-color: var(--tutorhelper-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 99, 38, 0.18);
}

.tutorhelper-hub-panel .button.button-primary {
	padding: 6px 18px;
	background: var(--tutorhelper-orange);
	border-color: var(--tutorhelper-orange);
	border-radius: 999px;
	color: var(--tutorhelper-white);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tutorhelper-hub-panel .button.button-primary:hover,
.tutorhelper-hub-panel .button.button-primary:focus {
	background: var(--tutorhelper-orange-dark);
	border-color: var(--tutorhelper-orange-dark);
	color: var(--tutorhelper-white);
}


/* ==========================================================================
   Responsive layout
   ========================================================================== */

@media screen and (max-width: 1250px) {
	.tutorhelper-booking-hub__toolbar {
		grid-template-columns: 1fr;
	}

	.tutorhelper-booking-hub__period-title {
		text-align: left;
	}

	.tutorhelper-booking-hub__date-jump {
		justify-content: flex-start;
	}

	.tutorhelper-booking-hub__layout {
		grid-template-columns: 1fr;
	}

	.tutorhelper-booking-hub__sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(280px, 1fr));
	}
}

@media screen and (max-width: 960px) {
	.tutorhelper-booking-hub {
		padding-right: 10px;
	}

	.tutorhelper-booking-hub__heading {
		flex-direction: column;
	}

	.tutorhelper-booking-hub__view-switcher {
		align-self: flex-start;
	}

	.tutorhelper-booking-hub__sidebar {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 782px) {
	.tutorhelper-booking-hub {
		margin-top: 10px;
		padding-right: 0;
	}

	.tutorhelper-booking-hub__heading {
		padding: 20px;
		border-radius: 18px;
	}

	.tutorhelper-booking-hub__heading h1 {
		font-size: 27px;
	}

	.tutorhelper-booking-hub__view-switcher {
		width: 100%;
	}

	.tutorhelper-booking-hub__view-switcher .button {
		flex: 1;
		text-align: center;
	}

	.tutorhelper-booking-hub__toolbar {
		padding: 12px;
	}

	.tutorhelper-booking-hub__period-navigation {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
	}

	.tutorhelper-booking-hub__period-navigation .button {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		padding: 5px 8px;
		text-align: center;
	}

	.tutorhelper-booking-hub__date-jump {
		align-items: stretch;
	}

	.tutorhelper-booking-hub__date-jump label {
		width: 100%;
	}

	.tutorhelper-booking-hub__date-jump input[type="date"] {
		flex: 1;
		min-height: 42px;
	}

	.tutorhelper-booking-hub__calendar-area {
		padding: 12px;
		border-radius: 16px;
	}

	.tutorhelper-week-calendar {
		display: flex;
		flex-direction: column;
		overflow-x: visible;
	}

	.tutorhelper-calendar-day {
		min-width: 0;
	}

	.tutorhelper-calendar-day__content {
		min-height: 180px;
	}

	.tutorhelper-hub-panel {
		border-radius: 16px;
	}

	.tutorhelper-hub-panel__toggle {
		min-height: 54px;
	}
}


/* ==========================================================================
   Booking Hub summary cards
   ========================================================================== */

.tutorhelper-hub-summary {
	display: grid;
	grid-template-columns: repeat(5, minmax(150px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.tutorhelper-hub-summary__card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 92px;
	padding: 16px 18px;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 17px;
	box-shadow: var(--tutorhelper-soft-shadow);
}

.tutorhelper-hub-summary__card > .dashicons {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	color: var(--tutorhelper-orange);
	font-size: 28px;
	line-height: 32px;
}

.tutorhelper-hub-summary__value {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	color: var(--tutorhelper-dark);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.tutorhelper-hub-summary__label {
	margin-top: 7px;
	color: var(--tutorhelper-dark);
	font-size: 12px;
}

.tutorhelper-hub-summary__status {
	margin-top: 4px;
	color: #6b7f87;
	font-size: 11px;
	font-weight: 700;
}

.tutorhelper-hub-summary__card.is-pro {
	background: #f1f2f3;
	border-color: rgba(100, 105, 112, 0.18);
}

.tutorhelper-hub-summary__card.is-pro > .dashicons,
.tutorhelper-hub-summary__card.is-coming_soon > .dashicons {
	color: #8c8f94;
}


/* ==========================================================================
   Hub tabs
   ========================================================================== */

.tutorhelper-hub-tabs {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	overflow-x: auto;
	margin: 0 0 22px;
	padding: 0 10px;
	border-bottom: 3px solid var(--tutorhelper-dark);
}

.tutorhelper-hub-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	margin-bottom: -3px;
	padding: 10px 20px;
	background: var(--tutorhelper-cream);
	border: 2px solid transparent;
	border-bottom: 3px solid var(--tutorhelper-dark);
	border-radius: 14px 14px 0 0;
	color: var(--tutorhelper-dark);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.tutorhelper-hub-tabs__tab:hover,
.tutorhelper-hub-tabs__tab:focus {
	background: var(--tutorhelper-sky);
	color: var(--tutorhelper-dark);
}

.tutorhelper-hub-tabs__tab.is-active {
	background: var(--tutorhelper-dark);
	border-color: var(--tutorhelper-dark);
	color: var(--tutorhelper-white);
}

.tutorhelper-hub-tabs__tab.is-active .dashicons {
	color: var(--tutorhelper-white);
}

.tutorhelper-hub-tabs__tab.is-pro,
.tutorhelper-hub-tabs__tab.is-coming_soon {
	background: #e5e7e9;
	color: #646970;
}

.tutorhelper-hub-tabs__tab.is-pro:hover,
.tutorhelper-hub-tabs__tab.is-coming_soon:hover {
	background: #dcdcde;
	color: var(--tutorhelper-dark);
}

.tutorhelper-hub-tabs__tab.is-active.is-pro,
.tutorhelper-hub-tabs__tab.is-active.is-coming_soon {
	background: #646970;
	border-color: #646970;
	color: var(--tutorhelper-white);
}


/* ==========================================================================
   Pro badge and placeholder panels
   ========================================================================== */

.tutorhelper-pro-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 7px;
	background: var(--tutorhelper-orange);
	border-radius: 999px;
	color: var(--tutorhelper-white);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tutorhelper-hub-placeholder {
	max-width: 760px;
	margin: 30px auto;
	padding: 40px;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 20px;
	box-shadow: var(--tutorhelper-shadow);
	text-align: center;
}

.tutorhelper-hub-placeholder > .dashicons {
	width: 58px;
	height: 58px;
	color: var(--tutorhelper-blue);
	font-size: 52px;
	line-height: 58px;
}

.tutorhelper-hub-placeholder h2 {
	margin: 12px 0 8px;
	font-size: 25px;
}

.tutorhelper-hub-placeholder p {
	max-width: 600px;
	margin: 8px auto 18px;
	color: #47626d;
	font-size: 15px;
}

.tutorhelper-hub-placeholder__label {
	display: inline-flex;
	padding: 7px 14px;
	background: var(--tutorhelper-cream);
	border-radius: 999px;
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-hub-placeholder.is-pro {
	background: linear-gradient(
		135deg,
		#f1f2f3,
		var(--tutorhelper-white)
	);
}

.tutorhelper-hub-placeholder.is-pro > .dashicons {
	color: #646970;
}


/* ==========================================================================
   Summary and tab responsiveness
   ========================================================================== */

@media screen and (max-width: 1350px) {
	.tutorhelper-hub-summary {
		grid-template-columns: repeat(3, minmax(170px, 1fr));
	}
}

@media screen and (max-width: 900px) {
	.tutorhelper-hub-summary {
		grid-template-columns: repeat(2, minmax(160px, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.tutorhelper-hub-summary {
		grid-template-columns: 1fr;
	}

	.tutorhelper-hub-tabs {
		padding: 0;
	}

	.tutorhelper-hub-tabs__tab {
		padding: 9px 14px;
	}

	.tutorhelper-hub-placeholder {
		padding: 26px 18px;
	}
}




/* ==========================================================================
   Availability form
   ========================================================================== */

.tutorhelper-availability-form {
	display: grid;
	gap: 16px;
	padding-top: 14px;
}

.tutorhelper-availability-form h3 {
	margin: 0;
}

.tutorhelper-availability-form p,
.tutorhelper-availability-form fieldset {
	margin: 0;
}

.tutorhelper-availability-form label > strong,
.tutorhelper-availability-form legend strong {
	display: block;
	margin-bottom: 6px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-availability-form__dates,
.tutorhelper-availability-form__times {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tutorhelper-availability-form__dates p,
.tutorhelper-availability-form__times p {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tutorhelper-weekday-options,
.tutorhelper-location-options,
.tutorhelper-booking-type-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.tutorhelper-weekday-options label,
.tutorhelper-workday-options label,
.tutorhelper-location-options label,
.tutorhelper-booking-type-options label {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 7px 10px;
	background: var(--tutorhelper-cream);
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 999px;
}

.tutorhelper-weekday-options label span,
.tutorhelper-workday-options label span,
.tutorhelper-location-options label span,
.tutorhelper-booking-type-options label span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tutorhelper-availability-form .description {
	display: block;
	margin-top: 5px;
	color: #646970;
	font-size: 12px;
}


/* ==========================================================================
   Saved Availability rules
   ========================================================================== */

.tutorhelper-saved-availability {
	display: grid;
	gap: 10px;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 2px solid rgba(19, 57, 73, 0.12);
}

.tutorhelper-saved-availability h3 {
	margin: 0;
}

.tutorhelper-saved-availability__rule {
	display: grid;
	gap: 5px;
	padding: 12px;
	background: rgba(243, 231, 221, 0.55);
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 14px;
}

.tutorhelper-saved-availability__rule > span {
	color: #47626d;
	font-size: 12px;
}

.tutorhelper-saved-availability__rule em {
	color: var(--tutorhelper-alert);
	font-size: 12px;
	font-weight: 700;
}

.tutorhelper-saved-availability__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 5px;
}

.tutorhelper-saved-availability__actions form {
	margin: 0;
}


/* ==========================================================================
   Availability calendar links and monthly summaries
   ========================================================================== */

.tutorhelper-availability-block__edit {
	display: block;
	color: inherit;
	text-decoration: none;
}

.tutorhelper-availability-block__edit:hover,
.tutorhelper-availability-block__edit:focus {
	color: inherit;
	text-decoration: underline;
}

.tutorhelper-month-availability {
	display: grid;
	gap: 2px;
	margin-bottom: 5px;
	padding: 5px 7px;
	background: rgba(167, 210, 231, 0.45);
	border-left: 4px solid var(--tutorhelper-orange);
	border-radius: 8px;
	color: var(--tutorhelper-dark);
	font-size: 11px;
	line-height: 1.25;
}

.tutorhelper-month-availability span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tutorhelper-month-availability__more {
	margin: 4px 0 0;
	color: #47626d;
	font-size: 11px;
	font-weight: 700;
}

@media screen and (max-width: 600px) {
	.tutorhelper-availability-form__dates,
	.tutorhelper-availability-form__times,
	.tutorhelper-weekday-options,
	.tutorhelper-location-options,
	.tutorhelper-booking-type-options {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   Permitted Booking Types custom multi-select
   ========================================================================== */

.tutorhelper-booking-type-multiselect {
	position: relative;
	display: grid;
	gap: 7px;
	width: 100%;
	max-width: 100%;
}

.tutorhelper-booking-type-multiselect > label strong {
	display: block;
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-type-multiselect__toggle {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 40px;
	padding: 6px 12px !important;
	background: var(--tutorhelper-white) !important;
	border: 2px solid rgba(19, 57, 73, 0.22) !important;
	border-radius: 10px !important;
	color: var(--tutorhelper-dark) !important;
	font-weight: 700 !important;
	text-align: left;
	box-shadow: none !important;
}

.tutorhelper-booking-type-multiselect__toggle::after {
	content: "▾";
	margin-left: 10px;
	color: var(--tutorhelper-dark);
	font-size: 14px;
}

.tutorhelper-booking-type-multiselect__toggle:hover,
.tutorhelper-booking-type-multiselect__toggle:focus {
	background: var(--tutorhelper-white) !important;
	border-color: var(--tutorhelper-orange) !important;
	color: var(--tutorhelper-dark) !important;
	box-shadow: 0 0 0 3px rgba(255, 99, 38, 0.18) !important;
}

.tutorhelper-booking-type-multiselect__panel {
	position: relative;
	z-index: 20;
	width: 100%;
	margin-top: 2px;
	padding: 12px;
	background: var(--tutorhelper-white);
	border: 2px solid rgba(19, 57, 73, 0.18);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(19, 57, 73, 0.12);
}

.tutorhelper-booking-type-multiselect__panel[hidden] {
	display: none;
}

.tutorhelper-booking-type-multiselect__summary {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(19, 57, 73, 0.12);
}

.tutorhelper-booking-type-multiselect__summary > strong {
	display: block;
	margin-bottom: 6px;
}

.tutorhelper-booking-type-multiselect__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tutorhelper-booking-type-chip {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 4px 8px;
	background: rgba(167, 210, 231, 0.45);
	border-radius: 999px;
	color: var(--tutorhelper-dark);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.tutorhelper-booking-type-chip.is-empty {
	background: rgba(243, 231, 221, 0.7);
}

.tutorhelper-booking-type-multiselect__actions {
	margin-bottom: 10px;
}

.tutorhelper-booking-type-multiselect__options {
	display: grid;
	gap: 4px;
	max-height: 220px;
	overflow-y: auto;
	padding-right: 2px;
}

.tutorhelper-booking-type-option {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 7px 8px;
	border-radius: 8px;
	cursor: pointer;
}

.tutorhelper-booking-type-option:hover {
	background: rgba(167, 210, 231, 0.25);
}

.tutorhelper-booking-type-option.is-selected {
	background: rgba(255, 99, 38, 0.12);
	font-weight: 800;
}

.tutorhelper-booking-type-option input {
	flex: 0 0 auto;
	margin: 0;
}

.tutorhelper-booking-type-option span {
	min-width: 0;
	overflow-wrap: anywhere;
}


/* ==========================================================================
   Availability removal
   ========================================================================== */

.tutorhelper-availability-removal {
	display: grid;
	gap: 14px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 2px solid rgba(179, 45, 46, 0.18);
}

.tutorhelper-availability-removal h3 {
	margin: 0;
	color: var(--tutorhelper-alert);
}

.tutorhelper-availability-removal fieldset {
	display: grid;
	gap: 8px;
}

.tutorhelper-removal-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	background: rgba(243, 231, 221, 0.55);
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 12px;
	cursor: pointer;
}

.tutorhelper-removal-option input {
	margin-top: 3px;
}

.tutorhelper-removal-option span {
	display: grid;
	gap: 3px;
}

.tutorhelper-removal-option small {
	color: #646970;
}

.tutorhelper-removal-option.is-destructive {
	background: rgba(179, 45, 46, 0.06);
	border-color: rgba(179, 45, 46, 0.2);
}

.tutorhelper-removal-range {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 12px;
	background: #fff;
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 12px;
}

.tutorhelper-removal-range[hidden] {
	display: none;
}

.tutorhelper-removal-range p {
	display: grid;
	gap: 5px;
	margin: 0;
}

@media screen and (max-width: 600px) {
	.tutorhelper-removal-range {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Availability edit scope
   ========================================================================== */

.tutorhelper-availability-edit-scope {
	display: grid;
	gap: 8px;
	padding: 12px;
	background: rgba(167, 210, 231, 0.16);
	border: 1px solid rgba(19, 57, 73, 0.14);
	border-radius: 14px;
}

.tutorhelper-availability-edit-scope legend {
	margin-bottom: 4px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-edit-scope-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 12px;
	cursor: pointer;
}

.tutorhelper-edit-scope-option:hover {
	border-color: var(--tutorhelper-orange);
}

.tutorhelper-edit-scope-option input {
	margin-top: 3px;
}

.tutorhelper-edit-scope-option span {
	display: grid;
	gap: 3px;
}

.tutorhelper-edit-scope-option small {
	color: #646970;
}

.tutorhelper-edit-range {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 12px;
	background: #fff;
	border: 1px solid rgba(19, 57, 73, 0.12);
	border-radius: 12px;
}

.tutorhelper-edit-range p {
	display: grid;
	gap: 5px;
	margin: 0;
}

.tutorhelper-edit-range[hidden],
.tutorhelper-recurrence-fields[hidden] {
	display: none;
}

@media screen and (max-width: 600px) {
	.tutorhelper-edit-range {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Booking Type Hub management
   ========================================================================== */

.tutorhelper-booking-type-list-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.tutorhelper-booking-type-list-header h3 {
	margin: 0 0 3px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-type-list-header p {
	margin: 0;
	color: #55717c;
	font-size: 12px;
}

.tutorhelper-booking-type-list-header .button {
	flex: 0 0 auto;
	border-radius: 999px;
	font-weight: 700;
}

.tutorhelper-booking-type-list {
	display: grid;
	gap: 10px;
}

/*
 * jQuery UI Sortable requires a normal vertical document flow.
 * Keep archived lists as grids, but use flexbox for the active
 * drag-and-drop list.
 */
.tutorhelper-booking-type-list.is-sortable {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tutorhelper-booking-type-list.is-sortable
.tutorhelper-booking-type-item {
	width: 100%;
	box-sizing: border-box;
}


.tutorhelper-booking-type-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	background: #fff;
	border: 2px solid rgba(19, 57, 73, 0.12);
	border-radius: 14px;
}

.tutorhelper-booking-type-item.is-selected {
	border-color: var(--tutorhelper-orange);
	box-shadow: 0 0 0 3px rgba(255, 99, 38, 0.12);
}

.tutorhelper-booking-type-item.is-archived {
	opacity: 0.72;
	background: rgba(243, 231, 221, 0.55);
}

.tutorhelper-booking-type-item__colour {
	width: 10px;
	height: 42px;
	flex: 0 0 auto;
	border-radius: 999px;
}

.tutorhelper-booking-type-item__main {
	min-width: 0;
	flex: 1 1 auto;
}

.tutorhelper-booking-type-item__main strong {
	display: block;
	color: var(--tutorhelper-dark);
	overflow-wrap: anywhere;
}

.tutorhelper-booking-type-item__main small {
	display: block;
	margin-top: 2px;
	color: #55717c;
	overflow-wrap: anywhere;
}

.tutorhelper-booking-type-item__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.tutorhelper-booking-type-status-form {
	margin: 0;
}

.tutorhelper-booking-type-item__edit,
.tutorhelper-booking-type-item__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	background: #fff;
	border: 2px solid rgba(19, 57, 73, 0.12);
	border-radius: 999px;
	color: var(--tutorhelper-dark);
	cursor: pointer;
	text-decoration: none;
}

.tutorhelper-booking-type-item__edit:hover,
.tutorhelper-booking-type-item__edit:focus {
	background: rgba(167, 210, 231, 0.38);
	border-color: var(--tutorhelper-blue);
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-type-item__status.is-archive:hover,
.tutorhelper-booking-type-item__status.is-archive:focus {
	background: rgba(255, 99, 38, 0.14);
	border-color: var(--tutorhelper-orange);
	color: var(--tutorhelper-alert);
}

.tutorhelper-booking-type-item__status.is-restore:hover,
.tutorhelper-booking-type-item__status.is-restore:focus {
	background: rgba(167, 210, 231, 0.38);
	border-color: var(--tutorhelper-blue);
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-type-item__edit .dashicons,
.tutorhelper-booking-type-item__status .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
}

.tutorhelper-booking-type-empty {
	display: grid;
	gap: 4px;
	padding: 14px;
	background: rgba(243, 231, 221, 0.55);
	border: 1px dashed rgba(19, 57, 73, 0.2);
	border-radius: 12px;
}

.tutorhelper-booking-type-empty strong {
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-type-empty span {
	color: #55717c;
	font-size: 12px;
}

.tutorhelper-booking-type-archived {
	margin-top: 14px;
}

.tutorhelper-booking-type-archived summary {
	padding: 8px 0;
	color: var(--tutorhelper-dark);
	font-weight: 700;
	cursor: pointer;
}

.tutorhelper-booking-type-archived[open] summary {
	margin-bottom: 8px;
}

.tutorhelper-booking-types-divider {
	margin: 20px 0;
	border: 0;
	border-top: 1px solid rgba(19, 57, 73, 0.15);
}

.tutorhelper-booking-type-form-wrap {
	display: grid;
	gap: 12px;
}

.tutorhelper-booking-type-form__header h2 {
	margin: 0;
	color: var(--tutorhelper-dark);
}

.tutorhelper-booking-type-form__body {
	min-width: 0;
}

.tutorhelper-booking-type-form .form-table {
	margin-top: 0;
}

.tutorhelper-booking-type-form .form-table th {
	width: auto;
	padding: 10px 8px 4px 0;
}

.tutorhelper-booking-type-form .form-table td {
	padding: 4px 0 10px;
}

.tutorhelper-booking-type-form input[type="text"],
.tutorhelper-booking-type-form input[type="number"],
.tutorhelper-booking-type-form input[type="color"],
.tutorhelper-booking-type-form select,
.tutorhelper-booking-type-form textarea {
	width: 100%;
	max-width: 100%;
}

@media screen and (max-width: 782px) {
	.tutorhelper-booking-type-list-header {
		align-items: stretch;
		flex-direction: column;
	}

	.tutorhelper-booking-type-list-header .button {
		align-self: flex-start;
	}
}

/* Booking Type list visibility and sorting. */

.tutorhelper-booking-type-list-header__actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}

.tutorhelper-booking-type-list-toggle {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
}

.tutorhelper-booking-type-list-toggle .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

.tutorhelper-booking-type-existing__content[hidden] {
	display: none;
}

.tutorhelper-booking-type-item__drag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 38px;
	padding: 0;
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: #55717c;
	cursor: grab;
}

.tutorhelper-booking-type-item__drag:hover,
.tutorhelper-booking-type-item__drag:focus {
	background: rgba(167, 210, 231, 0.38);
	color: var(--tutorhelper-dark);
	outline: none;
}

.tutorhelper-booking-type-item__drag:active {
	cursor: grabbing;
}

.tutorhelper-booking-type-item.ui-sortable-helper {
	width: 100% !important;
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0 8px 24px rgba(19, 57, 73, 0.2);
}

.tutorhelper-booking-type-item__drag {
	user-select: none;
	touch-action: none;
}


.tutorhelper-booking-type-item__placeholder {
	min-height: 62px;
	background: rgba(167, 210, 231, 0.22);
	border: 2px dashed var(--tutorhelper-blue);
	border-radius: 14px;
	visibility: visible !important;
}

.tutorhelper-booking-type-order-status {
	min-height: 20px;
	margin: 8px 2px 0;
	color: #55717c;
	font-size: 12px;
}

.tutorhelper-booking-type-order-status.is-saving {
	font-style: italic;
}

.tutorhelper-booking-type-order-status.is-saved {
	color: #287245;
}

.tutorhelper-booking-type-order-status.is-error {
	color: var(--tutorhelper-alert);
	font-weight: 700;
}

@media screen and (max-width: 782px) {
	.tutorhelper-booking-type-list-header__actions {
		justify-content: flex-start;
	}

	.tutorhelper-booking-type-item__drag {
		width: 38px;
	}
}



/* ==========================================================================
   Student Management module
   ========================================================================== */

.tutorhelper-students-workspace {
	display: grid;
	gap: 20px;
}

.tutorhelper-students-workspace__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}


.tutorhelper-students-workspace__header h2 {
	margin: 0 0 4px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-students-workspace__header p {
	margin: 0;
	color: #55717c;
}

.tutorhelper-students-workspace__grid {
	display: grid;
	grid-template-columns:
		minmax(0, 2fr)
		minmax(260px, 1fr);
	align-items: start;
	gap: 20px;
}

.tutorhelper-students-workspace__main,
.tutorhelper-students-workspace__sidebar {
	min-width: 0;
}

.tutorhelper-students-workspace__sidebar {
	display: grid;
	gap: 14px;
}

.tutorhelper-students-panel {
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(19, 57, 73, 0.14);
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(19, 57, 73, 0.06);
}


.tutorhelper-students-empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 48px 24px;
	color: #55717c;
	text-align: center;
}

.tutorhelper-students-empty > .dashicons {
	width: 44px;
	height: 44px;
	color: var(--tutorhelper-blue);
	font-size: 44px;
	line-height: 44px;
}

.tutorhelper-students-empty h3 {
	margin: 4px 0 0;
	color: var(--tutorhelper-dark);
}

.tutorhelper-students-empty p {
	max-width: 520px;
	margin: 0;
}

.tutorhelper-students-pro-feature {
	position: relative;
	display: grid;
	gap: 10px;
	padding: 16px;
	background: #f6f7f7;
	border: 1px dashed #a7aaad;
	border-radius: 14px;
	color: #646970;
	opacity: 0.78;
}

.tutorhelper-students-pro-feature__header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
}

.tutorhelper-students-pro-feature__header > .dashicons {
	color: #787c82;
}

.tutorhelper-students-pro-feature h3 {
	margin: 0;
	color: #50575e;
	font-size: 14px;
}

.tutorhelper-students-pro-feature p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
}

.tutorhelper-students-pro-feature__status {
	font-weight: 700;
}

@media screen and (max-width: 960px) {
	.tutorhelper-students-workspace__grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 600px) {
	.tutorhelper-students-workspace__header,
	.tutorhelper-students-panel__header {
		flex-direction: column;
	}

	.tutorhelper-students-pro-feature__header {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.tutorhelper-students-pro-feature__header
	.tutorhelper-pro-badge {
		grid-column: 2;
		justify-self: start;
	}
}


/* ==========================================================================
   Student Management list
   ========================================================================== */

.tutorhelper-student-search {
	display: grid;
	grid-template-columns:
		minmax(220px, 420px)
		auto
		auto;
	align-items: end;
	justify-content: start;
	gap: 10px;
	padding: 16px 20px;
	background: var(--tutorhelper-cream-light);
	border-bottom: 2px solid var(--tutorhelper-border);
}

.tutorhelper-student-search__field {
	width: 100%;
}

.tutorhelper-student-search .button {
	align-self: end;
	white-space: nowrap;
}

.tutorhelper-student-table-wrap {
	overflow-x: auto;
}

.tutorhelper-student-table {
	border: 0;
	box-shadow: none;
}

.tutorhelper-student-table th {
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-student-table th,
.tutorhelper-student-table td {
	padding: 12px;
	vertical-align: middle;
}

.tutorhelper-student-identity {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 210px;
}

.tutorhelper-student-identity img {
	flex: 0 0 auto;
	border-radius: 50%;
}

.tutorhelper-student-identity > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.tutorhelper-student-identity strong {
	color: var(--tutorhelper-dark);
}

.tutorhelper-student-identity a {
	overflow-wrap: anywhere;
}

.tutorhelper-student-identity small {
	color: #646970;
}

.tutorhelper-student-table td:nth-child(2) {
	min-width: 170px;
}

.tutorhelper-student-table td:nth-child(2) strong,
.tutorhelper-student-table td:nth-child(2) a {
	display: block;
	overflow-wrap: anywhere;
}

.tutorhelper-student-muted {
	color: #787c82;
	font-style: italic;
}

.tutorhelper-student-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.tutorhelper-student-status.is-allowed {
	background: #edfaef;
	color: #1e6b35;
}

.tutorhelper-student-status.is-blocked {
	background: #fce8e8;
	color: #9d2526;
}

.tutorhelper-student-table__actions {
	text-align: right;
	white-space: nowrap;
}

.tutorhelper-student-pagination {
	padding: 16px 20px;
	border-top: 1px solid rgba(19, 57, 73, 0.1);
}

.tutorhelper-student-pagination .page-numbers {
	margin: 0;
}

.tutorhelper-student-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.tutorhelper-student-pagination li {
	margin: 0;
}

@media screen and (max-width: 782px) {
	.tutorhelper-student-search {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.tutorhelper-student-search .button {
		justify-self: start;
	}

	.tutorhelper-student-table,
	.tutorhelper-student-table tbody,
	.tutorhelper-student-table tr,
	.tutorhelper-student-table td {
		display: block;
		width: 100%;
	}

	.tutorhelper-student-table thead {
		display: none;
	}

	.tutorhelper-student-table tr {
		padding: 12px;
		border-bottom: 1px solid rgba(19, 57, 73, 0.12);
	}

	.tutorhelper-student-table td {
		display: grid;
		grid-template-columns: minmax(110px, 35%) 1fr;
		gap: 10px;
		padding: 7px 0;
		border: 0;
		text-align: left;
	}

	.tutorhelper-student-table td::before {
		content: attr(data-label);
		color: var(--tutorhelper-dark);
		font-weight: 700;
	}

	.tutorhelper-student-table__actions {
		display: block !important;
		padding-top: 12px !important;
	}

	.tutorhelper-student-table__actions::before {
		display: none;
	}
}


.tutorhelper-user-search__status {
	min-height: 18px;
	margin: 0;
	color: #55717c;
	font-size: 12px;
}

.tutorhelper-user-search__status.is-error {
	color: var(--tutorhelper-alert);
	font-weight: 700;
}




.tutorhelper-parent-account {
	display: grid;
	gap: 14px;
	margin-top: 18px;
	padding: 15px 16px;
	background: var(--tutorhelper-cream-light);
	border: 2px solid var(--tutorhelper-border);
	border-radius: 14px;
}

.tutorhelper-parent-account__header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

.tutorhelper-parent-account__header > .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: var(--tutorhelper-blue);
	font-size: 22px;
	line-height: 1;
}

.tutorhelper-parent-account__header h4 {
	margin: 0 0 3px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-parent-account__header p {
	display: grid;
	gap: 2px;
	margin: 0;
	color: #55717c;
}

.tutorhelper-parent-account__status {
	display: inline-flex;
	justify-self: start;
	padding: 4px 9px;
	background: rgba(167, 210, 231, 0.32);
	border-radius: 999px;
	color: var(--tutorhelper-dark);
	font-size: 12px;
	font-weight: 700;
}

.tutorhelper-student-address-section {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 2px solid var(--tutorhelper-border);
}




/* ==========================================================================
   Styled Search Dropdowns
   ========================================================================== */

.tutorhelper-user-search {
	display: grid;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.tutorhelper-user-search .tutorhelper-input-field {
	width: 100%;
}

.tutorhelper-user-search__control {
	position: relative;
	width: 100%;
	min-width: 0;
}

.tutorhelper-user-search__input {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	max-width: none;
	padding-right: 42px;
}

/*
 * Join the input and dropdown visually while results are open.
 */
.tutorhelper-user-search__control:has(
	.tutorhelper-user-search__results:not([hidden])
)
.tutorhelper-user-search__input {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

/*
 * Search spinner.
 */
.tutorhelper-user-search__spinner {
	position: absolute;
	z-index: 4;
	top: 50%;
	right: 12px;
	float: none;
	margin: 0;
	transform: translateY(-50%);
	pointer-events: none;
}

.tutorhelper-user-search__spinner.is-active {
	visibility: visible;
}

/*
 * Dropdown panel.
 */
.tutorhelper-user-search__results {
	position: absolute;
	z-index: 100;
	top: calc(100% - 1px);
	left: 0;
	display: block;
	width: 100%;
	max-height: 280px;
	overflow-x: hidden;
	overflow-y: auto;
	margin: 0;
	padding: 8px;
	background: var(--tutorhelper-white);
	border: 2px solid var(--tutorhelper-border-strong);
	border-top-color: var(--tutorhelper-orange);
	border-radius: 0 0 14px 14px;
	box-shadow: 0 12px 26px rgba(19, 57, 73, 0.14);
}

.tutorhelper-user-search__results[hidden] {
	display: none;
}

/*
 * Search-result rows.
 *
 * The strong selectors override WordPress's default button styling.
 */
.tutorhelper-booking-hub
.tutorhelper-user-search__results
button.tutorhelper-user-search__result {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 10px 12px;
	text-align: left;
	white-space: normal;
	background: transparent;
	border: 0;
	border-radius: 9px;
	color: var(--tutorhelper-dark);
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.35;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.tutorhelper-booking-hub
.tutorhelper-user-search__results
button.tutorhelper-user-search__result
+ button.tutorhelper-user-search__result {
	margin-top: 3px;
}

/*
 * Hover and keyboard focus.
 */
.tutorhelper-booking-hub
.tutorhelper-user-search__results
button.tutorhelper-user-search__result:hover,
.tutorhelper-booking-hub
.tutorhelper-user-search__results
button.tutorhelper-user-search__result:focus {
	background: var(--tutorhelper-cream-light);
	color: var(--tutorhelper-dark);
	border: 0;
	outline: none;
	box-shadow: none;
}

.tutorhelper-booking-hub
.tutorhelper-user-search__results
button.tutorhelper-user-search__result:focus-visible {
	outline: 2px solid var(--tutorhelper-orange);
	outline-offset: -2px;
}

/*
 * Text inside each result.
 */
.tutorhelper-user-search__result strong,
.tutorhelper-user-search__result span,
.tutorhelper-user-search__result small {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tutorhelper-user-search__result strong {
	color: var(--tutorhelper-dark);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.tutorhelper-user-search__result span {
	color: #375864;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.tutorhelper-user-search__result small {
	margin-top: 2px;
	color: #6a7f87;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.35;
}

/*
 * Status beneath the dropdown.
 */
.tutorhelper-user-search__status {
	min-height: 18px;
	margin: 0;
	color: #55717c;
	font-size: 12px;
	line-height: 1.4;
}

.tutorhelper-user-search__status:empty {
	display: none;
}

.tutorhelper-user-search__status.is-error {
	color: var(--tutorhelper-alert);
	font-weight: 700;
}

/*
 * Empty or error content inside the dropdown.
 */
.tutorhelper-user-search__message {
	margin: 0;
	padding: 10px 12px;
	color: #55717c;
	font-size: 12px;
	line-height: 1.4;
}

.tutorhelper-user-search__message.is-error {
	color: var(--tutorhelper-alert);
}

/*
 * Search feedback shown beneath the input.
 */
.tutorhelper-user-search__status {
	min-height: 18px;
	margin: 0;
	color: #55717c;
	font-size: 12px;
	line-height: 1.4;
}

.tutorhelper-user-search__status:empty {
	display: none;
}

.tutorhelper-user-search__status.is-error {
	color: var(--tutorhelper-alert);
	font-weight: 700;
}


.tutorhelper-user-search__control:has(
	.tutorhelper-user-search__results:not([hidden])
)
.tutorhelper-user-search__input {
	border-radius: 10px 10px 0 0;
}



/* ==========================================================================
   TutorHelper Settings
   ========================================================================== */

.tutorhelper-settings-section__body {
	padding: 20px;
}

.tutorhelper-settings-form__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 2px solid var(--tutorhelper-border);
}

.tutorhelper-settings-field__description {
	max-width: 720px;
	margin: 4px 0 0;
	color: #55717c;
	font-size: 12px;
	line-height: 1.5;
}




/* ==========================================================================
   Student Management details
   ========================================================================== */

.tutorhelper-students-workspace__grid.is-detail-view {
	grid-template-columns: minmax(0, 1fr);
}

.tutorhelper-student-detail {
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(19, 57, 73, 0.14);
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(19, 57, 73, 0.06);
}

.tutorhelper-student-detail__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 22px;
	background: var(--tutorhelper-dark);
	color: #fff;
}

.tutorhelper-student-detail__identity {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.tutorhelper-student-detail__identity img {
	flex: 0 0 auto;
	border: 3px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
}

.tutorhelper-student-detail__identity h2 {
	margin: 0 0 3px;
	color: #fff;
}

.tutorhelper-student-detail__identity a {
	color: #cfeeff;
	overflow-wrap: anywhere;
}

.tutorhelper-student-detail__header > .button {
	flex: 0 0 auto;
	background: #fff;
	border-color: #fff;
}

.tutorhelper-student-detail__body {
	display: grid;
	gap: 22px;
	padding: 22px;
}

.tutorhelper-student-detail__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.tutorhelper-student-detail__section {
	min-width: 0;
}

.tutorhelper-student-detail__section h3 {
	margin: 0 0 10px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-student-detail__list {
	margin: 0;
}

.tutorhelper-student-detail__row {
	display: grid;
	grid-template-columns: minmax(125px, 34%) minmax(0, 1fr);
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(19, 57, 73, 0.14);
}

.tutorhelper-student-detail__row dt {
	color: var(--tutorhelper-dark);
	font-weight: 700;
}

.tutorhelper-student-detail__row dd {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

.tutorhelper-student-address {
	margin-top: 18px;
}

.tutorhelper-student-address h4 {
	margin: 0 0 8px;
	color: var(--tutorhelper-dark);
	font-size: 14px;
}

.tutorhelper-student-address address {
	display: grid;
	gap: 4px;
	padding: 14px 16px;
	background: var(--tutorhelper-cream);
	border-radius: 14px;
	font-style: normal;
}

.tutorhelper-parent-link-status {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 12px 0 0;
	color: #1e6b35;
	font-size: 12px;
	font-weight: 700;
}

.tutorhelper-parent-link-status.is-unlinked {
	color: #646970;
}

.tutorhelper-student-booking-access {
	display: grid;
	gap: 14px;
	padding-top: 20px;
	border-top: 2px solid rgba(19, 57, 73, 0.12);
}

.tutorhelper-student-booking-access__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.tutorhelper-student-booking-access__header h3 {
	margin: 0 0 4px;
	color: var(--tutorhelper-dark);
}

.tutorhelper-student-booking-access__header p {
	margin: 0;
	color: #55717c;
}

.tutorhelper-student-booking-access__message {
	padding: 14px 16px;
	background: #fce8e8;
	border-left: 4px solid var(--tutorhelper-alert);
	border-radius: 10px;
}

.tutorhelper-student-booking-access__message p {
	margin: 5px 0 0;
}

.tutorhelper-student-detail__pro-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding-top: 20px;
	border-top: 2px solid rgba(19, 57, 73, 0.12);
}

@media screen and (max-width: 900px) {
	.tutorhelper-student-detail__columns,
	.tutorhelper-student-detail__pro-grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 600px) {
	.tutorhelper-student-detail__header,
	.tutorhelper-student-booking-access__header {
		align-items: stretch;
		flex-direction: column;
	}

	.tutorhelper-student-detail__header > .button {
		align-self: flex-start;
	}

	.tutorhelper-student-detail__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.tutorhelper-student-detail__body {
		padding: 16px;
	}
}


.tutorhelper-student-detail__header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.tutorhelper-student-detail__header-actions
.tutorhelper-booking-hub__view-switcher {
	flex: 0 0 auto;
}

.tutorhelper-student-edit-form {
	display: grid;
	gap: 22px;
}

.tutorhelper-student-edit-form__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 18px;
	border-top: 2px solid var(--tutorhelper-border);
}

.tutorhelper-action-button .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
}

@media screen and (max-width: 700px) {
	.tutorhelper-student-detail__header-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tutorhelper-student-detail__header-actions
	.tutorhelper-booking-hub__view-switcher {
		align-self: flex-start;
	}

	.tutorhelper-student-detail__header-actions
	.tutorhelper-hub-pill-button {
		align-self: flex-start;
	}
}

.tutorhelper-availability-planner {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.tutorhelper-availability-planner__toolbar {
	align-items: center;
}

.tutorhelper-availability-planner__heading {
	flex: 1 1 auto;
	min-width: 240px;
}

.tutorhelper-availability-planner__heading h2 {
	margin: 0 0 6px;
}

.tutorhelper-availability-planner__heading p {
	max-width: 760px;
	margin: 0;
	color: #50575e;
}

.tutorhelper-availability-planner__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tutorhelper-availability-planner__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}




.tutorhelper-availability-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
}

.tutorhelper-availability-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}


.tutorhelper-year-calendar {
	display: grid;
	grid-template-columns: repeat(4, minmax(250px, 1fr));
	gap: 20px;
}

.tutorhelper-year-calendar__month {
	min-width: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tutorhelper-year-calendar__month-title {
	margin: 0 0 14px;
	text-align: center;
}

.tutorhelper-year-calendar__weekdays,
.tutorhelper-year-calendar__days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.tutorhelper-year-calendar__weekdays {
	margin-bottom: 4px;
	color: #646970;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.tutorhelper-year-calendar__blank {
	aspect-ratio: 1;
}


.tutorhelper-year-calendar__day {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	aspect-ratio: 1;
	min-width: 0;
	padding: 5px;
	overflow: hidden;
	background: #f6f7f7;
	border: 1px solid transparent;
	border-radius: 6px;
	color: #1d2327;
	font-size: 12px;
	cursor: default;
}

.tutorhelper-year-calendar__day:disabled {
	color: #1d2327;
	opacity: 1;
}

.tutorhelper-year-calendar__day.has-calendar-data {
	background: #fff;
	border-color: #c3c4c7;
}

.tutorhelper-year-calendar__day.is-today {
	border-color: #2271b1;
	box-shadow: inset 0 0 0 1px #2271b1;
}

.tutorhelper-year-calendar__day-number {
	position: relative;
	z-index: 2;
	font-weight: 600;
}


.tutorhelper-calendar-marker {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	background: #f0f0f1;
}

.tutorhelper-year-calendar__day .tutorhelper-calendar-marker {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 5px;
	opacity: 0.55;
}


.tutorhelper-calendar-marker.has-general_availability {
	background: #72c98b;
}

.tutorhelper-calendar-marker.has-outside_term_time {
	background: #f3d66b;
}

.tutorhelper-calendar-marker.has-tutor_leave {
	background: #a7aaad;
}

.tutorhelper-calendar-marker.has-public_holiday {
	background: #f6a45c;
}

.tutorhelper-calendar-marker.has-general_availability.has-outside_term_time {
	background:
		linear-gradient(
			135deg,
			#72c98b 0%,
			#72c98b 50%,
			#f3d66b 50%,
			#f3d66b 100%
		);
}

.tutorhelper-calendar-marker.has-general_availability.has-tutor_leave {
	background:
		linear-gradient(
			135deg,
			#72c98b 0%,
			#72c98b 50%,
			#a7aaad 50%,
			#a7aaad 100%
		);
}

.tutorhelper-calendar-marker.has-general_availability.has-public_holiday {
	background:
		linear-gradient(
			135deg,
			#72c98b 0%,
			#72c98b 50%,
			#f6a45c 50%,
			#f6a45c 100%
		);
}

.tutorhelper-calendar-marker.has-outside_term_time.has-tutor_leave {
	background:
		linear-gradient(
			135deg,
			#f3d66b 0%,
			#f3d66b 50%,
			#a7aaad 50%,
			#a7aaad 100%
		);
}

.tutorhelper-calendar-marker.has-outside_term_time.has-public_holiday {
	background:
		linear-gradient(
			135deg,
			#f3d66b 0%,
			#f3d66b 50%,
			#f6a45c 50%,
			#f6a45c 100%
		);
}

.tutorhelper-calendar-marker.has-tutor_leave.has-public_holiday {
	background:
		linear-gradient(
			135deg,
			#a7aaad 0%,
			#a7aaad 50%,
			#f6a45c 50%,
			#f6a45c 100%
		);
}

.tutorhelper-calendar-marker.has-general_availability.has-outside_term_time.has-tutor_leave {
	background:
		linear-gradient(
			to right,
			#72c98b 0%,
			#72c98b 33.333%,
			#f3d66b 33.333%,
			#f3d66b 66.666%,
			#a7aaad 66.666%,
			#a7aaad 100%
		);
}

.tutorhelper-calendar-marker.has-general_availability.has-outside_term_time.has-public_holiday {
	background:
		linear-gradient(
			to right,
			#72c98b 0%,
			#72c98b 33.333%,
			#f3d66b 33.333%,
			#f3d66b 66.666%,
			#f6a45c 66.666%,
			#f6a45c 100%
		);
}

.tutorhelper-calendar-marker.has-general_availability.has-tutor_leave.has-public_holiday {
	background:
		linear-gradient(
			to right,
			#72c98b 0%,
			#72c98b 33.333%,
			#a7aaad 33.333%,
			#a7aaad 66.666%,
			#f6a45c 66.666%,
			#f6a45c 100%
		);
}

.tutorhelper-calendar-marker.has-outside_term_time.has-tutor_leave.has-public_holiday {
	background:
		linear-gradient(
			to right,
			#f3d66b 0%,
			#f3d66b 33.333%,
			#a7aaad 33.333%,
			#a7aaad 66.666%,
			#f6a45c 66.666%,
			#f6a45c 100%
		);
}

.tutorhelper-calendar-marker.has-general_availability.has-outside_term_time.has-tutor_leave.has-public_holiday {
	background:
		linear-gradient(
			to right,
			#72c98b 0%,
			#72c98b 25%,
			#f3d66b 25%,
			#f3d66b 50%,
			#a7aaad 50%,
			#a7aaad 75%,
			#f6a45c 75%,
			#f6a45c 100%
		);
}



@media screen and (max-width: 1200px) {
	.tutorhelper-year-calendar {
		grid-template-columns: repeat(2, minmax(250px, 1fr));
	}
}

@media screen and (max-width: 782px) {
	.tutorhelper-availability-planner__toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.tutorhelper-availability-planner__actions {
		align-items: flex-start;
	}

	.tutorhelper-availability-planner__coming-soon {
		max-width: none;
		text-align: left;
	}

	.tutorhelper-year-calendar {
		grid-template-columns: 1fr;
	}

	.tutorhelper-year-calendar__month {
		padding: 12px;
	}
}


.tutorhelper-range-selection {
	padding: 20px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #2271b1;
	border-radius: 10px;
}

.tutorhelper-range-selection[hidden] {
	display: none;
}

.tutorhelper-range-selection__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.tutorhelper-range-selection__heading h3 {
	margin: 0 0 6px;
}

.tutorhelper-range-selection__heading p {
	margin: 0;
	color: #50575e;
}

.tutorhelper-range-selection__types {
	display: grid;
	grid-template-columns: repeat(4, minmax(180px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

.tutorhelper-range-selection__types legend {
	grid-column: 1 / -1;
	margin-bottom: 8px;
	font-weight: 600;
}

.tutorhelper-range-type {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	cursor: pointer;
}

.tutorhelper-range-type:hover {
	border-color: #8c8f94;
}

.tutorhelper-range-type:has(input:checked) {
	background: #fff;
	border-color: #2271b1;
	box-shadow: inset 0 0 0 1px #2271b1;
}

.tutorhelper-range-type input {
	margin-top: 3px;
}

.tutorhelper-range-type .tutorhelper-calendar-marker {
	flex: 0 0 18px;
	margin-top: 1px;
}

.tutorhelper-range-type__content {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tutorhelper-range-type__content span {
	color: #646970;
	font-size: 12px;
}

.tutorhelper-range-selection__summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(140px, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.tutorhelper-range-selection__summary > div {
	padding: 12px;
	background: #f6f7f7;
	border-radius: 8px;
}

.tutorhelper-range-selection__label {
	display: block;
	margin-bottom: 4px;
	color: #646970;
	font-size: 12px;
}

.tutorhelper-range-selection__buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
}


@media screen and (max-width: 1200px) {
	.tutorhelper-range-selection__types {
		grid-template-columns: repeat(2, minmax(180px, 1fr));
	}
}

@media screen and (max-width: 782px) {
	.tutorhelper-range-selection__types,
	.tutorhelper-range-selection__summary {
		grid-template-columns: 1fr;
	}

	.tutorhelper-range-selection__heading {
		flex-direction: column;
	}

	.tutorhelper-range-selection__buttons {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}


.tutorhelper-year-calendar__day:not(:disabled) {
	cursor: pointer;
}

.tutorhelper-year-calendar__day:not(:disabled):hover {
	border-color: #2271b1;
}

.tutorhelper-year-calendar__day:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.tutorhelper-year-calendar__day.is-in-selected-range::after {
	position: absolute;
	inset: 2px;
	z-index: 3;
	border: 2px solid rgba(34, 113, 177, 0.65);
	border-radius: 5px;
	content: "";
	pointer-events: none;
}

.tutorhelper-year-calendar__day.is-range-start,
.tutorhelper-year-calendar__day.is-range-end {
	box-shadow:
		inset 0 0 0 2px #135e96,
		0 0 0 1px #fff;
}

.tutorhelper-year-calendar__day.is-preview-general_availability {
	background: #bce8c8;
}

.tutorhelper-year-calendar__day.is-preview-outside_term_time {
	background: #faedb6;
}

.tutorhelper-year-calendar__day.is-preview-tutor_leave {
	background: #dcdcde;
}

.tutorhelper-year-calendar__day.is-preview-public_holiday {
	background: #fbd2ad;
}


.tutorhelper-working-day-fields {
	margin-top: 20px;
	padding: 18px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.tutorhelper-working-day-fields[hidden] {
	display: none;
}

.tutorhelper-working-day-fields h4 {
	margin: 0 0 6px;
}

.tutorhelper-working-day-fields__times {
	display: grid;
	grid-template-columns: repeat(6, minmax(180px, 1fr));
	gap: 16px;
}

.tutorhelper-working-day-fields__times input,
.tutorhelper-working-day-fields select {
	width: 100%;
}

.tutorhelper-working-day-fields fieldset {
	margin: 18px 0;
	padding: 0;
	border: 0;
}

.tutorhelper-workday-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.tutorhelper-working-day-booking-types {
	display: grid;
	grid-template-columns: repeat(6, minmax(180px, 1fr));
	gap: 8px 16px;
	margin-top: 10px;
}

@media screen and (max-width: 782px) {
	.tutorhelper-working-day-fields__times,
	.tutorhelper-working-day-booking-types {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Tutor booking condition checks
   ========================================================================== */

.tutorhelper-booking-conditions__status {
	min-height: 20px;
	margin: 4px 0 10px;
	color: var(--tutorhelper-dark);
	font-style: italic;
}

.tutorhelper-booking-conditions__status:empty {
	display: none;
}

.tutorhelper-booking-conditions__status.is-checking::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 7px;
	border: 2px solid rgba(19, 57, 73, 0.22);
	border-top-color: var(--tutorhelper-blue);
	border-radius: 50%;
	vertical-align: -2px;
	animation: tutorhelper-booking-check-spin 0.75s linear infinite;
}

.tutorhelper-booking-conditions__status.is-error {
	color: var(--tutorhelper-alert);
	font-style: normal;
	font-weight: 600;
}

.tutorhelper-booking-conditions {
	margin: 18px 0;
	padding: 18px 20px;
	border: 2px solid var(--tutorhelper-border-strong);
	border-radius: 14px;
	background: var(--tutorhelper-white);
}

.tutorhelper-booking-conditions[hidden] {
	display: none;
}

.tutorhelper-booking-conditions__header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.tutorhelper-booking-conditions__header > .dashicons {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	font-size: 24px;
	line-height: 24px;
}

.tutorhelper-booking-conditions__header h3 {
	margin: 0 0 4px;
	font-size: 16px;
}

.tutorhelper-booking-conditions__summary {
	margin: 0;
}

.tutorhelper-booking-conditions__list {
	display: grid;
	gap: 8px;
	margin: 14px 0 0 36px;
	padding: 0;
	list-style: none;
}

.tutorhelper-booking-conditions__list[hidden] {
	display: none;
}

.tutorhelper-booking-conditions__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
}

.tutorhelper-booking-conditions__item .dashicons {
	flex: 0 0 auto;
	margin-top: 1px;
}

.tutorhelper-booking-conditions.is-clear {
	border-color: var(--tutorhelper-success);
	background: rgba(47, 125, 74, 0.08);
}

.tutorhelper-booking-conditions.is-clear
	.tutorhelper-booking-conditions__header > .dashicons {
	color: var(--tutorhelper-success);
}

.tutorhelper-booking-conditions.has-warnings {
	border-color: var(--tutorhelper-orange);
	background: rgba(255, 99, 38, 0.08);
}

.tutorhelper-booking-conditions.has-warnings
	.tutorhelper-booking-conditions__header > .dashicons,
.tutorhelper-booking-conditions__item.is-warning
	.dashicons {
	color: var(--tutorhelper-orange-dark);
}

.tutorhelper-booking-conditions.has-blocking-conditions {
	border-color: var(--tutorhelper-alert);
	background: rgba(179, 45, 46, 0.08);
}

.tutorhelper-booking-conditions.has-blocking-conditions
	.tutorhelper-booking-conditions__header > .dashicons,
.tutorhelper-booking-conditions__item.is-blocking
	.dashicons {
	color: var(--tutorhelper-alert);
}

@keyframes tutorhelper-booking-check-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tutorhelper-booking-conditions__status.is-checking::before {
		animation: none;
	}
}


.tutorhelper-email-settings {
	max-width: 1000px;
}

.tutorhelper-email-settings__header {
	margin-bottom: 20px;
}

.tutorhelper-email-settings__header h2 {
	margin-bottom: 6px;
}

.tutorhelper-email-settings__header p {
	margin: 0;
	color: #646970;
}

.tutorhelper-email-settings__templates {
	display: grid;
	gap: 20px;
}

.tutorhelper-email-template {
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tutorhelper-email-template__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f1;
}

.tutorhelper-email-template__header h3 {
	margin: 0 0 5px;
	font-size: 1.1rem;
}

.tutorhelper-email-template__header p {
	margin: 0;
	color: #646970;
}

.tutorhelper-email-template__recipient {
	flex: 0 0 auto;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f0f0f1;
	color: #50575e;
	font-size: 12px;
	font-weight: 600;
}

.tutorhelper-email-template__form {
	display: grid;
	gap: 18px;
	margin-top: 18px;
}

.tutorhelper-email-template__enabled {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.tutorhelper-email-template__field {
	display: grid;
	gap: 6px;
}

.tutorhelper-email-template__field > label {
	font-weight: 600;
}

.tutorhelper-email-template__field textarea {
	min-height: 220px;
	resize: vertical;
}

.tutorhelper-email-template__placeholders {
	padding: 12px 14px;
	border-radius: 8px;
	background: #f6f7f7;
}

.tutorhelper-email-template__placeholder-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.tutorhelper-email-template__placeholder-list code {
	padding: 3px 6px;
	border-radius: 4px;
	background: #ffffff;
}

.tutorhelper-email-template__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tutorhelper-email-template__restore-form {
	margin-top: 10px;
}

@media screen and (max-width: 782px) {
	.tutorhelper-email-template__header {
		display: grid;
	}

	.tutorhelper-email-template__recipient {
		justify-self: start;
	}
}


/* ==========================================================================
   TutorHelper information pages
   ========================================================================== */

.tutorhelper-information-page__body {
	padding: 20px;
}

.tutorhelper-information-page__body > :first-child {
	margin-top: 0;
}

.tutorhelper-information-page__body > :last-child {
	margin-bottom: 0;
}

.tutorhelper-information-page__body h3 {
	margin-top: 24px;
	margin-bottom: 8px;
}

.tutorhelper-information-page__body ul,
.tutorhelper-information-page__body ol {
	margin-left: 22px;
}

.tutorhelper-information-page__body li {
	margin-bottom: 8px;
}

.tutorhelper-information-page__body code {
	display: inline-block;
	margin-bottom: 4px;
	padding: 3px 7px;
	border-radius: 5px;
	background: var(--tutorhelper-cream-light);
	color: var(--tutorhelper-dark);
}


.tutorhelper-information-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 18px 0 24px;
}

.tutorhelper-information-card {
	padding: 18px;
	border: 2px solid var(--tutorhelper-border);
	border-radius: 14px;
	background: var(--tutorhelper-cream-light);
}

.tutorhelper-information-card > .dashicons {
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	color: var(--tutorhelper-orange);
	font-size: 32px;
}

.tutorhelper-information-card h4 {
	margin: 0 0 8px;
	color: var(--tutorhelper-dark);
	font-size: 16px;
}

.tutorhelper-information-card p {
	margin: 0;
}

.tutorhelper-information-checklist {
	display: grid;
	gap: 6px;
}

.tutorhelper-information-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 16px 0 6px;
}

.tutorhelper-help-steps {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.tutorhelper-help-step {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	padding: 16px;
	border: 2px solid var(--tutorhelper-border);
	border-radius: 14px;
}

.tutorhelper-help-step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tutorhelper-orange);
	color: var(--tutorhelper-white);
	font-size: 18px;
	font-weight: 800;
}

.tutorhelper-help-step h3 {
	margin: 0 0 5px;
}

.tutorhelper-help-step p {
	margin: 0;
}

.tutorhelper-shortcode-help {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 14px 0 24px;
}

.tutorhelper-shortcode-help > div {
	padding: 16px;
	border: 2px solid var(--tutorhelper-border);
	border-radius: 14px;
}

.tutorhelper-shortcode-help h4 {
	margin: 0 0 8px;
}

.tutorhelper-workflow {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.tutorhelper-workflow > div {
	padding: 14px 16px;
	border-left: 4px solid var(--tutorhelper-orange);
	background: var(--tutorhelper-cream-light);
}

.tutorhelper-workflow p {
	margin: 5px 0 0;
}

@media screen and (max-width: 900px) {
	.tutorhelper-information-grid,
	.tutorhelper-shortcode-help {
		grid-template-columns: 1fr;
	}
}


.tutorhelper-hub-summary a.tutorhelper-hub-summary__card {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
}

.tutorhelper-hub-summary a.tutorhelper-hub-summary__card:hover,
.tutorhelper-hub-summary a.tutorhelper-hub-summary__card:focus {
	transform: translateY(-2px);
}

.tutorhelper-hub-summary a.tutorhelper-hub-summary__card:focus-visible {
	outline: 3px solid #ff6326;
	outline-offset: 3px;
}


.tutorhelper-hub-summary
a.tutorhelper-hub-summary__card,
.tutorhelper-hub-summary
a.tutorhelper-hub-summary__card *,
.tutorhelper-hub-summary
a.tutorhelper-hub-summary__card:hover,
.tutorhelper-hub-summary
a.tutorhelper-hub-summary__card:hover *,
.tutorhelper-hub-summary
a.tutorhelper-hub-summary__card:focus,
.tutorhelper-hub-summary
a.tutorhelper-hub-summary__card:focus * {
	text-decoration: none !important;
}



