/*!
 * Therapylab – Mentoring · app-base.css
 * Κοινή εμφάνιση των εφαρμογών (μεταβλητές + στοιχεία). Όλα κάτω από τη ρίζα .tlm ώστε να μη
 * συγκρούονται με το θέμα (Edumall) και το Tutor LMS. Γραμματοσειρά: του θέματος.
 *
 * Αναφορά κλάσεων
 * ---------------------------------------------------------------------------------------------
 *  Ρίζα / διάταξη : .tlm (ρίζα κάθε εφαρμογής, toast και modal) · .tlm-app · .tlm-app__head · .tlm-app__title
 *                   .tlm-app__actions · .tlm-app-loading · .tlm-grid (+ --2 --3 --4 --sidebar) · .tlm-row · .tlm-stack
 *                   .tlm-spacer · .tlm-divider · .tlm-section · .tlm-section__title
 *  Κουμπιά        : .tlm-btn (+ --primary --navy --ghost --danger --link --sm --lg --block --icon, [disabled], .is-loading)
 *  Επιφάνειες     : .tlm-card (+ --hover --flat --wash) · .tlm-card__head · .tlm-card__title · .tlm-card__foot
 *                   .tlm-panel · .tlm-notice (+ --ok --warn --bad --info) · .tlm-stat · .tlm-stat__num · .tlm-stat__label
 *  Πλοήγηση       : .tlm-tabs · .tlm-tab (.is-active | [aria-selected=true]) · .tlm-tab__count
 *                   .tlm-side-nav · .tlm-side-nav__item (.is-active | [aria-current=page]) · .tlm-seg (+ --block) · .tlm-seg__opt
 *                   (.is-active | [aria-pressed=true] | [aria-checked=true]). Απλά <button>/<a> μέσα σε .tlm-tabs /
 *                   .tlm-side-nav / .tlm-seg παίρνουν την ίδια εμφάνιση και χωρίς τη δική τους κλάση.
 *  Ετικέτες       : .tlm-pill (+ --ok --warn --bad --info --muted) · .tlm-chip (+ .is-active, --removable, .tlm-chip__x)
 *                   .tlm-badge-verified · .tlm-dot (+ --ok --warn --bad --muted)
 *  Πρόσωπα        : .tlm-avatar (+ --sm 36 · --md 54 · --lg 96 · --initials) · .tlm-person · .tlm-person__name · .tlm-person__meta
 *  Λίστες/πίνακες : .tlm-table-wrap · .tlm-table (+ --compact) · .tlm-list · .tlm-list__item · .tlm-kv
 *  Φόρμες         : .tlm-field (+ --error) · .tlm-label · .tlm-input · .tlm-select · .tlm-textarea · .tlm-help · .tlm-error
 *                   .tlm-check · .tlm-form-row · .tlm-form-actions
 *  Παράθυρα       : .tlm-modal-backdrop · .tlm-modal (+ --sm --lg) · .tlm-modal__head · __title · __close · __body · __foot
 *                   .tlm-confirm (+ --danger) · .tlm-confirm__msg · .tlm-confirm__actions
 *  Ενημέρωση      : .tlm-toasts · .tlm-toast (+ --ok --bad --info --warn) · .tlm-empty · __icon · __title · __text · __action
 *                   .tlm-spinner (+ --lg) · .tlm-skeleton · .tlm-skeleton-group · .tlm-stars · .tlm-stars__fill · .tlm-star-input
 *  Βοηθητικά      : .tlm-icon · .tlm-muted · .tlm-small · .tlm-strong · .tlm-nowrap · .tlm-link · .tlm-sr-only · .tlm-hide-mobile · .tlm-only-mobile
 */

.tlm {
	--tlm-navy: #12304F;
	--tlm-blue: #1E9BD7;
	--tlm-blue-dark: #1580b3;
	--tlm-wash: #e8f5fc;
	--tlm-line: #e3ebf2;
	--tlm-text: #1d2b3a;
	--tlm-muted: #5b6675;
	--tlm-bg: #f5f8fb;
	--tlm-white: #fff;
	--tlm-ok: #1f8a5b;
	--tlm-ok-bg: #e3f5ec;
	--tlm-warn: #8a5a00;
	--tlm-warn-bg: #fff3dc;
	--tlm-bad: #a0362d;
	--tlm-bad-bg: #fde8e6;
	--tlm-radius: 14px;
	--tlm-radius-lg: 20px;
	--tlm-shadow: 0 6px 24px rgba(18, 48, 79, .06);
	--tlm-shadow-hover: 0 18px 40px rgba(18, 48, 79, .14);
	--tlm-ring: 0 0 0 3px rgba(30, 155, 215, .22);
	--tlm-field-line: #cfdbe6;
	--tlm-chip-text: #1E7FB0;
	--tlm-ease: cubic-bezier(.2, .7, .2, 1);

	font-family: inherit;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tlm-text);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

