/* Personalikoolitus LMS - front-end styles */

/* Kursuse sisu tekstisisesed lingid (nt allikaviited ametlikele lehtedele) -
   ilma selleta pärandavad need brauseri vaikimisi sinise/alakriipsutatud
   stiili, mis tundub kursuse muu kaasaegse disaini kõrval iganenud. */
.lms-subtopic-content-inner a:not(.lms-btn),
.lms-section-content-inner a:not(.lms-btn) {
	color: #1d6f42;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1.5px solid rgba(29, 111, 66, 0.35);
	padding: 0 1px;
	border-radius: 2px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.lms-subtopic-content-inner a:not(.lms-btn):hover,
.lms-section-content-inner a:not(.lms-btn):hover {
	border-bottom-color: #1d6f42;
	background-color: #e8f2fb;
}
.lms-subtopic-content-inner a[target="_blank"]:not(.lms-btn)::after,
.lms-section-content-inner a[target="_blank"]:not(.lms-btn)::after {
	content: "↗";
	display: inline-block;
	margin-left: 2px;
	font-size: 0.8em;
	font-weight: 400;
	opacity: 0.7;
}

/* Teema enda CSS-reset jätab body/pealkirjad ilma fondi ja suuruseta
   (font-size:100%, font:inherit) - ilma selleta näeks kogu sait välja
   nagu vormindamata brauseri vaikimisi tekst. Anname kogu saidile
   kaasaegse fondi ja pealkirjadele tagasi visuaalse hierarhia. */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	color: #5f6a70;
	overflow-x: hidden;
}
article .header {
	margin-bottom: 24px;
}
article .entry-title {
	font-size: 30px;
	font-weight: 700;
	color: #2f7a52;
	line-height: 1.25;
}
/* Avalehel on oma hero-pealkiri ([lms_homepage] sees) - teema "Avaleht"
   lehepealkiri jääks üleliigseks topelt-pealkirjaks. */
body.home article .header {
	display: none;
}

/* Peida teema külgriba (otsinguvidin, viimased postitused/kommentaarid) -
   seda me ei kasuta. #header (bränding + menüü) on nüüd kasutusel meie
   püsiva navigatsioonina (vt allpool "Püsiv navimenüü" plokki) - varem
   oli see täielikult peidetud, kui polnud veel oma menüüd täita. */
#sidebar {
	display: none !important;
}
#container {
	padding-top: 50px;
	padding-bottom: 30px;
}
#footer {
	max-width: 800px;
	margin: 60px auto 0;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
	color: #888;
	font-size: 13px;
}
.lms-footer-links {
	max-width: 800px;
	margin: 8px auto 40px;
	font-size: 13px;
}
.lms-footer-links a {
	color: #888;
}

/* Teema page.php lisab õppijatele mõeldud lehtedele (Minu konto, Seaded,
   Sertifikaadid) admin-kasutajale nähtava "Edit This" lingi - see on
   WordPressi enda teema jäänuk, mitte meie sisu, seega peidame selle. */
.post-edit-link {
	display: none !important;
}

/* Loetava sisu tüpograafia (kursuse kirjeldus + sektorid) */
article.lms-course,
article.lms-quiz-page {
	max-width: 800px;
	margin: 0 auto;
}
.lms-course-reminder {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 24px;
	padding: 18px 22px;
	background: #eaf6ee;
	border: 1px solid #b9dfc7;
	border-radius: 12px;
}
.lms-course-reminder-secondary {
	background: #fff;
	border-color: #e5e5e5;
	margin-top: -14px;
}
.lms-course-reminder p,
.lms-course-reminder ul {
	margin: 0;
}
.lms-course-reminder p.lms-course-reminder-label {
	font-weight: 700;
	color: #1d6f42;
	margin-bottom: 6px;
}
.lms-course-reminder ul {
	list-style: none;
	padding: 0;
}
.lms-course-reminder ul li {
	color: #2f7a52;
}
.lms-course-reminder .lms-btn {
	flex-shrink: 0;
}
.lms-course-reminder-empty {
	background: #f4f5f6;
	border-color: #e0e2e5;
}
.lms-course-reminder-empty p {
	color: #5f6a70;
}
@media (max-width: 640px) {
	.lms-course-reminder {
		flex-direction: column;
		align-items: flex-start;
	}
}
.lms-course-banner {
	margin: 0 0 24px;
}
.lms-course-banner img {
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}
.lms-course-description,
.lms-section-content,
.lms-privacy-policy,
.lms-course-intro {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #5f6a70;
}
.lms-privacy-policy,
.lms-course-intro {
	max-width: 800px;
	margin: 0 auto;
}
.lms-course-description p,
.lms-section-content p,
.lms-privacy-policy p,
.lms-course-intro p {
	margin: 0 0 16px;
}
.lms-course-description h3,
.lms-section-content h3,
.lms-privacy-policy h3,
.lms-course-intro h3 {
	font-size: 21px;
	font-weight: 700;
	margin: 30px 0 14px;
	color: #2f7a52;
	border-left: 4px solid #1d6f42;
	padding-left: 12px;
}
.lms-course-description h3:first-child,
.lms-section-content h3:first-child,
.lms-privacy-policy h3:first-child,
.lms-course-intro h3:first-child {
	margin-top: 0;
}
.lms-course-description h4,
.lms-section-content h4 {
	font-size: 17px;
	font-weight: 700;
	margin: 24px 0 10px;
	color: #1d6f42;
}
.lms-course-description h4:first-child,
.lms-section-content h4:first-child {
	margin-top: 0;
}
.lms-course-description ul,
.lms-course-description ol,
.lms-section-content ul,
.lms-section-content ol,
.lms-privacy-policy ul,
.lms-privacy-policy ol,
.lms-course-intro ul,
.lms-course-intro ol {
	margin: 0 0 18px;
	padding-left: 24px;
}
.lms-course-description ul,
.lms-section-content ul,
.lms-privacy-policy ul,
.lms-course-intro ul {
	list-style-type: disc;
}
.lms-course-description ol,
.lms-section-content ol,
.lms-privacy-policy ol,
.lms-course-intro ol {
	list-style-type: decimal;
}
.lms-course-description li,
.lms-section-content li,
.lms-privacy-policy li,
.lms-course-intro li {
	margin-bottom: 10px;
}
.lms-privacy-updated {
	margin-top: 30px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
	font-size: 14px;
	color: #888;
}

/* Esiletõste kast oluliste faktide jaoks */
.lms-callout {
	background: #fff8e6;
	border-left: 4px solid #d9a441;
	padding: 14px 18px;
	border-radius: 4px;
	margin: 20px 0;
	font-size: 18px;
	line-height: 1.65;
}

/* Riskide/kategooriate kaardistik (nt "3 peamist ohtu") */
.lms-risk-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 20px 0 28px;
}
.lms-risk-card {
	flex: 1 1 220px;
	border-radius: 8px;
	padding: 18px;
	border: 1px solid;
}
.lms-risk-card .lms-risk-icon {
	font-size: 42px;
	display: block;
	margin-bottom: 10px;
	line-height: 1;
}
.lms-risk-card h4 {
	margin: 0 0 10px;
	font-size: 18px;
}
.lms-risk-card p {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.6;
	color: #444;
}
.lms-risk-card p:last-child {
	margin-bottom: 0;
}
.lms-risk-bio {
	background: #fdecea;
	border-color: #f2b8b5;
}
.lms-risk-chem {
	background: #fdeee0;
	border-color: #f3c99a;
}
.lms-risk-phys {
	background: #e8f2fb;
	border-color: #b9d9f0;
}

/* Kursuse kirjelduse illustreeritud plokid (peatükid, eksam, vastavus, oskused) */
.lms-course-lead {
	font-size: 19px;
	color: #2f7a52;
	line-height: 1.6;
}
.lms-chapter-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 20px 0 24px;
}
.lms-chapter-card {
	flex: 1 1 220px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f7f9fb;
	border: 1px solid #e3e8ec;
	border-radius: 10px;
	padding: 14px 16px;
	transition: box-shadow 0.2s ease;
}
.lms-chapter-card:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.lms-chapter-icon {
	font-size: 28px;
	line-height: 1;
	flex: 0 0 auto;
}
.lms-chapter-name {
	font-size: 18px;
	font-weight: 600;
	color: #2f7a52;
	line-height: 1.3;
}

.lms-exam-info {
	background: #fff8e6;
	border: 1px solid #f2d9a3;
	border-radius: 10px;
	padding: 24px;
	margin: 20px 0 24px;
}
.lms-exam-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 16px;
}
.lms-exam-stat {
	text-align: center;
	flex: 1 1 100px;
}
.lms-exam-stat-number {
	display: block;
	font-size: 30px;
	font-weight: 700;
	color: #92400e;
}
.lms-exam-stat-label {
	font-size: 13px;
	color: #6b5522;
}
.lms-exam-info p {
	margin: 0;
	font-size: 18px;
	color: #5a4a20;
}

