.tlsc-booking-widget {
	margin-top: 24px;
}

.tlsc-panel {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tlsc-field {
	margin-bottom: 14px;
}

.tlsc-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.tlsc-field select,
.tlsc-field textarea {
	width: 100%;
	max-width: 100%;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	padding: 10px 12px;
	background: #fff;
}

.tlsc-calendar {
	margin: 14px 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}

.tlsc-calendar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px;
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
}

.tlsc-calendar-head button {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #fff;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

.tlsc-month-title {
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.tlsc-weekdays,
.tlsc-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	padding: 8px;
}

.tlsc-weekdays {
	background: #fff;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	padding-bottom: 0;
}

.tlsc-day,
.tlsc-empty-day {
	min-height: 38px;
	border-radius: 9px;
}

.tlsc-day {
	border: 1px solid transparent;
	background: #f8fafc;
	cursor: pointer;
	font-weight: 600;
	color: #111827;
}

.tlsc-day:hover:not(:disabled),
.tlsc-day.is-selected {
	border-color: currentColor;
	background: #eef2ff;
}

.tlsc-day:disabled,
.tlsc-day.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}


.tlsc-calendar.is-loading-availability .tlsc-month-title::after {
	content: ' ...';
	font-weight: 400;
	color: #64748b;
}

.tlsc-day.is-available {
	background: #ecfdf5;
	border-color: #bbf7d0;
	color: #065f46;
}

.tlsc-day.is-available:hover:not(:disabled),
.tlsc-day.is-available.is-selected {
	background: #d1fae5;
	border-color: #10b981;
}

.tlsc-day.is-unavailable,
.tlsc-day.is-loading {
	background: #f1f5f9;
	color: #94a3b8;
	opacity: 0.55;
}

.tlsc-selected-date {
	font-weight: 700;
	margin-bottom: 8px;
}

.tlsc-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	min-height: 38px;
}

.tlsc-slot {
	border: 1px solid #d1d5db;
	background: #fff;
	border-radius: 999px;
	padding: 8px 12px;
	cursor: pointer;
	font-weight: 600;
}

.tlsc-slot:hover,
.tlsc-slot.is-selected {
	border-color: currentColor;
	background: #eef2ff;
}

.tlsc-submit[disabled] {
	opacity: 0.65;
	cursor: not-allowed;
}

.tlsc-notice,
.tlsc-small-message {
	padding: 12px 14px;
	border-radius: 10px;
	margin: 10px 0;
	line-height: 1.6;
}

.tlsc-notice-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.tlsc-notice-warning,
.tlsc-warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.tlsc-notice-error,
.tlsc-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.tlsc-success-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.tlsc-my-bookings {
	overflow-x: auto;
}

.tlsc-my-bookings table {
	width: 100%;
	border-collapse: collapse;
}

.tlsc-my-bookings th,
.tlsc-my-bookings td {
	padding: 10px;
	border-bottom: 1px solid #e5e7eb;
	text-align: start;
}

@media (max-width: 600px) {
	.tlsc-panel {
		padding: 12px;
	}

	.tlsc-weekdays,
	.tlsc-days {
		gap: 3px;
		padding: 6px;
	}

	.tlsc-day,
	.tlsc-empty-day {
		min-height: 34px;
		font-size: 13px;
	}

	.tlsc-slots {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tlsc-slot {
		width: 100%;
		border-radius: 10px;
	}
}

html[dir="rtl"] .tlsc-calendar-head {
	direction: rtl;
}


.tlsc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tlsc-inline-form {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
	margin: 2px 0;
}

.tlsc-inline-form input[type="date"],
.tlsc-inline-form select,
.tlsc-inline-form input[type="text"] {
	min-height: 36px;
	border-radius: 8px;
}

.tlsc-reschedule-form {
	display: grid;
	gap: 8px;
	min-width: 220px;
}

.tlsc-reschedule-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	min-height: 28px;
}

.tlsc-reschedule-date {
	max-width: 180px;
}