.tlm,
.tlm *,
.tlm *::before,
.tlm *::after {
	box-sizing: border-box;
}

.tlm h1,
.tlm h2,
.tlm h3,
.tlm h4,
.tlm h5 {
	margin: 0;
	color: var(--tlm-navy);
	font-family: inherit;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
}

.tlm p {
	margin: 0 0 .75em;
}

.tlm p:last-child {
	margin-bottom: 0;
}

.tlm a {
	color: var(--tlm-blue-dark);
	text-decoration: none;
}

.tlm a:hover {
	color: var(--tlm-navy);
}

.tlm img {
	max-width: 100%;
	height: auto;
}

.tlm ul,
.tlm ol {
	margin: 0;
	padding: 0;
}

.tlm .tlm-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

/* Εμφανής εστίαση πληκτρολογίου σε όλα τα στοιχεία. */
.tlm :focus {
	outline: none;
}

.tlm :focus-visible {
	outline: 2px solid var(--tlm-blue);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ================= Διάταξη εφαρμογής ================= */

.tlm-app {
	position: relative;
	min-height: 240px;
}

.tlm .tlm-app__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin-bottom: 20px;
}

.tlm .tlm-app__title {
	font-size: 26px;
	font-weight: 700;
	color: var(--tlm-navy);
}

.tlm .tlm-app__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tlm .tlm-app-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 220px;
	color: var(--tlm-muted);
	font-size: 15px;
}

.tlm .tlm-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr);
}

.tlm .tlm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tlm .tlm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tlm .tlm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tlm .tlm-grid--sidebar { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }

.tlm .tlm-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tlm .tlm-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tlm .tlm-spacer {
	flex: 1 1 auto;
}

.tlm .tlm-divider {
	height: 1px;
	margin: 18px 0;
	border: 0;
	background: var(--tlm-line);
}

.tlm .tlm-section + .tlm-section {
	margin-top: 28px;
}

.tlm .tlm-section__title {
	margin-bottom: 12px;
	font-size: 18px;
}

/* ================= Κουμπιά ================= */

.tlm .tlm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	height: auto;
	min-height: 42px;
	margin: 0;
	padding: .6em 1.15em;
	border: 1px solid var(--tlm-line);
	border-radius: 10px;
	background: var(--tlm-white);
	box-shadow: none;
	color: var(--tlm-navy);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .15s var(--tlm-ease), border-color .15s var(--tlm-ease), color .15s var(--tlm-ease), box-shadow .15s var(--tlm-ease), transform .15s var(--tlm-ease);
}

.tlm .tlm-btn:hover {
	border-color: #bfe3f5;
	background: #f4fafe;
	color: var(--tlm-navy);
}

.tlm .tlm-btn:active {
	transform: translateY(1px);
}

.tlm .tlm-btn:focus-visible {
	outline: none;
	box-shadow: var(--tlm-ring);
}

.tlm .tlm-btn .tlm-icon {
	width: 1.15em;
	height: 1.15em;
}

.tlm .tlm-btn--primary {
	border-color: var(--tlm-blue);
	background: var(--tlm-blue);
	color: #fff;
	box-shadow: 0 6px 16px rgba(30, 155, 215, .22);
}

.tlm .tlm-btn--primary:hover {
	border-color: var(--tlm-blue-dark);
	background: var(--tlm-blue-dark);
	color: #fff;
}

.tlm .tlm-btn--navy {
	border-color: var(--tlm-navy);
	background: var(--tlm-navy);
	color: #fff;
}

.tlm .tlm-btn--navy:hover {
	border-color: #0c2239;
	background: #0c2239;
	color: #fff;
}

.tlm .tlm-btn--ghost {
	border-color: var(--tlm-blue);
	background: transparent;
	color: var(--tlm-blue-dark);
}

