/* LFA LMS front end. Source file: run tools/build_css.py to produce assets/lms.css (every rule gets a .lfal.lfal.lfal prefix
   so the theme / Elementor kit cannot restyle it). */

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("fonts/figtree-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.lfal.lfal.lfal {
	--lfal-green: #2f8d47;
	--lfal-green-dark: #226b35;
	--lfal-green-soft: #eef7f0;
	--lfal-ink: #16251b;
	--lfal-muted: #5d6e63;
	--lfal-line: #dde7e0;
	--lfal-bg: #ffffff;
	--lfal-warn: #b03200;
	--lfal-warn-soft: #fdf1ec;
	--lfal-info-soft: #eef4fb;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 4px 0 24px;
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--lfal-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.lfal.lfal.lfal *, .lfal.lfal.lfal *::before, .lfal.lfal.lfal *::after { box-sizing: border-box; }
.lfal.lfal.lfal :focus-visible { outline: 3px solid rgba(47, 141, 71, .45); outline-offset: 2px; }
.lfal.lfal.lfal [hidden] { display: none; }


/* ---------- Isolation from the theme / Elementor kit ---------- */
.lfal.lfal.lfal :where(h2,h3,h4,p,label,summary,li,ul,button,input,a,span,div,strong,small,del){font-family:inherit;letter-spacing:normal;text-transform:none;text-shadow:none;}
.lfal.lfal.lfal button{-webkit-appearance:none;appearance:none;margin:0;box-shadow:none;height:auto;transition:none;}
.lfal.lfal.lfal input{box-shadow:none;margin:0;}
.lfal.lfal.lfal ul{list-style:none;margin:0;padding:0;}

/* ---------- Type ---------- */
.lfal.lfal.lfal .lfal-h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--lfal-ink); }
.lfal.lfal.lfal .lfal-h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--lfal-ink); }
.lfal.lfal.lfal .lfal-h4 { margin: 22px 0 8px; font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lfal-muted); }
.lfal.lfal.lfal p { margin: 0 0 12px; }
.lfal.lfal.lfal .lfal-muted { color: var(--lfal-muted); font-size: 14px; }
.lfal.lfal.lfal .lfal-select { user-select: all; -webkit-user-select: all; }
.lfal.lfal.lfal a { color: var(--lfal-green-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Layout ---------- */
.lfal.lfal.lfal .lfal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.lfal.lfal.lfal .lfal-main, .lfal.lfal.lfal .lfal-side { display: grid; gap: 20px; min-width: 0; }
@media (min-width: 900px) {
	.lfal.lfal.lfal .lfal-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
.lfal.lfal.lfal .lfal-card { background: var(--lfal-bg); border: 1px solid var(--lfal-line); border-radius: 16px; padding: 22px; box-shadow: 0 1px 2px rgba(22, 37, 27, .04), 0 6px 20px rgba(22, 37, 27, .04); }
@media (max-width: 480px) { .lfal.lfal.lfal .lfal-card { padding: 18px 16px; border-radius: 14px; } .lfal.lfal.lfal .lfal-h2 { font-size: 24px; } }

/* ---------- Buttons and chips ---------- */
.lfal.lfal.lfal .lfal-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 2px solid var(--lfal-green); border-radius: 12px; background: var(--lfal-green); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, transform .05s; }
.lfal.lfal.lfal a.lfal-btn, .lfal.lfal.lfal a.lfal-btn:visited { color: #fff; text-decoration: none; }
.lfal.lfal.lfal .lfal-btn:hover { background: var(--lfal-green-dark); border-color: var(--lfal-green-dark); color: #fff; }
.lfal.lfal.lfal .lfal-btn:active { transform: translateY(1px); }
.lfal.lfal.lfal .lfal-btn--ghost, .lfal.lfal.lfal a.lfal-btn--ghost { background: #fff; color: var(--lfal-green-dark); }
.lfal.lfal.lfal .lfal-btn--ghost:hover { background: var(--lfal-green-soft); color: var(--lfal-green-dark); border-color: var(--lfal-green); }
.lfal.lfal.lfal .lfal-btn--block { display: flex; width: 100%; }
.lfal.lfal.lfal .lfal-btn[aria-disabled="true"], .lfal.lfal.lfal .lfal-btn[disabled] { background: #c9d4cd; border-color: #c9d4cd; color: #fff; cursor: not-allowed; }
.lfal.lfal.lfal .lfal-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eef1ef; color: var(--lfal-muted); font-size: 12px; font-weight: 700; line-height: 1.6; }
.lfal.lfal.lfal .lfal-chip--ok { background: var(--lfal-green-soft); color: var(--lfal-green-dark); }

/* ---------- Next class ---------- */
.lfal.lfal.lfal .lfal-next { background: linear-gradient(135deg, #2f8d47 0%, #226b35 100%); border: 0; color: #fff; }
.lfal.lfal.lfal .lfal-next--none { background: var(--lfal-green-soft); color: var(--lfal-ink); border: 1px solid var(--lfal-line); }
.lfal.lfal.lfal .lfal-next__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lfal.lfal.lfal .lfal-next__course { margin-top: 6px; font-size: 15px; opacity: .9; }
.lfal.lfal.lfal .lfal-next__when { margin: 6px 0 4px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.lfal.lfal.lfal .lfal-next__count { min-height: 28px; margin-bottom: 14px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lfal.lfal.lfal .lfal-next__sub { margin: 10px 0 0; font-size: 14px; opacity: .85; }
.lfal.lfal.lfal .lfal-next .lfal-btn--join { background: #fff; border-color: #fff; color: var(--lfal-green-dark); min-width: 180px; }
.lfal.lfal.lfal .lfal-next a.lfal-btn--join { color: var(--lfal-green-dark); }
.lfal.lfal.lfal .lfal-next .lfal-btn--join:hover { background: #f1faf3; color: var(--lfal-green-dark); }
.lfal.lfal.lfal .lfal-next .lfal-btn--join[aria-disabled="true"] { background: rgba(255, 255, 255, .28); border-color: transparent; color: rgba(255, 255, 255, .85); }
@media (max-width: 480px) { .lfal.lfal.lfal .lfal-next__when { font-size: 19px; } .lfal.lfal.lfal .lfal-next .lfal-btn--join { width: 100%; } }

/* ---------- Course card ---------- */
.lfal.lfal.lfal .lfal-course__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lfal.lfal.lfal .lfal-course__when { color: var(--lfal-muted); font-size: 14px; }
.lfal.lfal.lfal .lfal-sessions, .lfal.lfal.lfal .lfal-files, .lfal.lfal.lfal .lfal-linklist { list-style: none; margin: 0; padding: 0; }
.lfal.lfal.lfal .lfal-sessions li { padding: 9px 0; border-top: 1px solid var(--lfal-line); font-size: 15px; }
.lfal.lfal.lfal .lfal-sessions li:first-child { border-top: 0; }
.lfal.lfal.lfal .lfal-sessions li.is-cancelled { color: var(--lfal-muted); }
.lfal.lfal.lfal .lfal-files li { padding: 8px 0; border-top: 1px solid var(--lfal-line); font-size: 15px; }
.lfal.lfal.lfal .lfal-files li:first-child { border-top: 0; }
.lfal.lfal.lfal .lfal-linklist li { padding: 6px 0; }
.lfal.lfal.lfal .lfal-section { margin: 14px 0 4px; font-size: 13px; font-weight: 700; color: var(--lfal-green-dark); }
.lfal.lfal.lfal .lfal-lesson { border: 1px solid var(--lfal-line); border-radius: 12px; margin: 8px 0; background: #fff; }
.lfal.lfal.lfal .lfal-lesson > summary { padding: 12px 14px; cursor: pointer; font-weight: 600; list-style: none; }
.lfal.lfal.lfal .lfal-lesson > summary::-webkit-details-marker { display: none; }
.lfal.lfal.lfal .lfal-lesson > summary::after { content: "+"; float: right; font-weight: 400; color: var(--lfal-muted); }
.lfal.lfal.lfal .lfal-lesson[open] > summary::after { content: "\2212"; }
.lfal.lfal.lfal .lfal-lesson__body { padding: 0 14px 12px; }
.lfal.lfal.lfal .lfal-lesson--locked { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; color: var(--lfal-muted); background: #f7f9f8; }

/* ---------- Choose a batch ---------- */
.lfal.lfal.lfal .lfal-pickrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--lfal-line); }
.lfal.lfal.lfal .lfal-pickrow .lfal-btn { flex: none; min-height: 40px; padding: 0 18px; }
@media (max-width: 480px) { .lfal.lfal.lfal .lfal-pickrow { flex-direction: column; align-items: stretch; } }

/* ---------- Batch picker (marketing pages) ---------- */
.lfal.lfal.lfal .lfal-batchgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.lfal.lfal.lfal .lfal-batch { display: flex; flex-direction: column; gap: 8px; }
.lfal.lfal.lfal .lfal-batch__title { font-size: 18px; font-weight: 700; }
.lfal.lfal.lfal .lfal-batch__when { color: var(--lfal-ink); font-size: 15px; }
.lfal.lfal.lfal .lfal-batch__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--lfal-muted); font-size: 14px; }
.lfal.lfal.lfal .lfal-seats { font-weight: 700; color: var(--lfal-green-dark); }
.lfal.lfal.lfal .lfal-seats.is-full { color: var(--lfal-warn); }
.lfal.lfal.lfal .lfal-batch__price { font-size: 20px; margin: 4px 0 6px; }
.lfal.lfal.lfal .lfal-batch__price del { color: var(--lfal-muted); font-size: 16px; }
.lfal.lfal.lfal .lfal-batch .lfal-btn { margin-top: auto; }
.lfal.lfal.lfal .lfal-empty p { color: var(--lfal-muted); }

/* ---------- Forms ---------- */
.lfal.lfal.lfal .lfal-auth { max-width: 460px; margin: 0 auto; }
.lfal.lfal.lfal .lfal-form { display: grid; gap: 14px; }
.lfal.lfal.lfal .lfal-field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.lfal.lfal.lfal .lfal-field input { width: 100%; min-height: 46px; padding: 0 14px; border: 1.5px solid #b9c8be; border-radius: 10px; background: #fff; color: var(--lfal-ink); font-size: 16px; font-weight: 400; box-shadow: none; }
.lfal.lfal.lfal .lfal-field input:focus { border-color: var(--lfal-green); outline: 3px solid rgba(47, 141, 71, .25); outline-offset: 0; }
.lfal.lfal.lfal .lfal-field small { font-weight: 400; color: var(--lfal-muted); }
.lfal.lfal.lfal .lfal-check { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.lfal.lfal.lfal .lfal-check input { width: 18px; height: 18px; margin: 0; }
.lfal.lfal.lfal .lfal-links { margin: 16px 0 0; font-size: 15px; text-align: center; }
.lfal.lfal.lfal .lfal-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lfal.lfal.lfal .lfal-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; background: var(--lfal-info-soft); color: #1d3b5c; }
.lfal.lfal.lfal .lfal-notice--error { background: var(--lfal-warn-soft); color: var(--lfal-warn); }
.lfal.lfal.lfal .lfal-notice--ok { background: var(--lfal-green-soft); color: var(--lfal-green-dark); }


/* ---------- Notification bell ---------- */
.lfal.lfal.lfal .lfal-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.lfal.lfal.lfal .lfal-hello .lfal-h2 { margin-bottom: 14px; }
.lfal.lfal.lfal .lfal-bellonly { padding: 0; width: auto; display: flex; justify-content: flex-end; }
.lfal.lfal.lfal .lfal-bellwrap { position: relative; flex: none; }
.lfal.lfal.lfal .lfal-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--lfal-line); border-radius: 999px; background: #fff; color: var(--lfal-ink); cursor: pointer; }
.lfal.lfal.lfal .lfal-bell:hover, .lfal.lfal.lfal .lfal-bell[aria-expanded="true"] { background: var(--lfal-green-soft); border-color: var(--lfal-green); color: var(--lfal-green-dark); }
.lfal.lfal.lfal .lfal-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #d63c1e; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.lfal.lfal.lfal .lfal-panel { position: absolute; right: 0; top: 54px; z-index: 50; width: 380px; max-width: calc(100vw - 32px); max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--lfal-line); border-radius: 16px; box-shadow: 0 12px 40px rgba(22, 37, 27, .18); }
.lfal.lfal.lfal .lfal-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--lfal-line); position: sticky; top: 0; background: #fff; }
.lfal.lfal.lfal .lfal-linkbtn { background: none; border: 0; padding: 0; color: var(--lfal-green-dark); font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.lfal.lfal.lfal .lfal-notes { list-style: none; margin: 0; padding: 0; }
.lfal.lfal.lfal .lfal-note { position: relative; padding: 14px 16px 14px 34px; border-bottom: 1px solid var(--lfal-line); }
.lfal.lfal.lfal .lfal-note:last-child { border-bottom: 0; }
.lfal.lfal.lfal .lfal-note.is-unread { background: #f4faf6; }
.lfal.lfal.lfal .lfal-note.is-unread::before { content: ""; position: absolute; left: 14px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--lfal-green); }
.lfal.lfal.lfal .lfal-note__title { font-weight: 700; font-size: 15px; }
.lfal.lfal.lfal .lfal-note__body { margin-top: 4px; font-size: 14px; color: var(--lfal-ink); }
.lfal.lfal.lfal .lfal-note__body p { margin: 0 0 6px; }
.lfal.lfal.lfal .lfal-note__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 8px; font-size: 13px; color: var(--lfal-muted); }
.lfal.lfal.lfal .lfal-note__link { font-weight: 700; }
.lfal.lfal.lfal .lfal-panel__empty { padding: 28px 16px; text-align: center; color: var(--lfal-muted); }
.lfal.lfal.lfal .lfal-panel__more { display: block; margin: 12px auto; }
@media (max-width: 480px) { .lfal.lfal.lfal .lfal-panel { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; max-width: none; } }
