/* Screenpreneur custom layer — loaded after Metronic's style.bundle.css. */

/* Do not change --bs-body-bg here: Metronic also uses it for card surfaces. */
html[data-bs-theme="light"] body,
html[data-bs-theme="light"] .app-root,
html[data-bs-theme="light"] .app-page,
html[data-bs-theme="light"] .app-wrapper,
html[data-bs-theme="light"] .app-main,
html[data-bs-theme="light"] .app-content {
  background-color: #f5f6f8;
}

html[data-bs-theme="light"] .card {
  background-color: #fff;
}

html[data-bs-theme="light"] {
  --bs-app-header-base-bg-color: #fff;
  --bs-app-header-sticky-bg-color: #fff;
}

:root {
  --bs-app-header-height: 80px;
}

.app-header {
  height: var(--bs-app-header-height);
  min-height: var(--bs-app-header-height);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgb(17 24 39 / 4%);
}

#kt_app_header_container {
  height: 100%;
  min-height: 0;
  padding: 0.6rem 24px;
}

.sp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b0b0d;
  text-decoration: none;
  white-space: nowrap;
}

.sp-monogram {
  display: flex;
  align-items: center;
  font-size: 43px;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -15px;
  width: 72px;
}

.sp-monogram span:first-child {
  color: #08090b;
  z-index: 1;
}

.sp-monogram span:last-child {
  color: #f5a800;
  text-shadow: 1px 0 #9a6800;
}

.sp-wordmark {
  display: flex;
  flex-direction: column;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.sp-wordmark small {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #111318;
}

.sp-date,
.sp-streak,
.sp-profile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
}

.sp-date i,
.sp-notification i {
  color: #111318;
  font-size: 21px;
}

.sp-streak {
  color: #f3a400;
  font-weight: 700;
}

.sp-divider {
  width: 1px;
  height: 27px;
  background: #e4e6eb;
}

.sp-notification {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 40px;
}

.sp-notification span {
  position: absolute;
  top: 0;
  right: -1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f5a800;
  color: #111;
  font-size: 10px;
  font-weight: 800;
}

.sp-profile img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #151515;
}

.sp-profile span {
  font-size: 16px;
}

@media (max-width: 1199.98px) {
  .sp-date,
  .sp-divider {
    display: none;
  }
}

@media (max-width: 767.98px) {
  #kt_app_header_container {
    padding-inline: 14px;
  }

  .sp-wordmark small,
  .sp-streak,
  .sp-profile span,
  .sp-profile .ki-down {
    display: none;
  }

  .sp-wordmark {
    font-size: 17px;
  }

  .sp-monogram {
    width: 56px;
    font-size: 34px;
  }

  .sp-header-actions {
    gap: 10px;
  }

  .sp-profile img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 479.98px) {
  .sp-wordmark {
    display: none;
  }
}

@media (max-width: 991.98px) {
  :root {
    --bs-app-header-height: 58px;
  }

  #kt_app_header_container {
    padding: 0.375rem 14px;
  }

  /* Title is moved here by Metronic's swapper on mobile. */
  #kt_app_content_container > .page-title {
    width: 100%;
    padding: 0.75rem 0;
    margin: 0 0 1rem !important;
    border-bottom: 1px solid #e5e7eb;
  }

  #kt_app_content_container > .page-title .breadcrumb {
    margin-bottom: 0.35rem !important;
  }

  #kt_app_content_container > .page-title h1 {
    font-size: 1.35rem;
    line-height: 1.25;
  }
}

@media (max-width: 991.98px) {
  /* Visually align the hamburger icon with the content below. */
  .sp-mobile-brand {
    margin-left: -0.5rem;
  }

  /* Reduce the space below the fixed header. */
  #kt_app_content {
    padding-top: 0.5rem;
  }

  #kt_app_content_container > .page-title {
    padding-top: 0.25rem;
    padding-bottom: 0.625rem;
    margin-bottom: 0.75rem !important;
  }
}