.tlm .tlm-btn--ghost:hover {
	border-color: var(--tlm-blue-dark);
	background: var(--tlm-wash);
	color: var(--tlm-navy);
}

.tlm .tlm-btn--danger {
	border-color: var(--tlm-bad);
	background: var(--tlm-bad);
	color: #fff;
}

.tlm .tlm-btn--danger:hover {
	border-color: #852b23;
	background: #852b23;
	color: #fff;
}

.tlm .tlm-btn--link {
	min-height: 0;
	padding: 0;
	border-color: transparent;
	background: transparent;
	color: var(--tlm-blue-dark);
	box-shadow: none;
}

.tlm .tlm-btn--link:hover {
	border-color: transparent;
	background: transparent;
	color: var(--tlm-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tlm .tlm-btn--sm {
	min-height: 34px;
	padding: .42em .85em;
	border-radius: 8px;
	font-size: 13.5px;
}

.tlm .tlm-btn--lg {
	min-height: 52px;
	padding: .8em 1.4em;
	border-radius: 12px;
	font-size: 16.5px;
}

.tlm .tlm-btn--block {
	display: flex;
	width: 100%;
}

.tlm .tlm-btn--icon {
	width: 40px;
	min-height: 40px;
	padding: 0;
}

.tlm .tlm-btn--icon.tlm-btn--sm {
	width: 32px;
	min-height: 32px;
}

.tlm .tlm-btn[disabled],
.tlm .tlm-btn.is-disabled,
.tlm .tlm-btn.is-loading {
	opacity: .55;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.tlm .tlm-btn.is-loading {
	position: relative;
	color: transparent !important;
	cursor: progress;
}

.tlm .tlm-btn.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid currentColor;
	border-color: var(--tlm-navy) transparent var(--tlm-navy) var(--tlm-navy);
	border-radius: 50%;
	animation: tlm-spin .7s linear infinite;
}

.tlm .tlm-btn--primary.is-loading::after,
.tlm .tlm-btn--navy.is-loading::after,
.tlm .tlm-btn--danger.is-loading::after {
	border-color: #fff transparent #fff #fff;
}

/* ================= Επιφάνειες ================= */

.tlm .tlm-card {
	position: relative;
	padding: 22px;
	border: 1px solid var(--tlm-line);
	border-radius: var(--tlm-radius-lg);
	background: var(--tlm-white);
	box-shadow: var(--tlm-shadow);
}

.tlm .tlm-card--hover {
	transition: transform .25s var(--tlm-ease), box-shadow .25s var(--tlm-ease), border-color .25s var(--tlm-ease);
}

.tlm .tlm-card--hover:hover {
	transform: translateY(-4px);
	border-color: #bfe3f5;
	box-shadow: var(--tlm-shadow-hover);
}

.tlm .tlm-card--flat {
	box-shadow: none;
}

.tlm .tlm-card--wash {
	border-color: #cfe9f7;
	background: var(--tlm-wash);
	box-shadow: none;
}

.tlm .tlm-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-bottom: 14px;
}

.tlm .tlm-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 700;
	color: var(--tlm-navy);
}

.tlm .tlm-card__title .tlm-icon {
	color: var(--tlm-blue);
}

.tlm .tlm-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--tlm-line);
}

.tlm .tlm-panel {
	padding: 28px;
	border: 1px solid var(--tlm-line);
	border-radius: var(--tlm-radius-lg);
	background: var(--tlm-white);
	box-shadow: var(--tlm-shadow);
}

.tlm .tlm-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 16px;
	border: 1px solid #cfe9f7;
	border-radius: 12px;
	background: var(--tlm-wash);
	color: var(--tlm-navy);
	font-size: 14.5px;
	line-height: 1.5;
}

.tlm .tlm-notice .tlm-icon {
	margin-top: 1px;
}

.tlm .tlm-notice--ok {
	border-color: #bfe6d2;
	background: var(--tlm-ok-bg);
	color: #145c3d;
}

.tlm .tlm-notice--warn {
	border-color: #f3dca8;
	background: var(--tlm-warn-bg);
	color: var(--tlm-warn);
}

.tlm .tlm-notice--bad {
	border-color: #f4c7c2;
	background: var(--tlm-bad-bg);
	color: var(--tlm-bad);
}

