/* Shared header and footer for the existing Laravel pages. Scoped so it does not restyle Bootstrap. */
.lm-bar, .lm-foot { --lm-paper: #F3F8F7; --lm-ink: #0F2A2A; --lm-mute: #557371; --lm-line: #D2E2E0; --lm-teal: #0E7C7B;
  font-family: "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.lm-bar { position: sticky; top: 0; z-index: 1040; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; background: rgba(243,248,247,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(210,226,224,.8); }
.lm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lm-ink); font-weight: 600; white-space: nowrap; }
.lm-brand svg { width: 34px; height: 34px; flex: none; }
.lm-nav { display: flex; gap: 2px; align-items: center; margin-inline: 16px auto; }
.lm-nav a, .lm-drop a { color: var(--lm-ink); text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 999px; }
.lm-nav a:hover, .lm-drop a:hover, .lm-nav a[aria-current="page"] { background: #fff; color: var(--lm-teal); }
.lm-actions { display: flex; gap: 8px; align-items: center; }
.lm-chip { background: rgba(255,255,255,.9); border: 1px solid var(--lm-line); color: var(--lm-ink); border-radius: 999px; padding: 8px 16px;
  font: 500 14px inherit; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.lm-chip.solid { background: var(--lm-teal); color: #fff; border-color: var(--lm-teal); }
.lm-menu { position: relative; display: none; }
.lm-menu summary { list-style: none; }
.lm-menu summary::-webkit-details-marker { display: none; }
.lm-drop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--lm-line);
  border-radius: 16px; padding: 8px; display: grid; box-shadow: 0 12px 28px rgba(15,42,42,.12); }
body.lm-chrome { background: #F3F8F7 !important; min-height: 100vh; display: flex; flex-direction: column; }
body.lm-chrome > #app { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; min-height: 100vh; }
body.lm-chrome #content { flex: 1 0 auto; }
.site-foot { --lm-paper: #fff; --lm-ink: #0F2A2A; --lm-mute: #557371; --lm-line: #D2E2E0; --lm-teal: #0E7C7B;
  position: relative; z-index: 2; clear: both; width: 100%; direction: inherit; text-align: start;
  background: #fff; border-top: 1px solid #D2E2E0; padding: 40px 16px 28px; margin-top: auto;
  font-family: "DM Sans", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; color: #0F2A2A; }
.foot-grid { width: min(76rem, 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; text-align: start; }
.foot-about { display: grid; gap: 12px; align-content: start; justify-items: start; min-width: 0; }
.foot-about p { margin: 0; color: #557371; font-size: 14.5px; line-height: 1.7; max-width: 26rem; }
.site-foot .brand { color: #0F2A2A !important; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.foot-about > a:not(.brand) { display: block; width: max-content; max-width: 100%; justify-self: start; color: #0F2A2A !important; text-decoration: none; font-weight: 600; }
.site-foot .brand svg { width: 34px; height: 34px; flex: none; }
.site-foot nav { display: grid !important; gap: 8px; align-content: start; float: none; padding: 0; margin: 0; }
.site-foot h2 { font-size: 14px !important; font-weight: 700; line-height: 1.3; color: #0F2A2A !important; margin: 0 0 4px !important; float: none; }
.site-foot nav a { color: #557371 !important; text-decoration: none; font-size: 14px; font-weight: 500; }
.site-foot nav a:hover { color: #0E7C7B !important; }
.foot-fine { width: min(76rem, 100%); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid #D2E2E0; color: #557371; font-size: 13px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
.lm-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.site-foot .lm-ltr { display: block; text-align: left; }
body.lm-chrome:has(.lm-auth) { background: #F3F8F7; }
.lm-auth .login-container { max-width: 34rem; margin: 40px auto 70px; border: none; background: transparent; justify-content: center; }
.lm-auth .login-container > .col-12:first-child { display: none; }
.lm-auth .login-container > .col-12:last-child { flex: 0 0 100%; max-width: 100%; }
.lm-auth .login-card { background: #fff; border: 1px solid #D2E2E0; border-radius: 20px; box-shadow: none; padding: 28px; }
.lm-auth .lm-auth-lead { color: #557371; margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.lm-auth #login-type { display: none; }
.lm-auth .login-card h1, .lm-auth .login-card h2 { font-size: 1.8rem; color: #0F2A2A; }
.lm-auth .btn-primary, .lm-auth .btn-block { background: #0E7C7B; border-color: #0E7C7B; border-radius: 12px; }
.lm-auth .form-control { border-radius: 12px; min-height: 48px; border-color: #D2E2E0; }
.lm-auth .form-control:focus { border-color: #0E7C7B; box-shadow: 0 0 0 3px rgba(14,124,123,.18); }
@media (max-width: 1080px) {
  .lm-nav, .lm-hide-sm { display: none; }
  .lm-menu { display: block; }
}

.lm-page { width: min(76rem, 100%); margin: 28px auto 48px; padding: 0 16px; display: grid; gap: 22px; }
.lm-page h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); color: #0F2A2A; margin: 0; }
.lm-lead { color: #557371; font-size: 17px; line-height: 1.7; margin: 0; max-width: 44rem; }
.lm-grid-2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .lm-grid-2 { grid-template-columns: 1fr; } }
.lm-card { background: #fff; border: 1px solid #D2E2E0; border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.lm-card h2 { font-size: 1.25rem !important; margin: 0 !important; color: #0F2A2A; }
.lm-card a.big { font: 800 1.45rem/1.3 "DM Sans", sans-serif; color: #0E7C7B; text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.lm-card .btn, .lm-file .btn-primary, .lm-store .btn-primary { background: #0E7C7B; border-color: #0E7C7B; color: #fff; border-radius: 12px; }
.lm-card .form-control { border-radius: 12px; min-height: 46px; border-color: #D2E2E0; }
.lm-prose { color: #123F3C; font-size: 16.5px; line-height: 1.85; max-width: 48rem; }
.lm-prose p, .lm-prose span, .lm-prose div, .lm-prose font, .lm-prose li, .lm-prose h5 {
  font-family: "IBM Plex Sans Arabic", "DM Sans", sans-serif !important;
  color: #123F3C !important;
  white-space: normal !important;
}
.lm-prose h5 { font-size: 1.15rem !important; font-weight: 700 !important; color: #0F2A2A !important; margin: 0 0 8px !important; }
.lm-prose .bs-callout-left {
  background: #F3F8F7 !important;
  border: 1px solid #D2E2E0 !important;
  border-inline-start: 4px solid #0E7C7B !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  margin: 12px 0 !important;
}
.lm-prose[dir="ltr"],
.lm-prose[dir="ltr"] p,
.lm-prose[dir="ltr"] span,
.lm-prose[dir="ltr"] div,
.lm-prose[dir="ltr"] font,
.lm-prose[dir="ltr"] li { text-align: left !important; }
.lm-prose a { color: #0E7C7B; }
.lm-prose hr { border: 0; border-top: 1px solid #D2E2E0; margin: 8px 0; }

.lm-store .site-top-banner, .lm-courses .modern-hero-section-ins { display: none; }
.lm-store .product-card, .lm-courses .course-card, .lm-courses .clean-course-card, .lm-courses .modern-category-card {
  background: #fff; border: 1px solid #D2E2E0; border-radius: 18px; overflow: hidden; height: 100%;
}
.lm-store .product-title, .lm-courses .course-card-title { color: #0F2A2A; }
.lm-file .product-show-info-card { background: #fff !important; color: #0F2A2A; border: 1px solid #D2E2E0; }
.lm-file .product-show-info-card h1, .lm-file .product-show-info-card a { color: #0F2A2A; }
.lm-file .main-s-image { width: 100%; max-height: 420px; object-fit: cover; background: #F3F8F7; }
.lm-file .product-show-price-box .real { color: #0E7C7B; font-weight: 800; font-size: 1.4rem; }
html[dir="rtl"] .lm-file .ml-10, html[dir="rtl"] .lm-file .ml-20, html[dir="rtl"] .lm-file .mr-5 { margin-left: 0; margin-right: 0; }
.course-cover-container { background: #E6F4F4; }
.course-content-section .course-body-on-cover,
.course-content-section .course-body-on-cover h1,
.course-content-section .text-white { color: #0F2A2A !important; }