.lms-compliance-badge {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	border-radius: 10px;
	padding: 18px 20px;
	margin: 20px 0 30px;
}
.lms-compliance-icon {
	font-size: 32px;
	flex: 0 0 auto;
}
.lms-compliance-badge p {
	margin: 0;
	font-size: 18px;
	color: #2f7a52;
}

.lms-skills-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 24px;
}
.lms-skills-item {
	flex: 1 1 260px;
	background: #f7f9fb;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 18px;
	color: #5f6a70;
}

.lms-guarantee-callout {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	border-radius: 12px;
	padding: 22px 24px;
	margin: 30px 0;
}
.lms-guarantee-icon {
	font-size: 38px;
	flex: 0 0 auto;
}
.lms-guarantee-callout h3 {
	margin: 0 0 6px;
	border: none;
	padding: 0;
	font-size: 18px;
}
.lms-guarantee-callout p {
	margin: 0;
	font-size: 18px;
	color: #2f7a52;
}

.lms-course-intro-cta {
	text-align: center;
	padding: 30px 0 10px;
}

.lms-chapter-detail-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 24px;
}
.lms-chapter-detail-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #f7f9fb;
	border: 1px solid #e3e8ec;
	border-radius: 12px;
	padding: 18px 20px;
}
.lms-chapter-detail-icon {
	font-size: 30px;
	line-height: 1;
	flex: 0 0 auto;
}
.lms-chapter-detail-item h4 {
	font-size: 18px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 8px;
}
.lms-chapter-detail-item p {
	font-size: 17px;
	color: #444;
	line-height: 1.65;
	margin: 0;
}
.lms-chapter-detail-blue {
	background: #e8f2fb;
	border-color: #b9d9f0;
}
.lms-chapter-detail-red {
	background: #fdecea;
	border-color: #f2b8b5;
}
@media (max-width: 640px) {
	.lms-chapter-detail-item {
		flex-direction: column;
		gap: 8px;
	}
}

.lms-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #1d6f42;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	font-size: 15px;
	cursor: pointer;
}
.lms-btn:hover {
	background: #16512f;
	color: #fff;
}
.lms-btn-secondary {
	background: #6c757d;
}
.lms-btn-secondary:hover {
	background: #565e64;
}

.lms-form-wrap {
	max-width: 420px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e7ebee;
	border-radius: 18px;
	padding: 40px 44px;
	box-shadow: 0 8px 30px rgba(20, 60, 40, 0.06);
}
.lms-form-wrap-wide {
	max-width: 580px;
}
.lms-form-wrap.lms-contact-page {
	max-width: 760px;
}
.lms-form p {
	margin-bottom: 20px;
}
.lms-form label {
	display: block;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.2px;
	color: #3a4a42;
	margin-bottom: 6px;
}
.lms-form input[type="text"],
.lms-form input[type="email"],
.lms-form input[type="tel"],
.lms-form input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	font-size: 18px;
	font-family: inherit;
	border: 1.5px solid #dde3e6;
	border-radius: 10px;
	box-sizing: border-box;
	background: #fafcfb;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lms-form input[type="text"]:focus,
.lms-form input[type="email"]:focus,
.lms-form input[type="tel"]:focus,
.lms-form input[type="password"]:focus {
	outline: none;
	border-color: #1d6f42;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(29, 111, 66, 0.12);
}
.lms-form textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 18px;
	font-family: inherit;
	border: 1.5px solid #dde3e6;
	border-radius: 10px;
	box-sizing: border-box;
	background: #fafcfb;
	resize: vertical;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lms-form textarea:focus {
	outline: none;
	border-color: #1d6f42;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(29, 111, 66, 0.12);
}
.lms-file-field {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.lms-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.lms-file-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1.5px solid #1d6f42;
	color: #1d6f42;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 8px;
	cursor: pointer;
	margin: 0;
	transition: background 0.15s ease, color 0.15s ease;
}
.lms-file-label:hover {
	background: #1d6f42;
	color: #fff;
}
.lms-file-name {
	font-size: 14px;
	color: #6b7570;
}
/* Täislaiuses bänner - murrab välja teema sisukonteineri piirangust, et
   kataks kogu ülemise ala servast servani, mitte ei jää kitsaks/väikeseks. */
.lms-contact-banner {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-bottom: 30px;
	overflow: hidden;
}
.lms-contact-banner-img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	display: block;
}
.lms-contact-page h2 {
	font-size: 24px;
	color: #2f7a52;
	margin: 0 0 8px;
}

/* KKK leht */
.lms-faq-page {
	max-width: 760px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.lms-faq-page h2 {
	font-size: 28px;
	color: #2f7a52;
	margin: 0 0 26px;
}
.lms-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lms-faq-item {
	border: 1px solid #e3e8ec;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.lms-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	padding: 18px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #2f7a52;
	text-align: left;
	cursor: pointer;
}
.lms-faq-icon {
	flex: 0 0 auto;
	margin-left: 16px;
	font-size: 14px;
	color: #888;
	transition: transform 0.2s ease;
}
.lms-faq-item.lms-open .lms-faq-icon {
	transform: rotate(-180deg);
}
.lms-faq-answer {
	display: none;
	padding: 0 20px 18px;
	color: #444;
	font-size: 15px;
	line-height: 1.6;
}
.lms-faq-item.lms-open .lms-faq-answer {
	display: block;
}
.lms-faq-answer p {
	margin: 0;
}
.lms-contact-email {
	margin: 0 0 20px;
	font-size: 15px;
	color: #555;
}
.lms-contact-company-info {
	background: #f7faf8;
	border: 1px solid #e3ebe6;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0 0 28px;
	font-size: 14px;
	color: #444;
}
.lms-contact-company-info p {
	margin: 0 0 4px;
}
.lms-contact-company-info p:last-child {
	margin-bottom: 0;
}
.lms-contact-context {
	background: #f7faf8;
	border: 1px solid #e3ebe6;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0 0 20px;
	font-size: 14px;
	color: #444;
}
.lms-contact-context p {
	margin: 0 0 6px;
}
.lms-contact-context p:last-child {
	margin-bottom: 0;
}
.lms-contact-context-label {
	font-weight: 600;
	color: #2f7a52;
}
.lms-form small {
	display: block;
	margin-top: 6px;
	color: #8a9490;
	font-size: 12.5px;
}
.lms-form h3 {
	font-size: 17px;
	font-weight: 700;
	color: #2f7a52;
	margin: 32px 0 18px;
}
.lms-account-type-select {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 18px 0 8px;
}
.lms-radio-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	border: 1.5px solid #e2e6e5;
	border-radius: 12px;
	padding: 16px 18px;
	cursor: pointer;
	font-weight: normal;
	font-size: 14px;
	color: #444;
	background: #fafcfb;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lms-radio-card:hover {
	border-color: #b9d2c1;
}
.lms-radio-card:has(input:checked) {
	border-color: #1d6f42;
	background: #f2f8f4;
	box-shadow: 0 0 0 3px rgba(29, 111, 66, 0.08);
}
.lms-radio-card input[type="radio"] {
	margin-top: 3px;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: #1d6f42;
}
.lms-individual-fields,
.lms-company-fields {
	border-top: 1px solid #eef1f0;
	padding-top: 6px;
}
.lms-company-fields {
	display: none;
}
.lms-radio-field {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}
.lms-radio-field label {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: normal;
	font-size: 18px;
	color: #444;
	border: 1.5px solid #e2e6e5;
	border-radius: 12px;
	padding: 14px 16px;
	background: #fafcfb;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lms-radio-field label:hover {
	border-color: #b9d2c1;
}
.lms-radio-field label:has(input:checked) {
	border-color: #1d6f42;
	background: #f2f8f4;
	box-shadow: 0 0 0 3px rgba(29, 111, 66, 0.08);
}
.lms-radio-field input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: #1d6f42;
}
.lms-orderer-name-field {
	display: none;
}
.lms-consent-field label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: normal;
	font-size: 18px;
	color: #444;
}
.lms-form-wrap a,
.lms-form-wrap a:visited {
	color: #1d6f42;
	font-weight: 600;
	text-decoration: none;
}
.lms-form-wrap a:hover {
	text-decoration: underline;
}
.lms-form-footer-link {
	text-align: center;
	margin: 22px 0 0;
	padding-top: 20px;
	border-top: 1px solid #eef1f0;
	font-size: 14px;
	color: #666;
}
.lms-form-forgot-link {
	text-align: right;
	margin: -10px 0 18px;
	font-size: 13px;
}
.lms-form button[type="submit"] {
	width: 100%;
	padding: 14px 20px;
	font-size: 16px;
	border-radius: 10px;
}
@media (max-width: 640px) {
	.lms-form-wrap {
		padding: 28px 22px;
		border-radius: 14px;
	}
}
.lms-consent-field input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}
.lms-error {
	color: #b32d2e;
	background: #fbeaea;
	border: 1px solid #e5b3b3;
	padding: 10px 14px;
	border-radius: 4px;
}
.lms-success {
	color: #1d6f42;
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	padding: 10px 14px;
	border-radius: 4px;
}
.lms-claim-existing-account {
	text-align: center;
	margin: 4px 0 24px;
}
.lms-claim-existing-account-link {
	display: inline-block;
	padding: 12px 22px;
	background: #1d6f42;
	color: #fff !important;
	text-decoration: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	animation: lms-claim-pulse 1.6s ease-in-out infinite;
}
.lms-claim-existing-account-link:hover {
	background: #16512f;
	color: #fff !important;
	animation-play-state: paused;
}
@keyframes lms-claim-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(29, 111, 66, 0.45);
	}
	50% {
		transform: scale(1.045);
		box-shadow: 0 0 0 10px rgba(29, 111, 66, 0);
	}
}
.lms-muted {
	color: #666;
}
.lms-delete-account-section {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid #eef1f0;
}
.lms-delete-account-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 17px;
	font-weight: 600;
	color: #b32d2e;
}
.lms-delete-account-toggle-icon {
	transition: transform 0.2s ease;
	font-size: 14px;
}
.lms-delete-account-section.lms-open .lms-delete-account-toggle-icon {
	transform: rotate(-180deg);
}
.lms-delete-account-content {
	display: none;
	margin-top: 16px;
}
.lms-delete-account-section.lms-open .lms-delete-account-content {
	display: block;
}
.lms-delete-notice {
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 14px;
	margin-bottom: 16px;
}
.lms-delete-notice-full {
	background: #fbeaea;
	border: 1px solid #e5b3b3;
	color: #7a2422;
}
.lms-delete-notice-retain {
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	color: #205c33;
	display: none;
}
.lms-delete-notice-info {
	background: #eaf1fb;
	border: 1px solid #b3cbe5;
	color: #1f3d63;
}
.lms-btn-danger {
	background: #b32d2e;
}
.lms-btn-danger:hover {
	background: #8f2423;
}
.lms-retention-preview {
	background: #f7f9fb;
	border: 1px solid #e3e8ec;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 13.5px;
	color: #444;
}
.lms-retention-preview p {
	margin: 0 0 6px;
}
.lms-retention-preview ul {
	margin: 0;
	padding-left: 18px;
}