.tlm .tlm-notice--info {
	border-color: #cfe9f7;
	background: var(--tlm-wash);
	color: var(--tlm-navy);
}

.tlm .tlm-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tlm .tlm-stat__num {
	color: var(--tlm-navy);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.tlm .tlm-stat__num small {
	margin-left: 4px;
	font-size: 16px;
	font-weight: 600;
	color: var(--tlm-muted);
}

.tlm .tlm-stat__label {
	color: var(--tlm-muted);
	font-size: 13.5px;
}

/* ================= Καρτέλες και πλοήγηση ================= */

/* Η γραμμή βάσης είναι εσωτερική σκιά (όχι border) και οι καρτέλες δεν έχουν αρνητικό margin: έτσι δεν
   ξεχειλίζουν κάθετα (μπάρα κύλισης ▲▼) και η υπογράμμιση της ενεργής καρτέλας σκεπάζει τη γραμμή. */
.tlm .tlm-tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 18px;
	padding: 0;
	overflow-x: auto;
	overflow-y: hidden;
	box-shadow: inset 0 -1px 0 var(--tlm-line);
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.tlm .tlm-tabs::-webkit-scrollbar {
	display: none;
}

.tlm .tlm-tab,
.tlm .tlm-tabs > button,
.tlm .tlm-tabs > a {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--tlm-muted);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color .15s var(--tlm-ease), border-color .15s var(--tlm-ease);
}

.tlm .tlm-tab:hover,
.tlm .tlm-tabs > button:hover,
.tlm .tlm-tabs > a:hover {
	background: transparent;
	color: var(--tlm-navy);
}

.tlm .tlm-tab.is-active,
.tlm .tlm-tab[aria-selected="true"],
.tlm .tlm-tabs > .is-active,
.tlm .tlm-tabs > [aria-selected="true"] {
	border-bottom-color: var(--tlm-blue);
	color: var(--tlm-navy);
}

.tlm .tlm-tab:focus-visible {
	outline-offset: -2px;
}

.tlm .tlm-tab__count {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #eef3f7;
	color: var(--tlm-muted);
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.tlm .tlm-tab.is-active .tlm-tab__count,
.tlm .tlm-tab[aria-selected="true"] .tlm-tab__count {
	background: var(--tlm-wash);
	color: var(--tlm-blue-dark);
}

.tlm .tlm-side-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--tlm-line);
	border-radius: var(--tlm-radius-lg);
	background: var(--tlm-white);
	box-shadow: var(--tlm-shadow);
	list-style: none;
}

.tlm .tlm-side-nav__item,
.tlm .tlm-side-nav > a,
.tlm .tlm-side-nav > button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: var(--tlm-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s var(--tlm-ease), color .15s var(--tlm-ease);
}

.tlm .tlm-side-nav__item .tlm-icon,
.tlm .tlm-side-nav > a .tlm-icon,
.tlm .tlm-side-nav > button .tlm-icon {
	color: var(--tlm-blue);
}

.tlm .tlm-side-nav__item:hover,
.tlm .tlm-side-nav > a:hover,
.tlm .tlm-side-nav > button:hover {
	background: #f1f6fa;
	color: var(--tlm-navy);
}

.tlm .tlm-side-nav__item.is-active,
.tlm .tlm-side-nav__item[aria-current="page"],
.tlm .tlm-side-nav > .is-active,
.tlm .tlm-side-nav > [aria-current="page"] {
	background: var(--tlm-wash);
	color: var(--tlm-navy);
}

.tlm .tlm-seg {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: #eef3f7;
}

.tlm .tlm-seg--block {
	display: flex;
	width: 100%;
}

.tlm .tlm-seg--block .tlm-seg__opt,
.tlm .tlm-seg--block > button {
	flex: 1 1 0;
}

.tlm .tlm-seg__opt,
.tlm .tlm-seg > button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	margin: 0;
	padding: 7px 14px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	box-shadow: none;
	color: var(--tlm-navy);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s var(--tlm-ease), color .15s var(--tlm-ease), box-shadow .15s var(--tlm-ease);
}

.tlm .tlm-seg__opt:hover,
.tlm .tlm-seg > button:hover {
	background: rgba(255, 255, 255, .7);
	color: var(--tlm-navy);
}