.tlsc-my-bookings .button,
.tlsc-booking-widget .button {
	white-space: nowrap;
}

.tlsc-settings-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	margin: 0 0 16px;
	background: #fff;
}

.tlsc-settings-card h3 {
	margin-top: 0;
}

.tlsc-time-grid,
.tlsc-checkbox-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
}

.tlsc-exceptions-help {
	color: #64748b;
	font-size: 13px;
	line-height: 1.6;
}

@media (max-width: 782px) {
	.tlsc-my-bookings table,
	.tlsc-my-bookings thead,
	.tlsc-my-bookings tbody,
	.tlsc-my-bookings th,
	.tlsc-my-bookings td,
	.tlsc-my-bookings tr {
		display: block;
	}

	.tlsc-my-bookings thead {
		display: none;
	}

	.tlsc-my-bookings tr {
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		margin-bottom: 12px;
		padding: 8px;
	}

	.tlsc-my-bookings td {
		border-bottom: 0;
		padding: 6px 8px;
	}

	.tlsc-my-bookings td::before {
		content: attr(data-label);
		display: block;
		font-weight: 700;
		margin-bottom: 2px;
	}
}



.tlsc-quick-exception {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tlsc-quick-exception input,
.tlsc-quick-exception select {
	min-height: 36px;
	border-radius: 8px;
}

.tlsc-student-details {
	margin-top: 8px;
}

.tlsc-student-details > summary {
	cursor: pointer;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #fff;
}

.tlsc-student-card {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #f8fafc;
	min-width: 240px;
	max-width: 360px;
}

.tlsc-student-card-head {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
}

.tlsc-student-card-head img {
	border-radius: 999px;
}

.tlsc-student-card-head small {
	display: block;
	color: #64748b;
}

.tlsc-student-card dl {
	display: grid;
	grid-template-columns: minmax(90px, auto) 1fr;
	gap: 6px 10px;
	margin: 0;
}

.tlsc-student-card dt {
	font-weight: 700;
	color: #334155;
}

.tlsc-student-card dd {
	margin: 0;
	word-break: break-word;
}

.tlsc-actions form.tlsc-inline-form {
	margin: 0;
}

@media (max-width: 782px) {
	.tlsc-student-card {
		max-width: none;
		min-width: 0;
	}

	.tlsc-student-card dl {
		grid-template-columns: 1fr;
	}
}


.tlsc-booking-meet-form {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #e5e7eb;
	display: grid;
	gap: 7px;
	min-width: 220px;
}

.tlsc-booking-meet-form label {
	display: grid;
	gap: 4px;
	font-size: 12px;
}

.tlsc-booking-meet-form input[type="url"] {
	width: 100%;
	max-width: 280px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 7px 9px;
}

.tlsc-booking-meet-form button {
	width: fit-content;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	padding: 6px 10px;
	cursor: pointer;
}

.tlsc-mini-check {
	display: inline-flex !important;
	grid-template-columns: none !important;
	align-items: center;
	gap: 6px !important;
}


/* Tutor LMS Consultation Booking - Premium dashboard table UI */
.tlsc-dashboard-bookings,
.tlsc-dashboard-settings {
	direction: rtl;
}

.tlsc-dashboard-bookings > h2,
.tlsc-dashboard-settings > h2 {
	margin: 0 0 18px;
	color: #13294b;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.3;
}

.tlsc-bookings-ui {
	--tlsc-primary: #3b0757;
	--tlsc-primary-2: #7c3aed;
	--tlsc-border: #e6eaf0;
	--tlsc-muted: #64748b;
	--tlsc-text: #14213d;
	--tlsc-soft: #f8fafc;
	--tlsc-success-bg: #eafaf1;
	--tlsc-success: #157a3f;
	--tlsc-warning-bg: #fff7e6;
	--tlsc-warning: #a16207;
	--tlsc-danger-bg: #fff1f2;
	--tlsc-danger: #b42318;
	color: var(--tlsc-text);
}

.tlsc-empty-state {
	border: 1px solid var(--tlsc-border, #e6eaf0);
	border-radius: 18px;
	background: #fff;
	padding: 38px 20px;
	text-align: center;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.tlsc-empty-state h3 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: #13294b;
}

.tlsc-empty-state p {
	margin: 0;
	color: #64748b;
}

.tlsc-table-card {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--tlsc-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.tlsc-bookings-table {
	width: 100%;
	min-width: 1120px;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	table-layout: fixed;
	margin: 0 !important;
	background: #fff;
}

.tlsc-bookings-table .tlsc-col-course { width: 15%; }
.tlsc-bookings-table .tlsc-col-person { width: 17%; }
.tlsc-bookings-table .tlsc-col-date { width: 16%; }
.tlsc-bookings-table .tlsc-col-status { width: 10%; }
.tlsc-bookings-table .tlsc-col-links { width: 27%; }
.tlsc-bookings-table .tlsc-col-actions { width: 15%; }

.tlsc-bookings-table thead th {
	background: #f8fafc;
	color: #0f172a;
	font-size: 14px;
	font-weight: 800;
	padding: 18px 16px;
	border: 0 !important;
	border-bottom: 1px solid var(--tlsc-border) !important;
	text-align: right;
	white-space: nowrap;
}

.tlsc-bookings-table tbody td {
	padding: 18px 16px;
	border: 0 !important;
	border-bottom: 1px solid #eef2f7 !important;
	vertical-align: top;
	text-align: right;
	background: #fff;
}

.tlsc-bookings-table tbody tr:last-child td {
	border-bottom: 0 !important;
}

.tlsc-bookings-table tbody tr:hover td {
	background: #fcfcff;
}

.tlsc-course-cell strong,
.tlsc-person-name,
.tlsc-date-cell span {
	display: block;
	color: #13294b;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.tlsc-person-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.tlsc-date-cell {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
}

.tlsc-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid transparent;
}

.tlsc-status-confirmed {
	background: var(--tlsc-success-bg);
	color: var(--tlsc-success);
	border-color: #b7efcc;
}

.tlsc-status-pending {
	background: var(--tlsc-warning-bg);
	color: var(--tlsc-warning);
	border-color: #fde3a7;
}

.tlsc-status-cancelled,
.tlsc-status-canceled {
	background: var(--tlsc-danger-bg);
	color: var(--tlsc-danger);
	border-color: #ffcdd2;
}

.tlsc-links-cell {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tlsc-link-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tlsc-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #eef2ff;
	color: #4f46e5 !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
	border: 1px solid #dbe2ff;
}

.tlsc-chip-meet {
	background: #ecfdf5;
	color: #057a55 !important;
	border-color: #bbf7d0;
}

.tlsc-muted {
	color: var(--tlsc-muted);
	font-size: 13px;
	line-height: 1.6;
}

.tlsc-meet-card,
.tlsc-booking-meet-form.tlsc-meet-card {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--tlsc-border);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.tlsc-meet-label,
.tlsc-booking-meet-form .tlsc-meet-label {
	display: block;
	margin: 0 0 8px;
	color: #334155;
	font-size: 13px;
	font-weight: 800;
}

.tlsc-meet-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.tlsc-booking-meet-form input[type="url"],
.tlsc-meet-row input[type="url"] {
	width: 100% !important;
	max-width: none !important;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	background: #fff;
	color: #111827;
	font-size: 14px;
	box-sizing: border-box;
	direction: ltr;
	text-align: left;
}

.tlsc-booking-meet-form input[type="url"]:focus,
.tlsc-meet-row input[type="url"]:focus {
	outline: 0;
	border-color: var(--tlsc-primary-2);
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.tlsc-mini-check,
.tlsc-booking-meet-form .tlsc-mini-check {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 8px !important;
	margin: 10px 0 0;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
}

.tlsc-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.tlsc-actions .tlsc-inline-form {
	display: block;
	margin: 0;
}

.tlsc-btn,
.tlsc-booking-meet-form button.tlsc-btn,
.tlsc-actions button.tlsc-btn,
.tlsc-actions a.tlsc-btn,
.tlsc-reschedule-details > summary.tlsc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 42px;
	padding: 10px 14px;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	text-decoration: none !important;
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	box-sizing: border-box;
	white-space: nowrap;
}

.tlsc-actions .tlsc-btn,
.tlsc-actions form,
.tlsc-actions form .tlsc-btn {
	width: 100%;
}

.tlsc-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.tlsc-btn-primary,
.tlsc-booking-meet-form button.tlsc-btn-primary {
	background: var(--tlsc-primary-2) !important;
	color: #fff !important;
}

.tlsc-btn-dark {
	background: var(--tlsc-primary) !important;
	color: #fff !important;
}

.tlsc-btn-light {
	background: #f3f4f6 !important;
	color: #111827 !important;
	border: 1px solid #e5e7eb !important;
}

.tlsc-btn-danger {
	background: var(--tlsc-danger-bg) !important;
	color: var(--tlsc-danger) !important;
	border: 1px solid #fecdd3 !important;
}

.tlsc-reschedule-details {
	margin: 0;
}

.tlsc-reschedule-details > summary {
	list-style: none;
}

.tlsc-reschedule-details > summary::-webkit-details-marker {
	display: none;
}

.tlsc-reschedule-form {
	margin-top: 10px;
	padding: 12px;
	border: 1px solid var(--tlsc-border);
	border-radius: 14px;
	background: #f8fafc;
	display: grid;
	gap: 10px;
	min-width: 0;
}

.tlsc-reschedule-date {
	width: 100%;
	max-width: none;
	min-height: 40px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	padding: 8px 10px;
	background: #fff;
}

.tlsc-reschedule-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tlsc-reschedule-submit[disabled] {
	opacity: .55;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* Student details modal */
.tlsc-student-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	direction: rtl;
}

.tlsc-student-modal.is-open {
	display: block;
}

.tlsc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.58);
	backdrop-filter: blur(3px);
}

