/* Keep app-specific adjustments minimal while Keen global bundles drive most styling. */
.app-sidebar .menu-link.active .menu-title {
  color: var(--bs-primary);
}

.app-sidebar .menu-link.active .menu-icon i {
  color: var(--bs-primary) !important;
}

.lms-auth-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef5ff 100%);
}

.lms-auth-page .landing-header {
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 227, 234, 0.75);
}

.lms-auth-page .text-gray-900,
.lms-auth-page h1,
.lms-auth-page h2,
.lms-auth-page h3 {
  color: #16325c !important;
}

.lms-auth-page .text-gray-700 {
  color: #4f657f !important;
}

.lms-auth-page .text-muted,
.lms-auth-page .text-gray-600 {
  color: #6d8097 !important;
}

.lms-auth-page a:not(.btn),
.lms-auth-page .link-primary {
  color: #113e91 !important;
  text-decoration: underline;
}

.lms-auth-page .card,
.lms-auth-page .modal-content {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbe3ea !important;
  border-radius: 1.25rem;
  box-shadow: 0 18px 44px rgba(17, 62, 145, 0.08) !important;
}

.lms-auth-page .lms-auth-card {
  overflow: hidden;
}

.lms-auth-page [sign_well="true"] {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbe3ea;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(17, 62, 145, 0.08);
}

.lms-auth-page .card-body,
.lms-auth-page .modal-body,
.lms-auth-page .modal-header,
.lms-auth-page .modal-footer {
  background: transparent;
}

.lms-auth-page .form-control,
.lms-auth-page .form-control-solid {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid #dbe3ea !important;
  color: #16325c !important;
  box-shadow: none !important;
}

.lms-auth-page .form-control:focus,
.lms-auth-page .form-control-solid:focus {
  border-color: #9db8e6 !important;
  box-shadow: 0 0 0 0.2rem rgba(17, 62, 145, 0.12) !important;
}

.lms-auth-page .form-check-input {
  border-color: #b9cae6 !important;
}

.lms-auth-page .form-check-input:checked {
  background-color: #113e91 !important;
  border-color: #113e91 !important;
}

.lms-auth-page .separator.separator-content::before,
.lms-auth-page .separator.separator-content::after {
  border-bottom-color: #dbe3ea !important;
}

.lms-auth-page .btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #113e91;
  --bs-btn-border-color: #113e91;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #2b5fb8;
  --bs-btn-hover-border-color: #2b5fb8;
  --bs-btn-focus-shadow-rgb: 17, 62, 145;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #2b5fb8;
  --bs-btn-active-border-color: #2b5fb8;
  color: #ffffff !important;
  background-color: #113e91 !important;
  border-color: #113e91 !important;
  box-shadow: 0 12px 24px rgba(17, 62, 145, 0.2);
}

.lms-auth-page .btn-primary:hover,
.lms-auth-page .btn-primary:focus,
.lms-auth-page .btn-primary:active,
.lms-auth-page .btn-check:checked + .btn-primary,
.lms-auth-page .btn-check:active + .btn-primary,
.lms-auth-page .show > .btn-primary.dropdown-toggle {
  color: #ffffff !important;
  background-color: #2b5fb8 !important;
  border-color: #2b5fb8 !important;
}

.lms-auth-page .btn-light,
.lms-auth-page .btn-light-primary,
.lms-auth-page .btn-light-danger {
  --bs-btn-color: #113e91;
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #cdd9ea;
  --bs-btn-hover-color: #113e91;
  --bs-btn-hover-bg: #eaf1ff;
  --bs-btn-hover-border-color: #b9cae6;
  --bs-btn-focus-shadow-rgb: 17, 62, 145;
  --bs-btn-active-color: #113e91;
  --bs-btn-active-bg: #eaf1ff;
  --bs-btn-active-border-color: #b9cae6;
  color: #113e91 !important;
  background-color: #ffffff !important;
  border: 1px solid #cdd9ea !important;
}