.app-sidebar .menu > .menu-item > .menu-link {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  margin-bottom: 7px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 10px;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Icon column */
.app-sidebar .menu > .menu-item > .menu-link > .menu-icon {
  width: 38px;
  min-width: 38px;
  margin-right: 0.65rem;
}

.app-sidebar .menu > .menu-item > .menu-link > .menu-icon i {
  color: #fff !important;
  font-size: 32px !important;
  transition:
    color 0.2s ease,
    filter 0.2s ease;
}

/* Apply the gradient to the generated icon glyph */
.app-sidebar .menu > .menu-item > .menu-link:hover > .menu-icon i::before,
.app-sidebar .menu > .menu-item > .menu-link.active > .menu-icon i::before,
.app-sidebar .menu > .menu-item.here > .menu-link > .menu-icon i::before,
.app-sidebar .menu > .menu-item.show > .menu-link > .menu-icon i::before {
  color: #fdc801 !important;

  filter:
    drop-shadow(0 -1px 0 rgb(255 235 157 / 30%))
    drop-shadow(0 0 4px rgb(253 200 1 / 42%));
}

/* Label and description on separate lines */
.app-sidebar .menu > .menu-item > .menu-link > .menu-title {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  line-height: 1.15;
}

.app-sidebar .sp-menu-label {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.app-sidebar .sp-menu-description {
  display: block;
  color: #c5c5c5;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

/* Hover state */
.app-sidebar .menu > .menu-item > .menu-link:hover {
  background:
  radial-gradient(
    circle at 18% 50%,
    rgb(253 200 1 / 19%),
    transparent 68%
  ),
  linear-gradient(
    105deg,
    rgb(253 200 1 / 16%) 0%,
    rgb(253 200 1 / 8%) 58%,
    rgb(253 200 1 / 3%) 100%
  ) !important;

  border-color: rgb(253 200 1 / 85%) !important;

  box-shadow:
    0 0 0 1px rgb(253 200 1 / 10%),
    0 0 12px rgb(253 200 1 / 25%),
    inset 0 0 10px rgb(253 200 1 / 8%);

  transform: translateX(2px);
}

/* Active/open state */
.app-sidebar .menu > .menu-item > .menu-link.active,
.app-sidebar .menu > .menu-item.here > .menu-link,
.app-sidebar .menu > .menu-item.show > .menu-link {
  background:
  radial-gradient(
    circle at 18% 50%,
    rgb(253 200 1 / 5%),
    transparent 68%
  ),
  linear-gradient(
    105deg,
    rgb(253 200 1 / 16%) 0%,
    rgb(253 200 1 / 8%) 58%,
    rgb(253 200 1 / 3%) 100%
  ) !important;

  border-color: #fdc801 !important;

  box-shadow:
    0 0 0 1px rgb(253 200 1 / 20%),
    0 0 8px rgb(253 200 1 / 35%),
    0 0 20px rgb(253 200 1 / 22%),
    inset 0 0 14px rgb(253 200 1 / 12%);
}

/* Subtle illuminated top edge */
.app-sidebar .menu > .menu-item > .menu-link.active::before,
.app-sidebar .menu > .menu-item.here > .menu-link::before,
.app-sidebar .menu > .menu-item.show > .menu-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 235 157 / 95%),
    transparent
  );

  pointer-events: none;
}

/* Gold label and icon */
.app-sidebar .menu > .menu-item > .menu-link:hover .sp-menu-label,
.app-sidebar .menu > .menu-item > .menu-link.active .sp-menu-label,
.app-sidebar .menu > .menu-item.here > .menu-link .sp-menu-label,
.app-sidebar .menu > .menu-item.show > .menu-link .sp-menu-label {
  color: #ffdc4a !important;
}

/* Gold description */
.app-sidebar .menu > .menu-item > .menu-link:hover .sp-menu-description,
.app-sidebar .menu > .menu-item > .menu-link.active .sp-menu-description,
.app-sidebar .menu > .menu-item.here > .menu-link .sp-menu-description,
.app-sidebar .menu > .menu-item.show > .menu-link .sp-menu-description {
  color: #f2efe5;
}

.app-footer {background-color:#fff;border-top: 1px solid #e5e7eb;}

.text-warning-dark {color: #d49f00}
.app-sidebar .menu .menu-item .menu-link .menu-arrow::after {
  background-color: #fff !important;
}

.app-sidebar-navs .menu .menu-item .menu-link.active {background-color: rgb(255 220 74 / 0.6); }

/* All checked radios and checkboxes */
.form-check-input:checked {
    background-color: #1E2129 !important;
    border-color: #1E2129 !important;
}

/* Focus state */
.form-check-input:focus {
    border-color: #1E2129 !important;
    box-shadow: 0 0 0 0.25rem rgba(30, 33, 41, 0.18) !important;
}

/* Indeterminate checkbox state */
.form-check-input[type="checkbox"]:indeterminate {
    background-color: #1E2129 !important;
    border-color: #1E2129 !important;
}

/* Metronic solid-style inputs */
.form-check.form-check-solid .form-check-input:checked {
    background-color: #1E2129 !important;
    border-color: #1E2129 !important;
}