.tlm .tlm-seg__opt.is-active,
.tlm .tlm-seg__opt[aria-pressed="true"],
.tlm .tlm-seg__opt[aria-checked="true"],
.tlm .tlm-seg > button.is-active,
.tlm .tlm-seg > button[aria-pressed="true"],
.tlm .tlm-seg > button[aria-checked="true"] {
	background: var(--tlm-blue);
	color: #fff;
	box-shadow: 0 4px 12px rgba(30, 155, 215, .28);
}

.tlm .tlm-seg__opt[disabled],
.tlm .tlm-seg > button[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

/* ================= Ετικέτες ================= */

.tlm .tlm-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--tlm-wash);
	color: var(--tlm-navy);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.tlm .tlm-pill--ok { background: var(--tlm-ok-bg); color: var(--tlm-ok); }
.tlm .tlm-pill--warn { background: var(--tlm-warn-bg); color: var(--tlm-warn); }
.tlm .tlm-pill--bad { background: var(--tlm-bad-bg); color: var(--tlm-bad); }
.tlm .tlm-pill--info { background: var(--tlm-wash); color: var(--tlm-blue-dark); }
.tlm .tlm-pill--muted { background: #eef1f4; color: var(--tlm-muted); }

.tlm .tlm-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	margin: 0;
	padding: 4px 11px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--tlm-wash);
	color: var(--tlm-chip-text);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	text-transform: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tlm button.tlm-chip {
	cursor: pointer;
	box-shadow: none;
}

.tlm button.tlm-chip:hover {
	border-color: #bfe3f5;
	background: #dcf0fb;
	color: var(--tlm-navy);
}

.tlm .tlm-chip.is-active,
.tlm .tlm-chip[aria-pressed="true"] {
	border-color: var(--tlm-blue);
	background: var(--tlm-blue);
	color: #fff;
}

.tlm .tlm-chip__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 0 -4px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
}

.tlm .tlm-chip__x:hover {
	background: rgba(18, 48, 79, .12);
}

.tlm .tlm-chip__x .tlm-icon {
	width: 12px;
	height: 12px;
}

/* «✓ Verified Mentor»: μπλε κύκλος με λευκό τικ. */
.tlm .tlm-badge-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 11px 3px 4px;
	border-radius: 999px;
	background: var(--tlm-wash);
	color: var(--tlm-navy);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.tlm .tlm-badge-verified::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--tlm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

.tlm .tlm-dot {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tlm-muted);
	font-size: 13.5px;
}

.tlm .tlm-dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tlm-ok);
	box-shadow: 0 0 0 3px var(--tlm-ok-bg);
}

.tlm .tlm-dot--warn::before { background: #d39200; box-shadow: 0 0 0 3px var(--tlm-warn-bg); }
.tlm .tlm-dot--bad::before { background: var(--tlm-bad); box-shadow: 0 0 0 3px var(--tlm-bad-bg); }
.tlm .tlm-dot--muted::before { background: #a7b1bc; box-shadow: 0 0 0 3px #eef1f4; }

/* ================= Πρόσωπα ================= */

.tlm .tlm-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	max-width: none;
	border-radius: 50%;
	background: #eef3f7;
	object-fit: cover;
	overflow: hidden;
	vertical-align: middle;
}

.tlm .tlm-avatar--sm { width: 36px; height: 36px; font-size: 13px; }
.tlm .tlm-avatar--md { width: 54px; height: 54px; font-size: 19px; }
.tlm .tlm-avatar--lg { width: 96px; height: 96px; font-size: 32px; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(18, 48, 79, .16); }

.tlm .tlm-avatar--initials {
	background: linear-gradient(135deg, var(--tlm-navy) 0%, var(--tlm-blue) 100%);
	color: #fff;
	font-weight: 700;
	letter-spacing: .02em;
	user-select: none;
}

.tlm .tlm-person {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.tlm .tlm-person__name {
	color: var(--tlm-navy);
	font-weight: 700;
	line-height: 1.3;
}

.tlm .tlm-person__meta {
	color: var(--tlm-muted);
	font-size: 13.5px;
	line-height: 1.4;
}

/* ================= Πίνακες και λίστες ================= */

.tlm .tlm-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--tlm-line);
	border-radius: var(--tlm-radius);
	background: var(--tlm-white);
	-webkit-overflow-scrolling: touch;
}

.tlm .tlm-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14.5px;
}