/* Progress bar */
.lms-progress-bar {
	background: #e5e5e5;
	border-radius: 6px;
	height: 14px;
	overflow: hidden;
	margin-bottom: 6px;
}
.lms-progress-bar-fill {
	background: #1d6f42;
	height: 100%;
}

/* Konto, Seaded ja Sertifikaadid lehed - ühtne "dashboard" paigutus */
.lms-account,
.lms-certificates-list {
	max-width: 800px;
	margin: 0 auto;
}
.lms-account-greeting {
	font-size: 18px;
	color: #444;
	margin: 0 0 8px;
}
.lms-account h2 {
	font-size: 22px;
	font-weight: 700;
	color: #2f7a52;
	margin: 30px 0 16px;
}

/* Account page course list */
.lms-course-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.lms-course-card {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 22px;
	flex: 1 1 280px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lms-course-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.lms-course-card h3 {
	font-size: 19px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 12px;
}

/* Ettevõtte tellimused (Minu tellimused) */
.lms-orders {
	max-width: 800px;
	margin: 0 auto;
}
.lms-orders h2 {
	font-size: 22px;
	font-weight: 700;
	color: #2f7a52;
	margin: 36px 0 16px;
}
.lms-orders h2:first-child {
	margin-top: 0;
}
.lms-order-form {
	background: #f7f9fb;
	border: 1px solid #e3e8ec;
	border-radius: 12px;
	padding: 24px;
	max-width: 420px;
}
.lms-order-form select {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid #dde3e6;
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
}
.lms-order-form input[type="number"] {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid #dde3e6;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}
.lms-order-price-preview {
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 16px;
	font-weight: 700;
	color: #2f7a52;
	text-align: center;
}
.lms-order-summary-box {
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 16px;
}
.lms-order-summary-line {
	display: block;
	font-size: 16px;
	color: #2f7a52;
	padding: 4px 0;
}
.lms-order-summary-line:last-child {
	font-weight: 700;
	font-size: 18px;
	border-top: 1px solid #b3ddc0;
	margin-top: 6px;
	padding-top: 10px;
}
.lms-order-review-actions {
	display: flex;
	gap: 12px;
}
.lms-order-discount-hint {
	margin: -14px 0 16px;
	font-size: 13px;
	color: #b45f04;
	text-align: center;
}
.lms-order-discount-badge {
	display: inline-block;
	background: #fdf1de;
	color: #b45f04;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 10px;
}
.lms-order-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.lms-order-card {
	flex: 1 1 320px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 22px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.lms-order-card h3 {
	font-size: 18px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 12px;
}
.lms-order-history-heading {
	margin: 28px 0 12px;
	font-size: 16px;
	color: #5f6a70;
}
.lms-order-card-history {
	background: #f4f5f6;
	box-shadow: none;
}
.lms-order-history-more {
	margin-top: 20px;
}
.lms-order-history-toggle {
	margin-top: 16px;
}
.lms-order-card-history h3 {
	color: #8a9199;
}
.lms-order-status-pending {
	color: #92400e;
	background: #fdf3e0;
	border: 1px solid #f2d9a3;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	margin: 0;
}
.lms-order-link-label,
.lms-order-employees-label {
	font-size: 13px;
	font-weight: 700;
	color: #3a4a42;
	margin: 16px 0 6px;
}
.lms-order-link-row {
	display: flex;
	gap: 8px;
}
.lms-order-link-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 10px;
	border: 1.5px solid #dde3e6;
	border-radius: 8px;
	font-size: 13px;
	background: #fafcfb;
	color: #555;
}
.lms-order-employees {
	margin: 6px 0 0;
	padding-left: 18px;
	font-size: 14px;
	color: #444;
}
.lms-order-employees li {
	margin-bottom: 4px;
}
.lms-order-invite-note {
	background: #eaf6ee;
	border: 1px solid #b3ddc0;
	border-radius: 10px;
	padding: 16px 18px;
	font-size: 14px;
	color: #2f7a52;
	margin-bottom: 24px;
}
.lms-order-billing {
	background: #f7f9fb;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 14px;
}
.lms-order-billing p {
	font-size: 13px;
	color: #444;
	margin: 0 0 4px;
}
.lms-order-billing p:last-child {
	margin-bottom: 0;
}
.lms-order-billing-label {
	font-weight: 700;
	color: #3a4a42;
}
.lms-order-paid-yes {
	color: #1d6f42;
	font-weight: 700;
}
.lms-order-paid-no {
	color: #92400e;
	font-weight: 700;
}
.lms-order-employee-done {
	color: #1d6f42;
	font-weight: 600;
}
.lms-order-employee-pending {
	color: #92400e;
	font-weight: 600;
}
.lms-order-history {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lms-order-history-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background: #f7f9fb;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 14px;
}
.lms-order-history-meta {
	display: block;
	color: #777;
	font-size: 12.5px;
	margin-top: 2px;
}
.lms-order-history-status {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: #1d6f42;
	font-weight: 700;
	font-size: 13px;
}
.lms-btn-sm {
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
}

/* Ettevõtte "Minu konto" vaade */
.lms-company-summary {
	background: #f7f9fb;
	border: 1px solid #e3e8ec;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 20px;
}
.lms-company-summary p {
	font-size: 15px;
	color: #5f6a70;
	margin: 0 0 6px;
}
.lms-company-summary p:last-child {
	margin-bottom: 0;
}
.lms-company-summary-label {
	font-weight: 700;
	color: #2f7a52;
}
.lms-company-welcome-guide {
	background: #fff8e6;
	border: 1px solid #f2d9a3;
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 20px;
}
.lms-company-welcome-guide h3 {
	font-size: 16px;
	font-weight: 700;
	color: #92400e;
	margin: 0 0 12px;
}
.lms-company-welcome-guide ol {
	margin: 0;
	padding-left: 20px;
	color: #5a4a20;
	font-size: 14px;
	line-height: 1.7;
}
.lms-company-welcome-guide .lms-welcome-guide-cta,
.lms-course-reminder .lms-welcome-guide-cta {
	display: inline-block;
	width: auto;
	margin-top: 16px;
	padding: 10px 20px;
	color: #fff;
	text-align: center;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
}
.lms-company-welcome-guide .lms-welcome-guide-cta {
	background: #92400e;
}
.lms-company-welcome-guide .lms-welcome-guide-cta:hover {
	background: #78350c;
	color: #fff;
}
.lms-course-reminder .lms-welcome-guide-cta {
	background: #1d6f42;
}
.lms-course-reminder .lms-welcome-guide-cta:hover {
	background: #16512f;
	color: #fff;
}

/* Course sections accordion */
.lms-sections {
	margin: 24px 0;
}
.lms-section {
	border: 1px solid #ddd;
	border-radius: 6px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}
.lms-section-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f3f3f3;
	border: none;
	padding: 14px 16px;
	text-align: left;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.2s ease;
}
.lms-section-done .lms-section-toggle {
	background: #eaf6ee;
}
.lms-section.lms-open {
	border-color: #a9cbe8;
}
.lms-section.lms-open .lms-section-toggle {
	background: #e6f0fa;
}
.lms-section-locked .lms-section-toggle {
	background: #f3f3f3;
	color: #888;
	cursor: not-allowed;
}
.lms-section-locked .lms-section-index {
	background: #b5b5b5;
}
.lms-section-lock-icon {
	margin-left: auto;
	flex-shrink: 0;
}
.lms-section-locked-message {
	position: relative;
}
.lms-section-locked-message::after {
	content: attr(data-message);
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 6px;
	background: #333;
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 5;
}
.lms-section-locked-message.lms-section-locked-message-shown::after {
	opacity: 1;
}
.lms-section-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1d6f42;
	color: #fff;
	font-size: 13px;
	flex-shrink: 0;
}
.lms-section-title {
	flex-grow: 1;
	font-weight: 600;
}
.lms-section-status {
	color: #1d6f42;
	font-size: 14px;
}
.lms-section-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}
.lms-section.lms-open .lms-section-content {
	grid-template-rows: 1fr;
}
.lms-section-content-inner {
	overflow: hidden;
	min-height: 0;
	padding: 0 20px;
	border-top: 1px solid #ddd;
	transition: padding 0.35s ease;
}
.lms-section.lms-open .lms-section-content-inner {
	padding: 16px 20px;
}