.tlsc-modal-dialog {
	position: relative;
	z-index: 2;
	width: min(760px, calc(100% - 32px));
	max-height: calc(100vh - 60px);
	overflow: auto;
	margin: 42px auto;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.tlsc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 20px 22px;
	border-bottom: 1px solid #eef2f7;
	background: #fff;
}

.tlsc-modal-header h3 {
	margin: 0;
	color: #13294b;
	font-size: 22px;
	font-weight: 900;
}

.tlsc-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
}

.tlsc-modal-body {
	padding: 22px;
}

.tlsc-student-profile-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	padding: 16px;
	border-radius: 16px;
	background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.tlsc-student-profile-head img {
	border-radius: 999px;
}

.tlsc-student-profile-head strong {
	display: block;
	margin-bottom: 4px;
	color: #111827;
	font-size: 18px;
	font-weight: 900;
}

.tlsc-student-profile-head span {
	display: block;
	color: #64748b;
	font-size: 14px;
	direction: ltr;
	text-align: left;
}

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

.tlsc-detail-card {
	padding: 15px;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #f8fafc;
}

.tlsc-detail-card span {
	display: block;
	margin-bottom: 8px;
	color: #64748b;
	font-size: 12px;
	font-weight: 900;
}

.tlsc-detail-card strong {
	display: block;
	color: #111827;
	font-size: 15px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.tlsc-detail-card a {
	color: #4f46e5;
	text-decoration: none;
}

.tlsc-note-box {
	margin-top: 16px;
	padding: 16px;
	border: 1px solid #fde68a;
	border-radius: 16px;
	background: #fffbeb;
}

.tlsc-note-box h4 {
	margin: 0 0 8px;
	color: #92400e;
	font-size: 15px;
	font-weight: 900;
}

.tlsc-note-box p {
	margin: 0;
	color: #4b5563;
	line-height: 1.8;
}

.tlsc-modal-footer-link {
	margin: 16px 0 0;
}

.tlsc-modal-footer-link a {
	color: #4f46e5;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 1180px) {
	.tlsc-bookings-table {
		min-width: 1020px;
	}

	.tlsc-meet-row {
		grid-template-columns: 1fr;
	}

	.tlsc-meet-row .tlsc-btn {
		width: 100%;
	}
}

@media (max-width: 782px) {
	.tlsc-table-card {
		overflow: visible;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.tlsc-bookings-table,
	.tlsc-bookings-table tbody,
	.tlsc-bookings-table tr,
	.tlsc-bookings-table td {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	.tlsc-bookings-table {
		table-layout: auto;
		background: transparent;
	}

	.tlsc-bookings-table thead,
	.tlsc-bookings-table colgroup {
		display: none !important;
	}

	.tlsc-bookings-table tbody tr {
		display: block;
		margin: 0 0 16px;
		padding: 16px;
		border: 1px solid var(--tlsc-border);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	}

	.tlsc-bookings-table tbody td {
		display: block;
		padding: 10px 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	.tlsc-bookings-table tbody td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 6px;
		color: #64748b;
		font-size: 12px;
		font-weight: 900;
	}

	.tlsc-person-cell,
	.tlsc-actions {
		align-items: stretch;
	}

	.tlsc-open-student-modal {
		width: 100%;
	}

	.tlsc-student-details-grid {
		grid-template-columns: 1fr;
	}

	.tlsc-modal-dialog {
		margin: 18px auto;
		max-height: calc(100vh - 36px);
	}

	.tlsc-modal-body {
		padding: 16px;
	}

	.tlsc-modal-header {
		padding: 16px;
	}

	.tlsc-student-profile-head {
		align-items: flex-start;
	}
}

html.tlsc-modal-open,
body.tlsc-modal-open {
	overflow: hidden;
}


/* Tutor LMS Consultation Booking - Premium instructor settings UI */
.tlsc-dashboard-settings {
	--tlsc-primary: #3b0757;
	--tlsc-primary-2: #7c3aed;
	--tlsc-border: #e6eaf0;
	--tlsc-text: #13294b;
	--tlsc-muted: #64748b;
	--tlsc-soft: #f8fafc;
	--tlsc-success: #157a3f;
	--tlsc-success-bg: #eafaf1;
	--tlsc-warning: #9a5b00;
	--tlsc-warning-bg: #fff7e6;
	color: var(--tlsc-text);
}

.tlsc-dashboard-page-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 22px;
	padding: 22px 24px;
	border: 1px solid var(--tlsc-border);
	border-radius: 22px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #f3e8ff 100%);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.tlsc-dashboard-page-head h2 {
	margin: 0 0 8px !important;
	color: var(--tlsc-text);
	font-size: 30px;
	font-weight: 900;
	line-height: 1.25;
}

.tlsc-dashboard-page-head p {
	margin: 0;
	color: var(--tlsc-muted);
	font-size: 15px;
	line-height: 1.8;
}

.tlsc-settings-form {
	margin: 0 0 30px;
}

.tlsc-settings-ui {
	direction: rtl;
}

.tlsc-settings-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.tlsc-settings-card {
	margin: 0 !important;
	padding: 22px !important;
	border: 1px solid var(--tlsc-border, #e6eaf0) !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
	overflow: hidden;
}

.tlsc-settings-card-wide,
.tlsc-settings-card-google {
	grid-column: 1 / -1;
}

.tlsc-card-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 18px;
}

.tlsc-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #f3e8ff;
	color: var(--tlsc-primary-2, #7c3aed);
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
}

.tlsc-card-head h3 {
	margin: 0 0 5px !important;
	color: var(--tlsc-text, #13294b);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.35;
}

.tlsc-card-head p {
	margin: 0 !important;
	color: var(--tlsc-muted, #64748b);
	font-size: 14px;
	line-height: 1.7;
}

.tlsc-form-grid {
	display: grid;
	gap: 16px;
}

.tlsc-form-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tlsc-form-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.tlsc-form-field label {
	margin: 0 !important;
	color: #334155;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.5;
}

.tlsc-form-field input[type="text"],
.tlsc-form-field input[type="url"],
.tlsc-form-field input[type="number"],
.tlsc-form-field input[type="date"],
.tlsc-form-field input[type="time"],
.tlsc-form-field select,
.tlsc-form-field textarea,
.tlsc-settings-ui input[type="text"],
.tlsc-settings-ui input[type="url"],
.tlsc-settings-ui input[type="number"],
.tlsc-settings-ui input[type="date"],
.tlsc-settings-ui input[type="time"],
.tlsc-settings-ui select,
.tlsc-settings-ui textarea {
	width: 100% !important;
	max-width: none !important;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #dbe2ea !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: #111827;
	font-size: 14px;
	box-shadow: none !important;
	box-sizing: border-box;
}

.tlsc-form-field textarea,
.tlsc-settings-ui textarea {
	min-height: 150px;
	resize: vertical;
	direction: ltr;
	text-align: left;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	line-height: 1.7;
}

.tlsc-form-field input[type="url"],
.tlsc-form-field input[name="tlsc_google_calendar_id"],
.tlsc-settings-ui input[type="url"] {
	direction: ltr;
	text-align: left;
}

.tlsc-form-field input:focus,
.tlsc-form-field select:focus,
.tlsc-form-field textarea:focus,
.tlsc-settings-ui input:focus,
.tlsc-settings-ui select:focus,
.tlsc-settings-ui textarea:focus {
	outline: 0;
	border-color: var(--tlsc-primary-2, #7c3aed) !important;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12) !important;
}

.tlsc-help-text {
	display: block;
	color: var(--tlsc-muted, #64748b);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
}

.tlsc-help-block {
	margin: 12px 0 0 !important;
}

.tlsc-input-with-unit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.tlsc-input-with-unit span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 14px;
	border-radius: 14px;
	background: #f8fafc;
	color: #475569;
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.tlsc-google-status-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 16px;
	border-radius: 18px;
	border: 1px solid #e5e7eb;
	background: #f8fafc;
}

.tlsc-google-status-card.is-connected {
	border-color: #bbf7d0;
	background: var(--tlsc-success-bg, #eafaf1);
}

.tlsc-google-status-card.is-disconnected {
	border-color: #fde68a;
	background: var(--tlsc-warning-bg, #fff7e6);
}

.tlsc-google-status-card strong {
	display: block;
	margin-bottom: 4px;
	color: #111827;
	font-size: 15px;
	font-weight: 900;
}

.tlsc-google-status-card span {
	display: block;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.7;
}

.tlsc-warning-pill {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 10px 13px;
	border-radius: 999px;
	background: #fff;
	color: #9a5b00 !important;
	border: 1px solid #fde68a;
	font-size: 13px;
	font-weight: 900;
}

.tlsc-days-picker {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.tlsc-day-chip {
	position: relative;
	display: block !important;
	margin: 0 !important;
	cursor: pointer;
}

.tlsc-day-chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tlsc-day-chip span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px;
	border: 1px solid #dbe2ea;
	border-radius: 16px;
	background: #fff;
	color: #334155;
	font-size: 13px;
	font-weight: 900;
	text-align: center;
	transition: .18s ease;
}

.tlsc-day-chip input:checked + span {
	border-color: var(--tlsc-primary-2, #7c3aed);
	background: #f3e8ff;
	color: var(--tlsc-primary, #3b0757);
	box-shadow: 0 7px 18px rgba(124, 58, 237, 0.12);
}

.tlsc-switch-row {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	margin: 18px 0 0 !important;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #f8fafc;
	cursor: pointer;
}

.tlsc-switch-row-strong {
	margin-top: 0 !important;
	background: linear-gradient(135deg, #fff, #f8fafc);
}

.tlsc-switch-row input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tlsc-switch-ui {
	position: relative;
	flex: 0 0 50px;
	width: 50px;
	height: 28px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: .2s ease;
}

.tlsc-switch-ui::after {
	content: "";
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 7px rgba(15, 23, 42, 0.2);
	transition: .2s ease;
}

.tlsc-switch-row input:checked + .tlsc-switch-ui {
	background: var(--tlsc-primary-2, #7c3aed);
}

.tlsc-switch-row input:checked + .tlsc-switch-ui::after {
	right: 26px;
}

.tlsc-switch-row strong {
	display: block;
	margin-bottom: 4px;
	color: #111827;
	font-size: 14px;
	font-weight: 900;
}

.tlsc-switch-row small {
	display: block;
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
}

.tlsc-quick-exception-card {
	display: grid;
	grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
	gap: 14px;
	align-items: end;
	padding: 16px;
	border: 1px dashed #cbd5e1;
	border-radius: 18px;
	background: #f8fafc;
}

.tlsc-settings-save-bar {
	position: sticky;
	bottom: 16px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 16px 18px;
	border: 1px solid var(--tlsc-border, #e6eaf0);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.13);
	backdrop-filter: blur(8px);
}

.tlsc-settings-save-bar strong {
	display: block;
	margin-bottom: 3px;
	color: #111827;
	font-size: 15px;
	font-weight: 900;
}

.tlsc-settings-save-bar span {
	display: block;
	color: #64748b;
	font-size: 13px;
	line-height: 1.7;
}

.tlsc-save-settings-btn {
	min-width: 180px;
	min-height: 48px;
}

.tlsc-upcoming-block {
	margin-top: 34px;
}

.tlsc-section-title-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.tlsc-section-title-row h3 {
	margin: 0 !important;
	color: #13294b;
	font-size: 24px;
	font-weight: 900;
}

.tlsc-section-title-row span {
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 1180px) {
	.tlsc-settings-grid,
	.tlsc-form-grid-2 {
		grid-template-columns: 1fr;
	}

	.tlsc-days-picker {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tlsc-quick-exception-card {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.tlsc-dashboard-page-head,
	.tlsc-settings-save-bar,
	.tlsc-section-title-row,
	.tlsc-google-status-card {
		flex-direction: column;
		align-items: stretch;
	}

	.tlsc-dashboard-page-head {
		padding: 18px;
		border-radius: 18px;
	}

	.tlsc-dashboard-page-head h2 {
		font-size: 26px;
	}

	.tlsc-settings-card {
		padding: 18px !important;
		border-radius: 18px !important;
	}

	.tlsc-card-head {
		gap: 10px;
	}

	.tlsc-days-picker {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tlsc-quick-exception-card {
		grid-template-columns: 1fr;
	}

	.tlsc-save-settings-btn,
	.tlsc-google-status-card .tlsc-btn {
		width: 100%;
	}

	.tlsc-settings-save-bar {
		position: static;
	}
}


/* v1.2.6 - Prominent Google Meet entry button for students and instructors. */
.tlsc-link-chips .tlsc-meet-entry {
	width: 100%;
	min-height: 46px;
	border-radius: 14px;
	background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
	color: #ffffff !important;
	border-color: #059669;
	box-shadow: 0 10px 22px rgba(5, 150, 105, 0.18);
	gap: 8px;
	font-size: 14px;
}

.tlsc-link-chips .tlsc-meet-entry:hover {
	color: #ffffff !important;
	filter: brightness(0.98);
	transform: translateY(-1px);
}

.tlsc-meet-entry-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 11px;
	line-height: 1;
}

.tlsc-bookings-mode-instructor .tlsc-link-chips .tlsc-meet-entry {
	background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
	border-color: #4f46e5;
	box-shadow: 0 10px 22px rgba(79, 70, 229, 0.18);
}