.tlm .tlm-table th,
.tlm .tlm-table td {
	padding: 12px 14px;
	border: 0;
	border-top: 1px solid var(--tlm-line);
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.tlm .tlm-table thead th {
	border-top: 0;
	background: #f8fafc;
	color: var(--tlm-muted);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.tlm .tlm-table tbody tr {
	transition: background-color .12s var(--tlm-ease);
}

.tlm .tlm-table tbody tr:hover {
	background: #f9fbfd;
}

.tlm .tlm-table tfoot td {
	background: #f8fafc;
	font-weight: 700;
}

.tlm .tlm-table .is-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tlm .tlm-table--compact th,
.tlm .tlm-table--compact td {
	padding: 8px 10px;
	font-size: 13.5px;
}

.tlm .tlm-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tlm .tlm-list__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 14px 0;
	border-top: 1px solid var(--tlm-line);
}

.tlm .tlm-list__item:first-child {
	border-top: 0;
	padding-top: 0;
}

.tlm .tlm-list__item:last-child {
	padding-bottom: 0;
}

.tlm .tlm-kv {
	display: grid;
	grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
	gap: 8px 18px;
	margin: 0;
}

.tlm .tlm-kv dt {
	color: var(--tlm-muted);
	font-size: 14px;
	font-weight: 600;
}

.tlm .tlm-kv dd {
	margin: 0;
	overflow-wrap: anywhere;
}

/* ================= Φόρμες ================= */

.tlm .tlm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	min-width: 0;
}

.tlm .tlm-label {
	display: block;
	margin: 0;
	color: var(--tlm-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.tlm .tlm-label .tlm-req {
	color: var(--tlm-bad);
}

.tlm .tlm-input,
.tlm .tlm-select,
.tlm .tlm-textarea {
	display: block;
	width: 100%;
	height: auto;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--tlm-field-line);
	border-radius: 10px;
	background-color: var(--tlm-white);
	box-shadow: none;
	color: var(--tlm-text);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color .15s var(--tlm-ease), box-shadow .15s var(--tlm-ease);
}

.tlm .tlm-textarea {
	min-height: 110px;
	resize: vertical;
}

.tlm .tlm-select {
	padding-right: 38px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	cursor: pointer;
}

.tlm .tlm-select[multiple] {
	padding-right: 12px;
	background-image: none;
}

.tlm .tlm-input::placeholder,
.tlm .tlm-textarea::placeholder {
	color: #8a95a3;
	opacity: 1;
}

.tlm .tlm-input:hover,
.tlm .tlm-select:hover,
.tlm .tlm-textarea:hover {
	border-color: #b4c6d6;
}

.tlm .tlm-input:focus,
.tlm .tlm-select:focus,
.tlm .tlm-textarea:focus {
	border-color: var(--tlm-blue);
	box-shadow: var(--tlm-ring);
	outline: none;
}

.tlm .tlm-input[disabled],
.tlm .tlm-select[disabled],
.tlm .tlm-textarea[disabled],
.tlm .tlm-input[readonly] {
	background-color: #f4f7fa;
	color: var(--tlm-muted);
}

.tlm .tlm-input[type="file"] {
	padding: 8px;
	cursor: pointer;
}

.tlm .tlm-help {
	margin: 0;
	color: var(--tlm-muted);
	font-size: 13px;
	line-height: 1.45;
}

.tlm .tlm-error {
	margin: 0;
	color: var(--tlm-bad);
	font-size: 13px;
	font-weight: 600;
}

.tlm .tlm-field--error .tlm-input,
.tlm .tlm-field--error .tlm-select,
.tlm .tlm-field--error .tlm-textarea {
	border-color: var(--tlm-bad);
}

.tlm .tlm-field--error .tlm-input:focus,
.tlm .tlm-field--error .tlm-select:focus,
.tlm .tlm-field--error .tlm-textarea:focus {
	box-shadow: 0 0 0 3px rgba(160, 54, 45, .18);
}

.tlm .tlm-check {
	display: inline-flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	color: var(--tlm-text);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
}

.tlm .tlm-check input[type="checkbox"],
.tlm .tlm-check input[type="radio"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--tlm-blue);
	cursor: pointer;
}

.tlm .tlm-form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0 16px;
}

.tlm .tlm-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

/* ================= Παράθυρο (modal) ================= */

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

.tlm-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(18, 48, 79, .45);
	animation: tlm-fade .18s var(--tlm-ease);
}