.lms-complete-form {
	margin-top: 28px;
	text-align: center;
}
.lms-mark-complete {
	font-size: 17px;
	font-weight: 700;
	padding: 14px 36px;
	background: #2f7a52;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(20, 83, 45, 0.3);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lms-mark-complete:hover {
	background: #0f3d21;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(20, 83, 45, 0.35);
}

/* Quiz */
.lms-quiz-question {
	background: #fff;
	border: 1px solid #e3e8ec;
	border-radius: 14px;
	padding: 20px 22px;
	margin-bottom: 16px;
	box-shadow: 0 1px 3px rgba(20, 60, 40, 0.03);
}
.lms-quiz-question:last-child {
	margin-bottom: 0;
}
.lms-quiz-question-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}
.lms-quiz-question-number {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #1d6f42;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	margin-top: 1px;
}
.lms-quiz-question-text {
	margin: 0;
	padding-top: 3px;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.5;
	color: #2b3430;
}
.lms-quiz-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.lms-quiz-option {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid #e2e6e5;
	border-radius: 10px;
	background: #fafcfb;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lms-quiz-option:hover {
	border-color: #b9d2c1;
}
.lms-quiz-option:has(input:checked) {
	border-color: #1d6f42;
	background: #f2f8f4;
	box-shadow: 0 0 0 3px rgba(29, 111, 66, 0.1);
}
.lms-quiz-option:has(input:disabled) {
	cursor: default;
}
.lms-quiz-option input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #1d6f42;
}
.lms-quiz-option-letter {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: #eef1f0;
	color: #5f6a70;
	font-size: 12px;
	font-weight: 700;
	transition: background 0.15s ease, color 0.15s ease;
}
.lms-quiz-option-text {
	flex: 1 1 auto;
	font-size: 15px;
	line-height: 1.5;
	color: #3a4a42;
}
.lms-quiz-option-correct {
	border-color: #1d6f42;
	background: #eaf6ee;
}
.lms-quiz-option-correct .lms-quiz-option-letter {
	background: #1d6f42;
	color: #fff;
}
.lms-quiz-option-correct .lms-quiz-option-text {
	color: #1d6f42;
	font-weight: 600;
}
.lms-quiz-option-incorrect {
	border-color: #b32d2e;
	background: #fbeaea;
}
.lms-quiz-option-incorrect .lms-quiz-option-letter {
	background: #b32d2e;
	color: #fff;
}
.lms-quiz-option-incorrect .lms-quiz-option-text {
	color: #b32d2e;
	font-weight: 600;
}
.lms-quiz-explanation {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}
.lms-quiz-explanation-correct {
	background: #eaf6ee;
	color: #2f7a52;
}
.lms-quiz-explanation-incorrect {
	background: #fbeaea;
	color: #b32d2e;
}

/* Certificate */
body.lms-certificate-page {
	background: #f0f0f0;
	font-family: Georgia, 'Times New Roman', serif;
	margin: 0;
	padding: 40px 20px;
}
.lms-certificate-actions {
	max-width: 800px;
	margin: 0 auto 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-family: Arial, sans-serif;
}
.lms-cert-lang-switch {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #888;
}
.lms-cert-lang-switch a {
	color: #1d6f42;
	text-decoration: none;
}
.lms-cert-lang-switch a:hover {
	text-decoration: underline;
}
.lms-cert-lang-current {
	color: #2f7a52;
}
.lms-certificate {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.lms-certificate-border {
	border: 10px solid #1d6f42;
	padding: 60px 50px;
	text-align: left;
}
.lms-certificate-heading {
	text-align: center;
	margin-bottom: 36px;
}
.lms-certificate-icon {
	width: 46px;
	height: 46px;
	display: block;
	margin: 0 auto 12px;
}
.lms-certificate-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 27px;
	font-weight: bold;
	color: #1d6f42;
	margin: 0;
}
.lms-certificate-meta {
	margin-bottom: 26px;
}
.lms-certificate-meta p {
	font-size: 18px;
	margin: 6px 0;
}
.lms-certificate-label {
	color: #555;
	font-weight: bold;
	margin-right: 6px;
}
.lms-certificate-body {
	font-size: 19px;
	line-height: 1.6;
	margin: 0 0 24px;
}
.lms-certificate-regulation {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
	margin: 0 0 40px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}
.lms-certificate-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.lms-certificate-footer-text p {
	font-size: 14px;
	color: #444;
	margin: 4px 0;
}
.lms-certificate-stamp-wrap {
	flex: 0 0 auto;
	text-align: center;
}
.lms-certificate-stamp {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	border: 3px double #1d6f42;
	color: #1d6f42;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transform: rotate(-9deg);
	opacity: 0.85;
}
.lms-certificate-stamp-ring-text {
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.3;
	padding: 0 10px;
}
.lms-certificate-stamp-check {
	font-size: 30px;
	line-height: 1;
	margin: 4px 0;
}

@media print {
	@page { margin: 0; }
	.no-print { display: none !important; }
	body.lms-certificate-page { background: #fff; padding: 20px; margin: 0; }
	.lms-certificate { box-shadow: none; }
	body.lms-invoice-page { background: #fff; padding: 20px; margin: 0; }
	.lms-invoice { box-shadow: none; }
}

/* Arve (templates/invoice.php) */
body.lms-invoice-page {
	background: #f0f0f0;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 40px 20px;
}
.lms-invoice {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	padding: 50px;
}
.lms-invoice-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 20px;
	border-bottom: 3px solid #1d6f42;
	padding-bottom: 24px;
	margin-bottom: 30px;
}
.lms-invoice-logo {
	display: block;
	height: 56px;
	width: auto;
	margin: 0 0 14px;
}
.lms-invoice-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 14px;
	font-weight: bold;
	color: #1d6f42;
	margin: 0 0 4px;
}
.lms-invoice-header h1 {
	margin: 0;
	font-size: 30px;
	color: #1d6f42;
}
.lms-invoice-header-meta p {
	margin: 4px 0;
	font-size: 14px;
	text-align: right;
}
.lms-invoice-parties {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: 34px;
}
.lms-invoice-parties > div {
	flex: 1 1 260px;
}
.lms-invoice-parties p {
	margin: 3px 0;
	font-size: 14px;
}
.lms-invoice-party-label {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	color: #888;
	font-weight: bold;
	margin: 0 0 8px;
}
.lms-invoice-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}
.lms-invoice-table th,
.lms-invoice-table td {
	padding: 10px 8px;
	text-align: left;
	font-size: 14px;
	border-bottom: 1px solid #e5e5e5;
}
.lms-invoice-table th {
	color: #555;
	font-weight: bold;
	border-bottom: 2px solid #1d6f42;
}
.lms-invoice-table td:nth-child(2), .lms-invoice-table th:nth-child(2),
.lms-invoice-table td:nth-child(3), .lms-invoice-table th:nth-child(3),
.lms-invoice-table td:nth-child(4), .lms-invoice-table th:nth-child(4) {
	text-align: right;
}
.lms-invoice-totals {
	max-width: 320px;
	margin: 0 0 30px auto;
}
.lms-invoice-totals p {
	display: flex;
	justify-content: space-between;
	margin: 6px 0;
	font-size: 14px;
}
.lms-invoice-totals p.lms-invoice-total-row {
	border-top: 2px solid #1d6f42;
	padding-top: 10px;
	margin-top: 10px;
	font-size: 18px;
	font-weight: bold;
	color: #1d6f42;
}
.lms-invoice-payment {
	background: #f7faf8;
	border-radius: 8px;
	padding: 20px 24px;
}
.lms-invoice-payment p {
	margin: 4px 0;
	font-size: 14px;
}