.lms-auth-page .btn-light:hover,
.lms-auth-page .btn-light:focus,
.lms-auth-page .btn-light:active,
.lms-auth-page .btn-light-primary:hover,
.lms-auth-page .btn-light-primary:focus,
.lms-auth-page .btn-light-primary:active,
.lms-auth-page .btn-light-danger:hover,
.lms-auth-page .btn-light-danger:focus,
.lms-auth-page .btn-light-danger:active,
.lms-auth-page .btn-check:checked + .btn-light,
.lms-auth-page .btn-check:active + .btn-light,
.lms-auth-page .btn-check:checked + .btn-light-primary,
.lms-auth-page .btn-check:active + .btn-light-primary,
.lms-auth-page .btn-check:checked + .btn-light-danger,
.lms-auth-page .btn-check:active + .btn-light-danger,
.lms-auth-page .show > .btn-light.dropdown-toggle,
.lms-auth-page .show > .btn-light-primary.dropdown-toggle,
.lms-auth-page .show > .btn-light-danger.dropdown-toggle {
  color: #113e91 !important;
  background-color: #eaf1ff !important;
  border-color: #b9cae6 !important;
}

.lms-public-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef5ff 100%);
}

.lms-public-page .landing-header {
  background: rgba(247, 249, 252, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 227, 234, 0.75);
}

.lms-public-page .text-gray-900,
.lms-public-page h1,
.lms-public-page h2,
.lms-public-page h3 {
  color: #16325c !important;
}

.lms-public-page .text-gray-700 {
  color: #4f657f !important;
}

.lms-public-page .text-muted,
.lms-public-page .text-gray-600,
.lms-public-page .text-gray-800 {
  color: #6d8097 !important;
}

.lms-public-page a:not(.btn),
.lms-public-page .link-primary,
.lms-public-page .text-hover-primary {
  color: #113e91 !important;
  text-decoration: underline;
}

.lms-public-page .card,
.lms-public-page .info-card,
.lms-public-page .about-card,
.lms-public-page .purchase-card,
.lms-public-page [sign_well="true"] {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbe3ea !important;
  border-radius: 1.25rem;
  box-shadow: 0 18px 44px rgba(17, 62, 145, 0.08) !important;
}

.lms-public-page .btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #113e91;
  --bs-btn-border-color: #113e91;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #2b5fb8;
  --bs-btn-hover-border-color: #2b5fb8;
  --bs-btn-focus-shadow-rgb: 17, 62, 145;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #2b5fb8;
  --bs-btn-active-border-color: #2b5fb8;
  color: #ffffff !important;
  background-color: #113e91 !important;
  border-color: #113e91 !important;
  box-shadow: 0 12px 24px rgba(17, 62, 145, 0.2);
}

.lms-public-page .btn-light,
.lms-public-page .btn-light-primary,
.lms-public-page .btn-light-danger {
  --bs-btn-color: #113e91;
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #cdd9ea;
  --bs-btn-hover-color: #113e91;
  --bs-btn-hover-bg: #eaf1ff;
  --bs-btn-hover-border-color: #b9cae6;
  --bs-btn-focus-shadow-rgb: 17, 62, 145;
  --bs-btn-active-color: #113e91;
  --bs-btn-active-bg: #eaf1ff;
  --bs-btn-active-border-color: #b9cae6;
  color: #113e91 !important;
  background-color: #ffffff !important;
  border: 1px solid #cdd9ea !important;
}

.lms-landing-hero {
  min-height: calc(100vh - 90px);
}

@media (max-width: 991.98px) {
  .lms-landing-hero {
    min-height: auto;
  }

  .landing-header .lms-public-centered-header {
    min-height: 132px !important;
    padding-top: 30px !important;
    padding-bottom: 12px !important;
  }
}

@media (min-width: 992px) {
  .landing-header .lms-public-centered-header {
    min-height: 96px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
}