.tlm .tlm-modal {
	display: flex;
	flex-direction: column;
	width: min(560px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	border-radius: var(--tlm-radius-lg);
	background: var(--tlm-white);
	box-shadow: 0 30px 80px rgba(18, 48, 79, .28);
	overflow: hidden;
	animation: tlm-pop .22s var(--tlm-ease);
}

.tlm .tlm-modal:focus,
.tlm .tlm-modal:focus-visible {
	outline: none;
}

.tlm .tlm-modal--sm { width: min(440px, 100%); }
.tlm .tlm-modal--lg { width: min(860px, 100%); }

.tlm .tlm-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--tlm-line);
}

.tlm .tlm-modal__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--tlm-navy);
}

.tlm .tlm-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: -6px -8px -6px 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	color: var(--tlm-muted);
	cursor: pointer;
}

.tlm .tlm-modal__close:hover {
	background: #f1f6fa;
	color: var(--tlm-navy);
}

.tlm .tlm-modal__body {
	flex: 1 1 auto;
	padding: 20px 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.tlm .tlm-modal__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	padding: 14px 22px;
	border-top: 1px solid var(--tlm-line);
	background: #fbfcfe;
}

/* Επιβεβαίωση μέσα στη σελίδα ή στο modal. */
.tlm .tlm-confirm {
	margin: 12px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--tlm-line);
	border-left: 4px solid var(--tlm-blue);
	border-radius: 12px;
	background: #f8fbfe;
}

.tlm .tlm-modal__body > .tlm-confirm:first-child {
	margin-top: 0;
}

.tlm .tlm-confirm--danger {
	border-color: #f4c7c2;
	border-left-color: var(--tlm-bad);
	background: var(--tlm-bad-bg);
}

.tlm .tlm-confirm__msg {
	color: var(--tlm-text);
	font-size: 14.5px;
	line-height: 1.55;
	white-space: pre-line;
}

.tlm .tlm-confirm__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}

/* ================= Ειδοποιήσεις (toast) ================= */

.tlm-toasts {
	position: fixed;
	left: 50%;
	bottom: 22px;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: max-content;
	max-width: calc(100vw - 24px);
	transform: translateX(-50%);
	pointer-events: none;
}

.tlm .tlm-toast {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: min(92vw, 480px);
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--tlm-navy);
	box-shadow: 0 14px 34px rgba(18, 48, 79, .3);
	color: #fff;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .22s var(--tlm-ease), transform .22s var(--tlm-ease);
	pointer-events: auto;
	cursor: pointer;
}

.tlm .tlm-toast.is-in {
	opacity: 1;
	transform: translateY(0);
}

.tlm .tlm-toast.is-out {
	opacity: 0;
	transform: translateY(8px);
}

.tlm .tlm-toast--ok .tlm-icon { color: #7fe0b2; }
.tlm .tlm-toast--info .tlm-icon { color: #9ad8f5; }
.tlm .tlm-toast--warn { background: #6b4600; }
.tlm .tlm-toast--bad { background: var(--tlm-bad); }

/* ================= Κενές καταστάσεις, φόρτωση ================= */

.tlm .tlm-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 40px 22px;
	border: 1.5px dashed #d3e0eb;
	border-radius: var(--tlm-radius-lg);
	background: #fbfdff;
	text-align: center;
}

.tlm .tlm-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: var(--tlm-wash);
	color: var(--tlm-blue);
}

.tlm .tlm-empty__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--tlm-navy);
}

.tlm .tlm-empty__text {
	max-width: 440px;
	margin: 0;
	color: var(--tlm-muted);
	font-size: 14.5px;
}

.tlm .tlm-empty__action,
.tlm .tlm-empty > .tlm-btn {
	margin-top: 10px;
}

.tlm .tlm-spinner {
	display: inline-block;
	flex: none;
	width: 18px;
	height: 18px;
	border: 2px solid var(--tlm-blue);
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: middle;
	animation: tlm-spin .7s linear infinite;
}

.tlm .tlm-spinner--lg {
	width: 34px;
	height: 34px;
	border-width: 3px;
}