/* Õppeanimatsioonid */
.lms-animation {
	margin: 24px 0;
}
.lms-animation-title {
	font-weight: 600;
	text-align: center;
	margin-bottom: 12px;
}
.lms-bacteria-zones {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.lms-bacteria-zone {
	flex: 1 1 160px;
	border-radius: 8px;
	padding: 16px 12px;
	text-align: center;
}
.lms-zone-cold {
	background: #e8f2fb;
	border: 1px solid #b9d9f0;
}
.lms-zone-danger {
	background: #fdecea;
	border: 1px solid #f2b8b5;
}
.lms-zone-hot {
	background: #fdeee0;
	border: 1px solid #f3c99a;
}
.lms-zone-very-hot {
	background: #e8f5ea;
	border: 1px solid #b7dfc0;
}
.lms-zone-label {
	font-weight: 700;
	margin-bottom: 8px;
}
.lms-zone-label span {
	display: block;
	font-weight: 400;
	font-size: 13px;
	color: #555;
}
.lms-zone-caption {
	font-size: 13px;
	color: #555;
	margin-top: 8px;
	margin-bottom: 0;
}
.lms-bacteria-icon {
	display: inline-block;
	font-size: 2.2rem;
	line-height: 1;
}
.lms-bacteria-multiply {
	min-height: 2.4rem;
}
.lms-bacteria-multiply .lms-bacteria-icon {
	font-size: 1.7rem;
	margin: 0 2px;
	animation: lms-bacteria-pop 2.4s ease-in-out infinite;
}
.lms-frozen {
	filter: grayscale(1) brightness(1.3);
	opacity: 0.7;
}
.lms-dying {
	animation: lms-bacteria-die 3s ease-in infinite;
}

@keyframes lms-bacteria-pop {
	0%   { transform: scale(0); opacity: 0; }
	20%  { transform: scale(1.15); opacity: 1; }
	35%  { transform: scale(1); opacity: 1; }
	80%  { transform: scale(1); opacity: 1; }
	100% { transform: scale(0); opacity: 0; }
}
@keyframes lms-bacteria-die {
	0%, 55% { transform: scale(1) rotate(0deg); opacity: 1; filter: none; }
	100%    { transform: scale(0.2) rotate(25deg); opacity: 0; filter: blur(2px); }
}

@media (prefers-reduced-motion: reduce) {
	.lms-bacteria-multiply .lms-bacteria-icon,
	.lms-dying {
		animation: none !important;
	}
}

/* Praktilised juhtumid (case study'd) */
.lms-case-study {
	margin: 24px 0;
	padding: 18px 20px;
	background: #f7f9fb;
	border: 1px solid #d8e0e7;
	border-left: 4px solid #1d6f42;
	border-radius: 6px;
}
.lms-case-badge {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	font-weight: 700;
	color: #1d6f42;
	margin: 0 0 8px;
}
.lms-case-question {
	font-weight: 600;
	font-size: 16px;
	margin: 0 0 14px;
}
.lms-case-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.lms-case-option {
	text-align: left;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 10px 14px;
	cursor: pointer;
	font-size: 15px;
}
.lms-case-option:hover:not(:disabled) {
	border-color: #1d6f42;
}
.lms-case-option:disabled {
	cursor: default;
}
.lms-case-option.lms-case-correct {
	background: #eaf6ee;
	border-color: #1d6f42;
	font-weight: 600;
}
.lms-case-option.lms-case-incorrect {
	background: #fbeaea;
	border-color: #b32d2e;
}
.lms-case-feedback {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 4px;
	font-size: 14px;
}
.lms-case-feedback p,
.lms-tf-feedback p {
	margin: 0;
}
.lms-case-retry,
.lms-tf-retry {
	margin-top: 10px;
}
.lms-case-feedback-correct {
	background: #eaf6ee;
	color: #1d6f42;
}
.lms-case-feedback-incorrect {
	background: #fbeaea;
	color: #b32d2e;
}

/* Tõsi/Väär mullid */
.lms-tf {
	margin: 20px 0;
	padding: 14px 18px;
	background: #fff;
	border: 1px dashed #b7c4cf;
	border-radius: 6px;
}
.lms-tf-statement {
	font-weight: 600;
	margin: 0 0 12px;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.lms-tf-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1d6f42;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.lms-tf-options {
	display: flex;
	gap: 10px;
}
.lms-tf-option {
	flex: 1;
	padding: 8px 0;
	border: 1px solid #ccd0d4;
	border-radius: 20px;
	background: #f7f9fb;
	cursor: pointer;
	font-weight: 600;
}
.lms-tf-option:hover:not(:disabled) {
	border-color: #1d6f42;
}
.lms-tf-option:disabled {
	cursor: default;
}
.lms-tf-option.lms-tf-correct {
	background: #eaf6ee;
	border-color: #1d6f42;
	color: #1d6f42;
}
.lms-tf-option.lms-tf-incorrect {
	background: #fbeaea;
	border-color: #b32d2e;
	color: #b32d2e;
}
.lms-tf-feedback {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 14px;
}
.lms-tf-feedback-correct {
	background: #eaf6ee;
	color: #1d6f42;
}
.lms-tf-feedback-incorrect {
	background: #fbeaea;
	color: #b32d2e;
}
.lms-tf-options-vertical {
	flex-direction: column;
}
.lms-tf-options-vertical .lms-tf-option {
	flex: none;
	text-align: left;
	padding: 10px 14px;
	border-radius: 8px;
}

/* Alateema (pesastatud) akordion */
.lms-subtopic {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 12px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s ease;
}
.lms-subtopic-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	background: #f7f9fb;
	border: none;
	padding: 12px 16px;
	text-align: left;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	color: #2f7a52;
	transition: background 0.2s ease;
}
.lms-subtopic.lms-open {
	border-color: #a9cbe8;
}
.lms-subtopic.lms-open .lms-subtopic-toggle {
	background: #e6f0fa;
}
.lms-subtopic-title {
	flex: 1;
}
.lms-subtopic-check {
	display: none;
	color: #1d6f42;
	font-size: 16px;
	flex-shrink: 0;
}
.lms-subtopic.lms-subtopic-read .lms-subtopic-check {
	display: inline;
}
.lms-subtopic-locked .lms-subtopic-toggle {
	background: #f3f3f3;
	color: #888;
	cursor: not-allowed;
}
.lms-subtopic-lock-icon {
	flex-shrink: 0;
}
.lms-subtopic-locked-message {
	position: relative;
}
.lms-subtopic-locked-message::after {
	content: attr(data-message);
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 6px;
	background: #333;
	color: #fff;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 5;
}
.lms-subtopic-locked-message.lms-subtopic-locked-message-shown::after {
	opacity: 1;
}
.lms-subtopic-caret {
	color: #888;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.lms-subtopic.lms-open .lms-subtopic-caret {
	transform: rotate(180deg);
}
.lms-subtopic-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}
.lms-subtopic-content-inner {
	overflow: hidden;
	min-height: 0;
	padding: 0 20px;
	border-top: 1px solid #eee;
	transition: padding 0.35s ease;
}
.lms-subtopic.lms-open .lms-subtopic-content-inner {
	padding: 18px 20px;
}
.lms-subtopic-next-wrap {
	margin-top: 22px;
	text-align: center;
}
.lms-subtopic-next-hint {
	margin: 10px 0 0;
	font-size: 13px;
	color: #8a7548;
}
.lms-subtopic-next {
	font-size: 15px;
	font-weight: 600;
	padding: 10px 22px;
	background: #1d6f42;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
.lms-subtopic-next:hover {
	background: #16512f;
	transform: translateY(-1px);
}
.lms-subtopic-next:disabled:not(.lms-subtopic-next-success) {
	background: #cfd6d2;
	color: #7a8580;
	cursor: not-allowed;
	transform: none;
}
.lms-subtopic.lms-open .lms-subtopic-content {
	grid-template-rows: 1fr;
}
.lms-subtopic-content p:last-child {
	margin-bottom: 0;
}

/* Kätepesu animatsioon (6 sammu) */
.lms-handwash-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.lms-handwash-step {
	flex: 1 1 90px;
	text-align: center;
	padding: 14px 6px;
	border-radius: 8px;
	background: #f0f6f2;
	border: 2px solid transparent;
	animation: lms-handwash-highlight 4.8s ease-in-out infinite;
}
.lms-handwash-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 6px;
}
.lms-handwash-label {
	font-size: 12px;
	font-weight: 600;
	color: #5f6a70;
}
@keyframes lms-handwash-highlight {
	0%, 12%  { border-color: #1d6f42; background: #eaf6ee; transform: scale(1.06); }
	16%, 100% { border-color: transparent; background: #f0f6f2; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.lms-handwash-step {
		animation: none !important;
	}
}

/* "Pimedate nurkade" kaardistik (nt kätepesu sageli unustatud kohad) */
.lms-hotspot-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 20px 0 28px;
}
.lms-hotspot-card {
	flex: 1 1 200px;
	border-radius: 8px;
	padding: 18px;
	background: #eef3f8;
	border: 1px solid #cfdce8;
}
.lms-hotspot-card .lms-hotspot-icon {
	font-size: 34px;
	display: block;
	margin-bottom: 8px;
	line-height: 1;
}
.lms-hotspot-card h4 {
	margin: 0 0 8px !important;
	font-size: 18px !important;
}
.lms-hotspot-card p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #444;
}

/* Kinnitusanimatsioonid (alateema "Loetud" nupp + linnuke) */
.lms-subtopic-next.lms-subtopic-next-success {
	background: #2f7a52;
	cursor: default;
	animation: lms-btn-success-pulse 0.5s ease;
}
@keyframes lms-btn-success-pulse {
	0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 111, 66, 0.35); }
	35%  { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(29, 111, 66, 0.15); }
	100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 111, 66, 0); }
}
.lms-subtopic.lms-subtopic-read .lms-subtopic-check {
	animation: lms-check-pop 0.4s ease;
}
@keyframes lms-check-pop {
	0%   { transform: scale(0); opacity: 0; }
	60%  { transform: scale(1.3); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.lms-subtopic-next.lms-subtopic-next-success,
	.lms-subtopic.lms-subtopic-read .lms-subtopic-check {
		animation: none !important;
	}
}

/* Allergeenide sildikesed */
.lms-allergen-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 20px;
}
.lms-allergen-tag {
	background: #fdeee0;
	border: 1px solid #f3c99a;
	color: #7a4a12;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	display: inline-block;
}

/* Peatükitest (vahetest) */
.lms-section-test {
	margin-top: 10px;
}
.lms-section-test-questions {
	display: flex;
	flex-direction: column;
}
.lms-section-test-feedback {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
}
.lms-section-test-feedback-correct {
	background: #eaf6ee;
	color: #2f7a52;
}
.lms-section-test-feedback-incorrect {
	background: #fbeaea;
	color: #b32d2e;
}
.lms-section-test-actions {
	text-align: center;
	margin-top: 20px;
}

/* Konto-nupp - JS ( lms-frontend.js ) tõstab selle DOM-is teema navigatsiooni
   ("#menu") sisse, et see oleks osa püsivast navimenüüst, mitte ei kataks
   lehe sisu ujuva elemendina nagu varem. */
.lms-account-widget {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Keele valik - nupp näitab ainult praegust valitud lippu, vajutades avaneb
   rippmenüü teiste keeltega (hetkel visuaalne valik, tõlgitud sisu tuleb hiljem). */
.lms-lang-switcher {
	position: relative;
	flex: 0 0 auto;
}
.lms-lang-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 5px 6px;
	border-radius: 6px;
	cursor: pointer;
}
.lms-lang-toggle:hover {
	background: #f5f8f6;
}
.lms-lang-toggle-flag {
	font-size: 17px;
	line-height: 1;
}
.lms-lang-toggle-caret {
	font-size: 10px;
	color: #888;
	transition: transform 0.2s ease;
}
.lms-lang-switcher.lms-open .lms-lang-toggle-caret {
	transform: rotate(180deg);
}
.lms-lang-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 9999;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	min-width: 170px;
	overflow: hidden;
}
.lms-lang-switcher.lms-open .lms-lang-menu {
	display: block;
}
.lms-lang-flag {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: none;
	border: none;
	padding: 10px 14px;
	font-size: 14px;
	color: #5f6a70;
	text-align: left;
	cursor: pointer;
}
.lms-lang-flag-icon {
	font-size: 17px;
	line-height: 1;
}
.lms-lang-flag:hover {
	background: #f7f9fb;
}
.lms-lang-flag-active {
	background: #eaf6ee;
	color: #1d6f42;
	font-weight: 600;
}

/* Püsiv navimenüü - teema (blankslate) enda #header/#menu struktuur, mida
   teema ise üldse ei stiili (0 rida CSS-i teema style.css failis), seega
   anname sellele siin täieliku välimuse. Konto-nupp (.lms-account-widget)
   tõstetakse siia JS-iga #menu sisse, et kõik püsiks samas navireas. */
#header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 24px;
	background: #fff;
	border-bottom: 1px solid #eee;
	padding: 14px 24px;
}
#branding {
	margin-right: auto;
}
#site-title a {
	font-weight: 700;
	font-size: 19px;
	color: #2f7a52;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}
.lms-site-logo {
	display: block;
	height: 42px;
	width: auto;
}
#site-description {
	display: none;
}
#menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex: 1 1 auto;
	justify-content: flex-end;
	gap: 10px 20px;
}
#menu #search {
	display: none;
}
.lms-primary-menu {
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lms-primary-menu a {
	color: #5f6a70;
	text-decoration: none;
	font-weight: 600;
	font-size: 18px;
}
.lms-primary-menu a:hover,
.lms-primary-menu .current-menu-item a {
	color: #1d6f42;
}
.lms-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	background: none;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	padding: 0;
	flex: 0 0 auto;
}
.lms-nav-toggle:hover {
	background: #f5f8f6;
}
.lms-nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #2f7a52;
	transition: transform 0.25s ease, opacity 0.2s ease;
}
/* Hamburgeri 3 riba muutub avamisel X-kujuliseks (keskmine riba kaob,
   ülemine/alumine pöörduvad ristuma), et menüü sulgemine oleks selge. */
.lms-nav-toggle.lms-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.lms-nav-toggle.lms-open span:nth-child(2) {
	opacity: 0;
}
.lms-nav-toggle.lms-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 780px) {
	#header {
		padding: 10px 12px;
	}
	#branding {
		flex: 1 1 100%;
		margin-right: 0;
		margin-bottom: 4px;
	}
	#site-title a {
		font-size: 16px;
	}
	.lms-site-logo {
		height: 34px;
	}
	/* Kolmeveeruline paigutus: hamburger vasakul, keele valik keskel (võrdselt
	   tsentreeritud vaba ruumis vasaku ja parema veeru vahel), konto-nupp
	   paremal - selgem ja ühtlasem kui varasem "kõik vasakus servas koos". */
	#menu {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		flex: 1 1 100%;
	}
	.lms-nav-toggle {
		display: flex;
		grid-column: 1;
	}
	.lms-lang-switcher {
		grid-column: 2;
		justify-self: center;
	}
	#menu .lms-account-widget {
		grid-column: 3;
		justify-self: end;
	}
	.lms-primary-menu {
		display: none;
		flex-direction: column;
		gap: 2px;
		grid-column: 1 / -1;
		width: 100%;
		padding-top: 10px;
		border-top: 1px solid #eee;
		margin-top: 8px;
	}
	.lms-primary-menu.lms-open {
		display: flex;
	}
	.lms-primary-menu a {
		display: block;
		text-align: center;
		padding: 14px 4px;
		font-size: 19px;
	}
}