.tlm .tlm-skeleton-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tlm .tlm-skeleton {
	height: 14px;
	border-radius: 8px;
	background: linear-gradient(90deg, #eef3f7 0%, #f7fafc 40%, #eef3f7 80%);
	background-size: 200% 100%;
	animation: tlm-shimmer 1.3s ease-in-out infinite;
}

/* ================= Αξιολόγηση (αστέρια) ================= */

.tlm .tlm-stars {
	position: relative;
	display: inline-block;
	color: #d5dde6;
	font-size: 16px;
	letter-spacing: 2px;
	line-height: 1;
	white-space: nowrap;
	vertical-align: middle;
}

.tlm .tlm-stars::before,
.tlm .tlm-stars__fill::before {
	content: "\2605\2605\2605\2605\2605";
}

.tlm .tlm-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #f5a623;
}

.tlm .tlm-star-input {
	display: inline-flex;
	gap: 2px;
}

.tlm .tlm-star-input__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: #c4cfda;
	cursor: pointer;
	transition: color .12s var(--tlm-ease), transform .12s var(--tlm-ease);
}

.tlm .tlm-star-input__star:hover {
	background: transparent;
	transform: scale(1.08);
}

.tlm .tlm-star-input__star.is-on {
	color: #f5a623;
}

.tlm .tlm-star-input__star.is-on .tlm-icon {
	fill: currentColor;
}

/* ================= Βοηθητικά ================= */

.tlm .tlm-muted { color: var(--tlm-muted); }
.tlm .tlm-small { font-size: 13px; }
.tlm .tlm-strong { font-weight: 700; color: var(--tlm-navy); }
.tlm .tlm-nowrap { white-space: nowrap; }

.tlm .tlm-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--tlm-blue-dark);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.tlm .tlm-link:hover {
	color: var(--tlm-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tlm .tlm-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	overflow: hidden;
	white-space: nowrap;
}

.tlm .tlm-only-mobile {
	display: none;
}

/* Προεπισκόπηση μη δημόσιου προφίλ (τυπώνεται από το TLM_Profile). */
.tlm-preview-banner {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 10px 16px;
	border-radius: 12px;
	background: #fff3dc;
	color: #8a5a00;
	font-size: 14px;
	font-weight: 600;
}

/* ================= Κινήσεις ================= */

@keyframes tlm-spin {
	to { transform: rotate(360deg); }
}

@keyframes tlm-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes tlm-pop {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to { opacity: 1; transform: none; }
}

@keyframes tlm-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

/* ================= Κινητά / tablet ================= */

@media (max-width: 1024px) {
	.tlm .tlm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tlm .tlm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.tlm {
		font-size: 14.5px;
	}

	.tlm .tlm-grid--2,
	.tlm .tlm-grid--3,
	.tlm .tlm-grid--4,
	.tlm .tlm-grid--sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.tlm .tlm-app__title {
		font-size: 22px;
	}

	.tlm .tlm-card {
		padding: 18px;
		border-radius: 16px;
	}

	.tlm .tlm-panel {
		padding: 20px;
	}

	.tlm .tlm-btn--block-mobile {
		display: flex;
		width: 100%;
	}

	.tlm .tlm-side-nav {
		flex-direction: row;
		padding: 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tlm .tlm-side-nav::-webkit-scrollbar {
		display: none;
	}

	.tlm .tlm-side-nav__item,
	.tlm .tlm-side-nav > a,
	.tlm .tlm-side-nav > button {
		width: auto;
		flex: none;
	}

	.tlm .tlm-table th,
	.tlm .tlm-table td {
		padding: 10px 12px;
	}

	.tlm .tlm-kv {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px 0;
	}

	.tlm .tlm-kv dd {
		margin-bottom: 8px;
	}

	.tlm-modal-backdrop {
		align-items: flex-end;
		padding: 0;
	}

	.tlm .tlm-modal,
	.tlm .tlm-modal--sm,
	.tlm .tlm-modal--lg {
		width: 100%;
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: 20px 20px 0 0;
	}

	.tlm .tlm-modal__foot .tlm-btn {
		flex: 1 1 auto;
	}

	.tlm .tlm-hide-mobile {
		display: none !important;
	}

	.tlm .tlm-only-mobile {
		display: initial;
	}

	.tlm-toasts {
		bottom: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tlm *,
	.tlm *::before,
	.tlm *::after,
	.tlm-modal-backdrop,
	.tlm-toasts * {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.tlm .tlm-card--hover:hover,
	.tlm .tlm-star-input__star:hover {
		transform: none;
	}
}