.lms-account-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 6px 14px 6px 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: #2f7a52;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.lms-account-toggle:hover {
	border-color: #1d6f42;
}
.lms-account-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1d6f42;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
}
/* Konto-nupu külalise (mitte sisse logitud) variant - "Logi sisse | Registreeru" */
.lms-account-widget-guest {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 8px 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.lms-guest-link {
	font-size: 14px;
	font-weight: 600;
	color: #2f7a52;
	text-decoration: none;
}
.lms-guest-link:hover {
	text-decoration: underline;
}
.lms-guest-link-primary {
	background: #1d6f42;
	color: #fff;
	padding: 6px 14px;
	border-radius: 16px;
}
.lms-guest-link-primary:hover {
	background: #16512f;
	text-decoration: none;
}

/* Kursuse lõpueksam "Alusta testi" nupu all */
.lms-final-exam {
	text-align: center;
}
.lms-final-exam-card {
	background: #f7f9fb;
	border: 1px solid #d8e0e7;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.lms-exam-page {
	max-width: 760px;
	margin: 0 auto;
}
.lms-exam-intro-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.lms-exam-timer {
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: #2f7a52;
	background: #eef4ef;
	border: 1px solid #cfe0d3;
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 24px;
}
.lms-exam-timer.lms-exam-timer-warning {
	color: #92400e;
	background: #fdf3e0;
	border-color: #f2d9a3;
}
.lms-final-exam-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
}
.lms-final-exam-icon {
	font-size: 40px;
	line-height: 1;
}
.lms-final-exam-title {
	margin: 0;
	font-size: 26px;
	color: #2f7a52;
}
.lms-final-exam-intro {
	color: #444;
	font-size: 16px;
	margin: 0 0 20px;
}
.lms-final-exam-divider {
	border: none;
	border-top: 1px solid #d8e0e7;
	margin: 0 0 24px;
}

/* Avaleht */
.lms-homepage {
	max-width: 960px;
	margin: 0 auto;
}
.lms-btn-lg {
	padding: 14px 32px;
	font-size: 17px;
	border-radius: 6px;
}
.lms-btn-accent {
	background: #d97706;
}
.lms-btn-accent:hover {
	background: #b45f04;
}
.lms-hero {
	padding: 40px 20px 60px;
}
.lms-hero-grid {
	display: flex;
	align-items: center;
	gap: 48px;
}
.lms-hero-content {
	flex: 1 1 380px;
}
.lms-hero-media {
	flex: 1 1 360px;
}
.lms-hero-photo {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	display: block;
}
.lms-hero-title {
	font-size: 38px;
	font-weight: 700;
	color: #2f7a52;
	line-height: 1.25;
	margin: 0 0 18px;
}
.lms-hero-subtitle {
	font-size: 18px;
	color: #444;
	margin: 0 0 28px;
	line-height: 1.6;
}
@media (max-width: 760px) {
	.lms-hero-grid {
		flex-direction: column;
		text-align: center;
	}
	.lms-hero-media {
		order: -1;
		/* Täislaiuses pilt nutitelefonis - murrab välja hero padding'ust
		   servast servani, ilma kumerate nurkadeta. "align-self: stretch"
		   on vajalik, sest .lms-hero-grid "align-items: center" (arvutivaate
		   reeglist) muidu tsentreerib selle 100vw kasti veel omakorda valesti. */
		align-self: stretch;
		flex: none;
		width: 100vw;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
	}
	.lms-hero-photo {
		border-radius: 0;
		box-shadow: none;
	}
}

.lms-steps {
	padding: 40px 20px;
}
.lms-steps h2 {
	text-align: center;
	font-size: 26px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 32px;
}
.lms-steps-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.lms-step {
	flex: 1 1 210px;
	text-align: center;
	padding: 26px 20px;
	background: #f7faf8;
	border-radius: 12px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lms-step:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}
.lms-step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	color: #1d6f42;
}
.lms-step-icon svg {
	width: 100%;
	height: 100%;
}
.lms-step h3 {
	font-size: 17px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 8px;
}
.lms-step p {
	font-size: 18px;
	color: #555;
	line-height: 1.5;
	margin: 0;
}

.lms-why-us {
	background: #f0f8f5;
	border-radius: 16px;
	padding: 50px 40px;
	margin: 20px 0 50px;
}
.lms-why-us h2 {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 32px;
}
.lms-why-us-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 60px;
	max-width: 780px;
	margin: 0 auto;
}
.lms-why-us-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	color: #5f6a70;
}
.lms-why-us-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1.5px solid #1d6f42;
	color: #1d6f42;
	font-size: 12px;
	flex: 0 0 auto;
}
@media (max-width: 640px) {
	.lms-why-us-grid {
		grid-template-columns: 1fr;
	}
}

.lms-home-courses {
	padding: 20px;
	margin-bottom: 40px;
}
.lms-home-courses h2 {
	text-align: center;
	font-size: 26px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 28px;
}
.lms-course-card-visual {
	width: 84px;
	margin: 0 0 16px;
}
.lms-course-card-visual svg {
	width: 100%;
	height: auto;
	display: block;
}
.lms-course-card-price {
	font-size: 24px;
	font-weight: 700;
	color: #d97706;
	margin: 4px 0 14px;
}

.lms-home-cta {
	text-align: center;
	background: #2f7a52;
	border-radius: 12px;
	padding: 44px 20px;
	margin: 0 0 40px;
}
.lms-home-cta h2 {
	color: #fff;
	font-size: 24px;
	margin: 0 0 20px;
}
.lms-home-cta .lms-btn {
	background: #fff;
	color: #2f7a52;
}
.lms-home-cta .lms-btn:hover {
	background: #eaf6ee;
}

.lms-order-guide {
	padding: 20px 0 10px;
}
.lms-order-guide h2 {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0 0 32px;
}
.lms-order-guide-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	align-items: stretch;
}
.lms-order-guide-card {
	flex: 1 1 380px;
	max-width: 460px;
	background: #fff;
	border: 1px solid #e3e8ec;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.lms-order-guide-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 26px;
}
.lms-order-guide-icon {
	font-size: 32px;
	line-height: 1;
}
.lms-order-guide-header h3 {
	font-size: 19px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0;
}
.lms-order-guide-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: lms-order-step;
}
.lms-order-guide-steps > li {
	position: relative;
	padding: 0 0 22px 36px;
	font-size: 18px;
	color: #444;
	line-height: 1.5;
}
.lms-order-guide-steps > li:last-child {
	padding-bottom: 0;
}
.lms-order-guide-steps > li::before {
	counter-increment: lms-order-step;
	content: counter(lms-order-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #1d6f42;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lms-order-guide-steps > li:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 11px;
	top: 24px;
	bottom: 0;
	width: 2px;
	background: #cfe4d6;
}
.lms-order-guide-note {
	margin: 20px 0 0;
	font-size: 13px;
	color: #888;
	font-style: italic;
}
.lms-order-guide-substeps {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.lms-order-guide-substeps li {
	position: relative;
	padding: 0 0 6px 16px;
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}
.lms-order-guide-substeps li:last-child {
	padding-bottom: 0;
}
.lms-order-guide-substeps li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #9fc2ab;
}

/* "Palun logi sisse" popup ("Alusta koolitust" / "Osta kursus" mittesisselogitud külastajale) */
.lms-auth-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.lms-auth-modal.lms-open {
	display: flex;
}
.lms-auth-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 30, 25, 0.55);
}
.lms-auth-modal-box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 380px;
	width: 100%;
	padding: 32px 28px 28px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	text-align: center;
}
.lms-auth-modal-box h3 {
	margin: 0 0 20px;
	font-size: 19px;
	color: #1a2e22;
}
.lms-auth-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 4px;
}
.lms-auth-modal-close:hover {
	color: #5f6a70;
}
.lms-auth-modal-subtitle {
	margin: 26px 0 4px;
	font-weight: 600;
	color: #1a2e22;
}
.lms-auth-modal-box .lms-muted {
	margin: 0 0 14px;
	font-size: 13.5px;
}
.lms-btn-block {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

/* Nutitelefonis suuremad tekstid ja puutepinnad (~20% suurem) avalehel ja
   koolituse tutvustuslehel, et nuppe (nt "Logi sisse", "Registreeru",
   "Koolituse info") oleks mugav sõrmega tabada, ilma nõelaotsa täpsuseta. */
@media (max-width: 640px) {
	/* "Logi sisse" ja "Registreeru" kaks eraldi ühesuurust nuppu, selge
	   vahega - varem nägi "Logi sisse" välja nagu suure nupu sees olev
	   tekst, sest mõlemad istusid keskel ühise laia valge tausta sees.
	   flex-basis lubab sel real vajadusel lipuikoonide alla murduda,
	   kui ekraan on liiga kitsas mahutamaks kõike ühele reale. */
	.lms-account-widget-guest {
		background: none;
		border: none;
		box-shadow: none;
		padding: 0;
		gap: 12px;
		flex: 1 1 200px;
		justify-content: space-between;
	}
	.lms-guest-link {
		flex: 1 1 0;
		text-align: center;
		font-size: 15px;
		padding: 10px 14px;
		border: 1.5px solid #1d6f42;
		border-radius: 18px;
		background: #fff;
	}
	.lms-guest-link-primary {
		background: #1d6f42;
		color: #fff;
		padding: 10px 14px;
	}
	.lms-account-toggle {
		padding: 10px 18px 10px 8px;
		font-size: 16px;
	}
	.lms-account-avatar {
		width: 30px;
		height: 30px;
		font-size: 15px;
	}

	.lms-btn {
		padding: 13px 24px;
		font-size: 17px;
	}
	.lms-btn-lg {
		padding: 14px 30px;
		font-size: 18px;
	}
	/* "Koolituse info" nupp avalehe koolituse kaardil - arvutis jääb
	   pealkirja/hinna alla vasakule, telefonis keskele, nii on lihtsam
	   pöidlaga tabada. */
	.lms-course-card .lms-btn {
		display: table;
		margin: 4px auto 0;
	}

	.lms-hero-title {
		font-size: 42px;
	}
	.lms-hero-subtitle {
		font-size: 21px;
	}
	.lms-steps h2 {
		font-size: 30px;
	}
	.lms-why-us h2,
	.lms-order-guide h2 {
		font-size: 32px;
	}
	.lms-home-cta h2 {
		font-size: 28px;
	}
	.lms-step h3 {
		font-size: 20px;
	}
	.lms-course-card h3 {
		font-size: 22px;
	}
	.lms-course-card-price {
		font-size: 27px;
	}
	.lms-order-guide-header h3 {
		font-size: 22px;
	}
	.lms-order-guide-substeps li,
	.lms-order-guide-note {
		font-size: 17px;
	}
}

/* "Minu konto" töölaud (eraisiku konto) - suur nimi üleval, vasakul menüü,
   paremal vahetuv sisupaneel (Minu profiil / Koolitused / Tunnistused /
   Testide tulemused / Arved), pluss otselingid Seaded lehele ja välja. */
.lms-dashboard {
	max-width: 1000px;
	margin: 0 auto;
}
.lms-dashboard-header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 30px;
}
.lms-dashboard-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #1d6f42;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	flex-shrink: 0;
}
.lms-dashboard-name {
	font-size: 30px;
	font-weight: 700;
	color: #2f7a52;
	margin: 0;
}
.lms-dashboard-subtitle {
	margin: 4px 0 0;
	font-size: 14px;
	color: #5f6a70;
}
.lms-dashboard-body {
	display: flex;
	align-items: flex-start;
	gap: 30px;
}
.lms-dashboard-menu {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 0 0 220px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 10px;
}
.lms-dashboard-menu-item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	color: #5f6a70;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}
.lms-dashboard-menu-icon {
	display: flex;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #8b968f;
}
.lms-dashboard-menu-icon svg {
	width: 100%;
	height: 100%;
}
.lms-dashboard-menu-item:hover {
	background: #f5f8f6;
}
.lms-dashboard-menu-item.lms-active {
	background: #eaf6ee;
	color: #1d6f42;
}
.lms-dashboard-menu-item.lms-active .lms-dashboard-menu-icon,
.lms-dashboard-menu-item:hover .lms-dashboard-menu-icon {
	color: #1d6f42;
}
.lms-dashboard-menu-link {
	border-top: 1px solid #f0f0f0;
	margin-top: 4px;
	padding-top: 14px;
}
.lms-dashboard-menu-link:first-of-type {
	border-top: 1px solid #f0f0f0;
	margin-top: 6px;
}
.lms-dashboard-menu-logout {
	color: #b32d2e;
}
.lms-dashboard-menu-logout .lms-dashboard-menu-icon {
	color: #c96f6f;
}
.lms-dashboard-panels {
	flex: 1 1 auto;
	min-width: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 28px 30px;
}
/* "Vajad kohandatud lahendust" bänner - alati nähtav, olenemata sellest,
   milline menüüpaneel parasjagu avatud on. */
.lms-custom-quote-banner {
	margin-top: 24px;
	padding: 22px 26px;
	background: #f0f5fa;
	border: 1px solid #d7e3ee;
	border-radius: 12px;
}
.lms-custom-quote-banner-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.lms-custom-quote-banner h3 {
	margin: 0 0 4px;
	font-size: 17px;
	color: #1f3d5c;
}
.lms-custom-quote-banner p {
	margin: 0;
	font-size: 14px;
	color: #4a5a6b;
}
.lms-custom-quote-banner .lms-btn {
	flex-shrink: 0;
}
.lms-quote-banner-form {
	display: none;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #d7e3ee;
}
.lms-custom-quote-banner.lms-open .lms-quote-banner-form {
	display: block;
}
.lms-custom-quote-banner.lms-open .lms-quote-banner-toggle {
	background: #16512f;
}
.lms-order-course-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin: 20px 0;
	padding: 20px 24px;
	background: #fdf3e0;
	border: 1px solid #f2d9a3;
	border-radius: 12px;
}
.lms-order-course-banner strong {
	color: #92400e;
	font-size: 16px;
}
.lms-order-course-banner p {
	margin: 4px 0 0;
}
.lms-order-course-banner .lms-btn {
	flex-shrink: 0;
}
@media (max-width: 640px) {
	.lms-order-course-banner {
		flex-direction: column;
		text-align: center;
	}
}
.lms-dashboard-panel {
	display: none;
}
.lms-dashboard-panel.lms-active {
	display: block;
}
.lms-dashboard-panel h2 {
	margin: 0 0 20px;
	font-size: 22px;
	color: #2f7a52;
}
.lms-dashboard-panel h3 {
	font-size: 16px;
	color: #2f7a52;
	margin: 24px 0 12px;
}
.lms-dashboard-panel h3:first-of-type {
	margin-top: 0;
}
.lms-profile-info {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 10px 16px;
	margin: 0 0 24px;
}
.lms-profile-info dt {
	font-weight: 600;
	color: #666;
}
.lms-profile-info dd {
	margin: 0;
}
.lms-cert-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lms-cert-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 16px;
	background: #f7faf8;
	border-radius: 8px;
}
.lms-employee-cert-row {
	flex-direction: column;
	align-items: stretch;
}
.lms-employee-cert-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}
.lms-employee-cert-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.lms-cert-email-form {
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e5e5e5;
}
.lms-cert-email-input {
	flex: 1 1 220px;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}
.lms-cert-email-feedback {
	font-size: 13px;
	color: #5f6a70;
}
.lms-results-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 14px;
}
.lms-results-table th,
.lms-results-table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
}
.lms-results-table th {
	color: #666;
	font-weight: 600;
}
/* Nutitelefonis on menüü täislaiuses üksteise all rippuv nimekiri (mitte
   kõrvuti nupud) - päis ja menüü moodustavad visuaalselt ühe kaardi, aktiivne
   rida on tähistatud vasakpoolse rohelise ribaga, sarnaselt mobiilirakenduste
   kontolehtedele (aga oma stiilis, mitte lipuga kopeeritud). */
@media (max-width: 780px) {
	.lms-dashboard-body {
		flex-direction: column;
		gap: 0;
	}
	.lms-dashboard-header {
		background: #eaf6ee;
		border-radius: 16px 16px 0 0;
		padding: 26px 22px;
		margin-bottom: 0;
	}
	.lms-dashboard-menu {
		flex-direction: column;
		gap: 0;
		width: 100%;
		box-sizing: border-box;
		border-radius: 0 0 16px 16px;
		border-top: none;
		padding: 0;
	}
	.lms-dashboard-menu-item {
		width: 100%;
		text-align: left;
		border-radius: 0;
		border-bottom: 1px solid #eef1f0;
		padding: 16px 20px;
		position: relative;
	}
	.lms-dashboard-menu-item:last-child {
		border-bottom: none;
	}
	.lms-dashboard-menu-item.lms-active {
		background: #f2f8f4;
	}
	.lms-dashboard-menu-item.lms-active::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 4px;
		background: #1d6f42;
	}
	.lms-dashboard-menu-icon {
		width: 22px;
		height: 22px;
	}
	.lms-dashboard-menu-link,
	.lms-dashboard-menu-link:first-of-type {
		border-top: none;
		margin-top: 0;
		padding-top: 16px;
	}
	.lms-dashboard-panels {
		border-radius: 12px;
		margin-top: 18px;
		padding: 22px 18px;
	}
	.lms-custom-quote-banner {
		padding: 20px;
	}
	.lms-custom-quote-banner-header {
		flex-direction: column;
		text-align: center;
	}
}
