body.iseft-panel {
  /* Panel chrome uses burgundy; status badges use official dark/medium blue hex directly */
  --dark-blue: #642240;
  --medium-blue: #642240;
  --light-blue: #ffefe4;
  --nude: #ffefe4;
  --medium-pink: #f68870;
  --burgundy: #642240;
  --iseft-dark-blue: #090a50;
  --iseft-medium-blue: #4678c8;
  --panel-border: transparent;
  --panel-shadow: 0 1px 2px rgba(100, 34, 64, 0.04), 0 10px 28px rgba(100, 34, 64, 0.07);
  --panel-shadow-sm: 0 1px 3px rgba(100, 34, 64, 0.05);
  /* Match public resource/blog cards: rounded-[4px_4px_12px_0] / lg:rounded-[8px_8px_22px_0] */
  --panel-radius: 4px 4px 12px 0;
  --panel-radius-lg: 8px 8px 22px 0;
  --panel-radius-tl: 4px;
  --panel-radius-tr: 4px;
  --panel-radius-br: 12px;
  --panel-radius-bl: 0;
  --panel-radius-sm: 8px;
  --panel-radius-btn: 8px;

  /* Override Metronic / Bootstrap primary tokens so light-primary buttons aren't pale */
  --bs-primary: #642240;
  --bs-primary-rgb: 100, 34, 64;
  --bs-primary-active: #4a1830;
  --bs-primary-light: #ffefe4;
  --bs-primary-inverse: #ffefe4;
  --kt-primary: #642240;
  --kt-primary-active: #4a1830;
  --kt-primary-light: #ffefe4;
  --kt-primary-inverse: #ffefe4;
  --bs-form-check-input-checked-bg-color: #642240;
  --bs-form-check-input-checked-border-color: #642240;
}

body.iseft-panel,
body.iseft-panel #kt_app_root,
body.iseft-panel .app-page,
body.iseft-panel .app-wrapper {
  background-color: var(--nude) !important;
}

/*
 * Metronic sets html/body to 13px (desktop) and 12px (≤991px / ≤767px).
 * Public site uses browser default 16px — rem-based UI looks tiny on panel mobile.
 * Lock root to 16px so panel type matches public on all breakpoints.
 */
html:has(body.iseft-panel),
html:has(body.iseft-user-panel),
body.iseft-panel,
body.iseft-user-panel {
  font-size: 16px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

@media (max-width: 991.98px) {
  html:has(body.iseft-panel),
  html:has(body.iseft-user-panel),
  body.iseft-panel,
  body.iseft-user-panel {
    font-size: 16px !important;
  }
}

@media (max-width: 767.98px) {
  html:has(body.iseft-panel),
  html:has(body.iseft-user-panel),
  body.iseft-panel,
  body.iseft-user-panel {
    font-size: 16px !important;
  }
}

body.iseft-panel,
body.iseft-user-panel {
  --bs-body-font-family: Arial, Helvetica, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
}

/*
 * Panel content typography (sidebar untouched) — match public site:
 * 1) Page / modal / dashboard labels / Latest Research|Resource =
 *    homepage EFT cards (What is Emotion Focused Therapy? …):
 *    text-lg → md:text-2xl → lg:text-3xl → xl:text-4xl, font-bold
 * 2) Body / table / edit text = article detail (text-base → md:text-lg)
 */
body.iseft-panel,
body.iseft-panel #kt_app_root,
body.iseft-panel #kt_app_content_container,
body.iseft-panel .app-sidebar,
body.iseft-panel .menu,
body.iseft-panel .menu-title,
body.iseft-panel .menu-link {
  font-family: Arial, Helvetica, sans-serif !important;
}

body.iseft-panel,
body.iseft-panel #kt_app_root,
body.iseft-panel #kt_app_content_container,
body.iseft-panel .app-main,
body.iseft-panel .app-content {
  font-size: 16px !important; /* public text-base */
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/* Article detail body: text-base → md:text-lg */
body.iseft-panel #kt_app_content_container p,
body.iseft-panel #kt_app_content_container .text-muted,
body.iseft-panel #kt_app_content_container .text-gray-600,
body.iseft-panel #kt_app_content_container .text-gray-700,
body.iseft-panel #kt_app_content_container .text-gray-800,
body.iseft-panel #kt_app_content_container .text-gray-900,
body.iseft-panel #kt_app_content_container td,
body.iseft-panel #kt_app_content_container th,
body.iseft-panel #kt_app_content_container .form-label,
body.iseft-panel #kt_app_content_container label,
body.iseft-panel #kt_app_content_container .form-text,
body.iseft-panel #kt_app_content_container tbody,
body.iseft-panel #kt_app_content_container .fw-semibold,
body.iseft-panel #kt_app_content_container .note-editable,
body.iseft-panel #kt_app_content_container .ck-editor__editable {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

body.iseft-panel #kt_app_content_container .form-control,
body.iseft-panel #kt_app_content_container .form-select,
body.iseft-panel #kt_app_content_container .btn:not(.btn-sm):not(.btn-lg),
body.iseft-panel #kt_app_content_container .nav-link,
body.iseft-panel #kt_app_toolbar,
body.iseft-panel #kt_app_toolbar .btn {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

@media (min-width: 768px) {
  body.iseft-panel #kt_app_content_container p,
  body.iseft-panel #kt_app_content_container .text-muted,
  body.iseft-panel #kt_app_content_container .text-gray-600,
  body.iseft-panel #kt_app_content_container .text-gray-700,
  body.iseft-panel #kt_app_content_container .text-gray-800,
  body.iseft-panel #kt_app_content_container .text-gray-900,
  body.iseft-panel #kt_app_content_container td,
  body.iseft-panel #kt_app_content_container th,
  body.iseft-panel #kt_app_content_container .form-label,
  body.iseft-panel #kt_app_content_container label,
  body.iseft-panel #kt_app_content_container .form-text,
  body.iseft-panel #kt_app_content_container tbody,
  body.iseft-panel #kt_app_content_container .fw-semibold,
  body.iseft-panel #kt_app_content_container .note-editable,
  body.iseft-panel #kt_app_content_container .ck-editor__editable {
    font-size: 18px !important; /* public md:text-lg */
    line-height: 1.5 !important;
  }
}

body.iseft-panel #kt_app_content_container th {
  font-weight: 700 !important;
}

/*
 * Page / modal / dashboard labels / Latest Research|Resource —
 * same as homepage EFT cards (What is Emotion Focused Therapy? …):
 * text-lg → md:text-2xl → lg:text-3xl → xl:text-4xl, bold
 * (stat-label / card-title / section-title also reinforced in FINAL + inline)
 */
body.iseft-panel #kt_app_content_container h1,
body.iseft-panel #kt_app_content_container h2:not(.accordion-header):not(.admin-media-card__title),
body.iseft-panel #kt_app_content_container .card-label,
body.iseft-panel #kt_app_content_container .modal-title,
body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
body.iseft-panel #kt_app_toolbar .page-heading,
body.iseft-panel #kt_app_toolbar h1 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

@media (min-width: 768px) {
  body.iseft-panel #kt_app_content_container h1,
  body.iseft-panel #kt_app_content_container h2:not(.accordion-header):not(.admin-media-card__title),
  body.iseft-panel #kt_app_content_container .card-label,
  body.iseft-panel #kt_app_content_container .modal-title,
  body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-panel #kt_app_toolbar .page-heading,
  body.iseft-panel #kt_app_toolbar h1 {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  body.iseft-panel #kt_app_content_container h1,
  body.iseft-panel #kt_app_content_container h2:not(.accordion-header):not(.admin-media-card__title),
  body.iseft-panel #kt_app_content_container .card-label,
  body.iseft-panel #kt_app_content_container .modal-title,
  body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-panel #kt_app_toolbar .page-heading,
  body.iseft-panel #kt_app_toolbar h1 {
    font-size: 1.875rem !important;
  }
}

@media (min-width: 1280px) {
  body.iseft-panel #kt_app_content_container h1,
  body.iseft-panel #kt_app_content_container h2:not(.accordion-header):not(.admin-media-card__title),
  body.iseft-panel #kt_app_content_container .card-label,
  body.iseft-panel #kt_app_content_container .modal-title,
  body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-panel #kt_app_toolbar .page-heading,
  body.iseft-panel #kt_app_toolbar h1 {
    font-size: 2.25rem !important;
  }
}

/* Index card headers / search row titles (not dashboard My Profile / Communications) */
body.iseft-panel #kt_app_content_container h3,
body.iseft-panel #kt_app_content_container h4,
body.iseft-panel #kt_app_content_container .card-title,
body.iseft-panel #kt_app_content_container .card-header .card-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.75rem !important;
  word-spacing: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Calendar month title stays resource-card title scale (not In Focus) */
body.iseft-panel #kt_app_content_container .fc-toolbar h2,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-center h2 {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75rem !important;
}

body.iseft-panel .app-main,
body.iseft-panel #kt_app_content,
body.iseft-panel .app-content,
body.iseft-panel #kt_app_content_container {
  background-color: #fff !important;
}

body.iseft-panel #kt_app_header.app-header {
  background-color: #fff !important;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(100, 34, 64, 0.1) !important;
  min-height: 64px;
  z-index: 100 !important;
}

body.iseft-panel #kt_app_header .btn-active-color-primary,
body.iseft-panel #kt_app_header .btn-active-color-primary i,
body.iseft-panel #kt_app_header #kt_app_sidebar_mobile_toggle {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_sidebar,
body.iseft-panel #kt_app_sidebar .app-sidebar-menu,
body.iseft-panel #kt_app_sidebar .app-sidebar-wrapper {
  background-color: var(--dark-blue) !important;
  border-right: 1px solid #642240 !important; /* burgundy separator */
}

/* Hide sidebar scrollbar; keep scrolling */
body.iseft-panel #kt_app_sidebar .scroll,
body.iseft-panel #kt_app_sidebar .scroll-y,
body.iseft-panel #kt_app_sidebar .hover-scroll-overlay-y,
body.iseft-panel #kt_app_sidebar .app-sidebar-wrapper,
body.iseft-panel #kt_app_sidebar .app-sidebar-menu,
body.iseft-panel #kt_app_sidebar_menu_scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.iseft-panel #kt_app_sidebar .scroll::-webkit-scrollbar,
body.iseft-panel #kt_app_sidebar .scroll-y::-webkit-scrollbar,
body.iseft-panel #kt_app_sidebar .hover-scroll-overlay-y::-webkit-scrollbar,
body.iseft-panel #kt_app_sidebar .app-sidebar-wrapper::-webkit-scrollbar,
body.iseft-panel #kt_app_sidebar .app-sidebar-menu::-webkit-scrollbar,
body.iseft-panel #kt_app_sidebar_menu_scroll::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

body.iseft-panel #kt_app_sidebar .app-sidebar-logo {
  background-color: var(--nude) !important;
  border-bottom: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box;
}

body.iseft-panel #kt_app_sidebar .app-sidebar-logo .app-sidebar-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 0;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Panel logos: same mark+wordmark + heartbeat as public header */
body.iseft-panel .site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
  flex-shrink: 0;
}

body.iseft-panel .site-logo__mark,
body.iseft-panel .site-logo__word {
  display: inline-flex;
  line-height: 0;
}

body.iseft-panel .site-logo__mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

body.iseft-panel .site-logo img {
  display: block;
  width: auto !important;
  height: 42px !important;
  max-height: 42px !important;
  object-fit: contain;
}

body.iseft-panel .site-logo__mark-base,
body.iseft-panel .site-logo__mark-pulse,
body.iseft-panel .site-logo__mark-anim {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

body.iseft-panel .site-logo__mark-base {
  z-index: 1;
}

body.iseft-panel .site-logo__mark-pulse {
  z-index: 2;
}

body.iseft-panel .site-logo__mark-anim {
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

body.iseft-panel .site-logo:hover .site-logo__mark-base,
body.iseft-panel .site-logo:hover .site-logo__mark-pulse,
body.iseft-panel .app-sidebar-logo-link:hover .site-logo__mark-base,
body.iseft-panel .app-sidebar-logo-link:hover .site-logo__mark-pulse,
body.iseft-panel #kt_app_sidebar .app-sidebar-logo:hover .site-logo__mark-base,
body.iseft-panel #kt_app_sidebar .app-sidebar-logo:hover .site-logo__mark-pulse,
body.iseft-panel #kt_app_header .site-logo:hover .site-logo__mark-base,
body.iseft-panel #kt_app_header .site-logo:hover .site-logo__mark-pulse {
  opacity: 0;
}

body.iseft-panel .site-logo:hover .site-logo__mark-anim,
body.iseft-panel .app-sidebar-logo-link:hover .site-logo__mark-anim,
body.iseft-panel #kt_app_sidebar .app-sidebar-logo:hover .site-logo__mark-anim,
body.iseft-panel #kt_app_header .site-logo:hover .site-logo__mark-anim {
  opacity: 1;
}

body.iseft-panel .site-logo__word img {
  max-width: 106px !important;
}

@media all and (min-width: 768px) {
  body.iseft-panel .site-logo__mark {
    width: 60px;
    height: 60px;
  }

  body.iseft-panel .site-logo img {
    height: 60px !important;
    max-height: 60px !important;
  }

  body.iseft-panel .site-logo__word img {
    max-width: 145px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.iseft-panel .site-logo:hover .site-logo__mark-base,
  body.iseft-panel .site-logo:hover .site-logo__mark-pulse,
  body.iseft-panel .app-sidebar-logo-link:hover .site-logo__mark-base,
  body.iseft-panel .app-sidebar-logo-link:hover .site-logo__mark-pulse,
  body.iseft-panel #kt_app_sidebar .app-sidebar-logo:hover .site-logo__mark-base,
  body.iseft-panel #kt_app_sidebar .app-sidebar-logo:hover .site-logo__mark-pulse,
  body.iseft-panel #kt_app_header .site-logo:hover .site-logo__mark-base,
  body.iseft-panel #kt_app_header .site-logo:hover .site-logo__mark-pulse {
    opacity: 1;
  }

  body.iseft-panel .site-logo:hover .site-logo__mark-anim,
  body.iseft-panel .app-sidebar-logo-link:hover .site-logo__mark-anim,
  body.iseft-panel #kt_app_sidebar .app-sidebar-logo:hover .site-logo__mark-anim,
  body.iseft-panel #kt_app_header .site-logo:hover .site-logo__mark-anim {
    opacity: 0;
  }
}

/* Header logo: mobile only — desktop keeps sidebar logo alone */
@media (min-width: 992px) {
  body.iseft-panel #kt_app_header .site-logo--panel-header {
    display: none !important;
  }
}

/* Header logo sizing (mobile) matches public logo */
body.iseft-panel .site-logo--panel-header .site-logo__mark {
  width: 42px;
  height: 42px;
}

body.iseft-panel .site-logo--panel-header img {
  height: 42px !important;
  max-height: 42px !important;
}

body.iseft-panel .site-logo--panel-header .site-logo__word img {
  max-width: 106px !important;
}

/* Minimized sidebar: mark only (full logo returns on hover when hoverable) */
body.iseft-panel[data-kt-app-sidebar-minimize="on"]:not([data-kt-app-sidebar-hoverable="true"]) #kt_app_sidebar .app-sidebar-logo .site-logo__word {
  display: none !important;
}

body.iseft-panel[data-kt-app-sidebar-minimize="on"][data-kt-app-sidebar-hoverable="true"] #kt_app_sidebar:not(:hover) .app-sidebar-logo .site-logo__word {
  display: none !important;
}

body.iseft-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar .app-sidebar-logo .site-logo__mark {
  width: 36px;
  height: 36px;
}

/* Keep mark/logo visible even if Metronic targets legacy default/minimize imgs */
body.iseft-panel #kt_app_sidebar .app-sidebar-logo .site-logo {
  display: inline-flex !important;
}

body.iseft-panel #kt_app_sidebar .app-sidebar-logo .site-logo__mark {
  display: inline-flex !important;
}

body.iseft-panel #kt_app_sidebar .app-sidebar-logo .site-logo__mark img {
  display: block !important;
}

body.iseft-panel #kt_app_sidebar .app-sidebar-toggle,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle.btn-color-muted,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle.btn-active-color-primary {
  background-color: #fff !important;
  color: #642240 !important; /* burgundy */
  border: none !important;
  border-radius: var(--panel-radius-sm) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15) !important;
}

body.iseft-panel #kt_app_sidebar .app-sidebar-toggle i,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle i::before,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .fas,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .fa-angles-left,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .ki-duotone,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon svg,
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon svg [fill]:not([fill="none"]),
body.iseft-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon svg [stroke]:not([stroke="none"]) {
  color: #642240 !important;
  fill: #642240 !important;
  stroke: #642240 !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link {
  border-radius: var(--panel-radius-sm) !important;
  margin: 0.2rem 0.5rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link {
  border-radius: var(--panel-radius-sm) !important;
}

/*
 * Exact public mobile nav: text-lg font-medium → 1.125rem / 500 / Arial
 */
body.iseft-panel #kt_app_sidebar .menu,
body.iseft-panel #kt_app_sidebar .menu.menu-column,
body.iseft-panel #kt_app_sidebar .menu.fw-semibold,
body.iseft-panel #kt_app_sidebar .menu.fs-6,
body.iseft-panel #kt_app_sidebar .menu.menu-column.fw-semibold.fs-6,
body.iseft-panel #kt_app_sidebar .menu .menu-item,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-title,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link .menu-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-icon i,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-icon .svg-icon {
  color: var(--nude) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-arrow:after {
  background-color: var(--nude) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-bullet .bullet,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-bullet .bullet-dot {
  background-color: var(--nude) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active),
body.iseft-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here),
body.iseft-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  background-color: var(--nude) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon i,
body.iseft-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link .menu-icon i,
body.iseft-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover .menu-icon i {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link:hover .menu-arrow:after,
body.iseft-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link .menu-arrow:after,
body.iseft-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover .menu-arrow:after {
  background-color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link.active,
body.iseft-panel #kt_app_sidebar .menu .menu-item.here > .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item.show > .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item.menu-accordion.show > .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link {
  background-color: var(--nude) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link.active,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-icon i,
body.iseft-panel #kt_app_sidebar .menu .menu-item.here > .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-icon i,
body.iseft-panel #kt_app_sidebar .menu .menu-item.show > .menu-link,
body.iseft-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-title,
body.iseft-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-icon,
body.iseft-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-icon i {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-arrow:after,
body.iseft-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-arrow:after,
body.iseft-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-arrow:after {
  background-color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link .menu-title {
  color: var(--nude) !important;
}

body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active {
  background-color: var(--nude) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-title,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-title,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-icon,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-icon,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-icon i,
body.iseft-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-icon i {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

body.iseft-panel #kt_app_content {
  border-radius: var(--panel-radius) 0 0 0;
}

body.iseft-panel #kt_app_content_container h1,
body.iseft-panel #kt_app_content_container h2,
body.iseft-panel #kt_app_content_container h3,
body.iseft-panel #kt_app_content_container h4,
body.iseft-panel #kt_app_content_container h5,
body.iseft-panel #kt_app_content_container h6,
body.iseft-panel #kt_app_content_container .card-title {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container label,
body.iseft-panel #kt_app_content_container .form-label {
  color: var(--dark-blue) !important;
}

/* Cards = public resource-card: rounded-[4px_4px_12px_0] / lg:[8px_8px_22px_0]
   TL/TR small, BR largest, BL = 0 (sharp left bottom) */
body.iseft-panel #kt_app_content_container .card,
body.iseft-panel .panel-dashboard__stat,
body.iseft-panel .panel-dashboard__card,
body.iseft-panel .panel-dashboard .card {
  border-top-left-radius: var(--panel-radius-tl) !important;
  border-top-right-radius: var(--panel-radius-tr) !important;
  border-bottom-right-radius: var(--panel-radius-br) !important;
  border-bottom-left-radius: var(--panel-radius-bl) !important;
  overflow: hidden;
}

body.iseft-panel #kt_app_content_container .card {
  background-color: #fff !important;
  border: none !important;
  box-shadow: var(--panel-shadow) !important;
}

@media (min-width: 1024px) {
  body.iseft-panel {
    --panel-radius: 8px 8px 22px 0;
    --panel-radius-lg: 8px 8px 22px 0;
    --panel-radius-tl: 8px;
    --panel-radius-tr: 8px;
    --panel-radius-br: 22px;
    --panel-radius-bl: 0;
  }
}

/* Let Summernote toolbar hover labels escape the card */
body.iseft-user-panel #kt_app_content_container .card:has(.note-editor) {
  overflow: visible !important;
}

body.iseft-panel #kt_app_content_container .card-header {
  background-color: #fff !important;
  border-bottom: 1px solid var(--panel-border) !important;
  padding: 1.15rem 1.5rem !important;
  min-height: auto !important;
}

body.iseft-panel #kt_app_content_container .card-footer {
  background-color: rgba(255, 239, 228, 0.45) !important;
  border-top: 1px solid var(--panel-border) !important;
}

body.iseft-panel #kt_app_content_container .card-header,
body.iseft-panel #kt_app_content_container .card-footer {
  border-radius: 0 !important;
}

body.iseft-panel #kt_app_content_container .card-body {
  padding: 1.35rem 1.5rem !important;
}

body.iseft-panel #kt_app_content_container .card-body.p-0 {
  padding: 0 !important;
}

body.iseft-panel #kt_app_content_container .card .table-responsive {
  border-radius: var(--panel-radius);
  overflow-x: auto;
  overflow-y: hidden;
}

/* Actions menus teleport to body via data-kt-menu-overflow — keep z-index above card */
body.iseft-panel #kt_app_content_container .menu-sub-dropdown.show,
body.iseft-panel .menu-sub-dropdown.show,
body.iseft-panel body > .menu-sub-dropdown.show,
body > .menu.menu-sub-dropdown.show {
  z-index: 1080 !important;
}

body.iseft-panel #kt_app_content_container .table thead th:first-child {
  border-top-left-radius: var(--panel-radius-tl);
}

body.iseft-panel #kt_app_content_container .table thead th:last-child {
  border-top-right-radius: var(--panel-radius-tr);
}

body.iseft-panel #kt_app_content_container .text-gray-800,
body.iseft-panel #kt_app_content_container .text-dark {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .text-gray-600,
body.iseft-panel #kt_app_content_container .text-gray-700,
body.iseft-panel #kt_app_content_container .text-muted {
  /* Use muted color — never opacity (it washes out buttons/switches inside tbody) */
  color: #8b5970 !important;
  opacity: 1 !important;
}

/* Never wash out table headers / dark chrome with .text-muted opacity */
body.iseft-panel #kt_app_content_container .table thead .text-muted,
body.iseft-panel #kt_app_content_container .table thead th.text-muted,
body.iseft-panel #kt_app_content_container .btn .text-muted {
  opacity: 1 !important;
}

/* Buttons/switches inside muted table bodies must stay solid */
body.iseft-panel #kt_app_content_container .table .btn,
body.iseft-panel #kt_app_content_container .table .form-check-input,
body.iseft-panel #kt_app_content_container tbody .btn,
body.iseft-panel #kt_app_content_container tbody .form-check-input {
  opacity: 1 !important;
}

body.iseft-panel #kt_app_content_container a:not(.btn):not(.menu-link):not(.page-link):not(.fc-event):not(.panel-dashboard__level-up-link):not(.panel-profile-level-up-link) {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .table thead tr {
  background-color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .table thead th,
body.iseft-panel #kt_app_content_container .table thead th.text-muted,
body.iseft-panel #kt_app_content_container .table thead .text-muted {
  background-color: #642240 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
  border-bottom: none !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  padding: 1rem 1.35rem !important;
}

body.iseft-panel #kt_app_content_container .table tbody tr {
  background-color: #fff !important;
}

body.iseft-panel #kt_app_content_container .table tbody tr:nth-child(even) {
  background-color: rgba(255, 239, 228, 0.45) !important;
}

body.iseft-panel #kt_app_content_container .table tbody tr:hover {
  background-color: rgba(100, 34, 64, 0.08) !important;
}

body.iseft-panel #kt_app_content_container .table td,
body.iseft-panel #kt_app_content_container .table tbody td {
  color: var(--dark-blue) !important;
  border-color: var(--panel-border) !important;
  padding: 1rem 1.35rem !important;
  vertical-align: middle !important;
}

body.iseft-panel #kt_app_content_container .table.table-row-dashed td,
body.iseft-panel #kt_app_content_container .table.table-row-dashed th {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

body.iseft-panel #kt_app_content_container .card .card-body.p-0 .table thead th:first-child,
body.iseft-panel #kt_app_content_container .card .card-body.p-0 .table tbody td:first-child {
  padding-left: 1.5rem !important;
}

body.iseft-panel #kt_app_content_container .card .card-body.p-0 .table thead th:last-child,
body.iseft-panel #kt_app_content_container .card .card-body.p-0 .table tbody td:last-child {
  padding-right: 1.5rem !important;
}

body.iseft-panel #kt_app_content_container .form-control,
body.iseft-panel #kt_app_content_container .form-select,
body.iseft-panel #kt_app_content_container textarea,
body.iseft-panel #kt_app_content_container textarea.form-control,
body.iseft-panel #kt_app_content_container select:not(.select2-hidden-accessible),
body.iseft-panel #kt_app_content_container .input-group-text,
body.iseft-panel #kt_app_content_container input.form-control:not(.select2-search__field),
body.iseft-panel #kt_app_content_container input[type="text"]:not(.select2-search__field),
body.iseft-panel #kt_app_content_container input[type="email"],
body.iseft-panel #kt_app_content_container input[type="password"],
body.iseft-panel #kt_app_content_container input[type="number"],
body.iseft-panel #kt_app_content_container input[type="date"],
body.iseft-panel #kt_app_content_container input[type="datetime-local"],
body.iseft-panel #kt_app_content_container input[type="search"]:not(.select2-search__field),
body.iseft-panel #kt_app_content_container input[type="tel"],
body.iseft-panel #kt_app_content_container input[type="url"],
body.iseft-panel #kt_app_content_container input[type="file"],
body.iseft-panel #kt_app_content_container .flatpickr-input,
body.iseft-panel #kt_app_content_container .form-control-solid {
  background-color: var(--nude) !important;
  border: 1px solid rgba(100, 34, 64, 0.15) !important;
  color: var(--dark-blue) !important;
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel textarea:not(.note-codable):not(.tox-textarea):not(.select2-search__field) {
  background-color: var(--nude) !important;
  border: 1px solid rgba(100, 34, 64, 0.15) !important;
  color: var(--dark-blue) !important;
  border-radius: var(--panel-radius-sm) !important;
  padding: 0.75rem 1rem;
}

body.iseft-panel textarea:not(.note-codable):not(.tox-textarea):not(.select2-search__field):focus {
  border-color: var(--medium-blue) !important;
  box-shadow: 0 0 0 0.2rem rgba(100, 34, 64, 0.2) !important;
  outline: none;
}

body.iseft-panel #kt_app_content_container .input-group .form-control:first-child,
body.iseft-panel #kt_app_content_container .input-group .input-group-text:first-child {
  border-top-left-radius: var(--panel-radius-sm) !important;
  border-bottom-left-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel #kt_app_content_container .input-group .form-control:last-child,
body.iseft-panel #kt_app_content_container .input-group .input-group-text:last-child {
  border-top-right-radius: var(--panel-radius-sm) !important;
  border-bottom-right-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel #kt_app_content_container .form-control:focus,
body.iseft-panel #kt_app_content_container .form-select:focus,
body.iseft-panel #kt_app_content_container textarea:focus,
body.iseft-panel #kt_app_content_container select:focus {
  border-color: var(--medium-blue) !important;
  box-shadow: 0 0 0 0.2rem rgba(100, 34, 64, 0.2) !important;
}

/* Unified panel buttons: solid burgundy / nude text */
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn),
body.iseft-panel #kt_app_content_container .btn.btn-light:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn),
body.iseft-panel #kt_app_content_container .btn.btn-primary:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn),
body.iseft-panel #kt_app_content_container .btn.btn-light-primary:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn),
body.iseft-panel #kt_app_content_container .btn.btn-active-light-primary:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn),
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger]:not(.d-none):not(.event-modal-btn-hidden),
body.iseft-panel #kt_app_content_container a.btn[data-kt-menu-trigger]:not(.d-none):not(.event-modal-btn-hidden),
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn),
body.iseft-panel .swal2-container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.panel-on-burgundy-btn) {
  border-radius: var(--panel-radius-btn) !important;
  background-color: #642240 !important;
  border: 1px solid #642240 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  padding: 0.85rem 0.85rem !important;
  min-height: 2.75rem !important;
  height: auto !important;
  line-height: 1.25 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  vertical-align: middle;
}

/* Hidden buttons must win over any remaining theme display rules (incl. #kt_app_content_container) */
body.iseft-panel #kt_app_content_container .btn.d-none:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-panel #kt_app_content_container .btn.event-modal-btn-hidden:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-panel #kt_app_content_container .modal .btn.d-none:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-panel #kt_app_content_container .modal .btn.event-modal-btn-hidden:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-panel #kt_app_content_container .btn.btn-primary.d-none,
body.iseft-panel #kt_app_content_container .btn.btn-primary.event-modal-btn-hidden,
body.iseft-panel #kt_app_content_container .btn.btn-danger.d-none,
body.iseft-panel #kt_app_content_container .btn.btn-danger.event-modal-btn-hidden,
body.iseft-panel #kt_app_content_container .btn.btn-warning.d-none,
body.iseft-panel #kt_app_content_container .btn.btn-warning.event-modal-btn-hidden,
body.iseft-panel #kt_app_content_container .btn.btn-success.d-none,
body.iseft-panel #kt_app_content_container .btn.btn-success.event-modal-btn-hidden,
body.iseft-panel .modal .btn.d-none:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-panel .modal .btn.event-modal-btn-hidden:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-panel .swal2-container .btn.d-none:not(.btn-icon):not(.btn-link):not(.btn-close) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* Hard rule: create modal never shows Update/Remove/Accept/Reject; edit never shows Save */
body.iseft-panel #eventForm.event-modal-mode-create .btn-update,
body.iseft-panel #eventForm.event-modal-mode-create .btn-remove-event,
body.iseft-panel #eventForm.event-modal-mode-create .btn-accept-event,
body.iseft-panel #eventForm.event-modal-mode-create .btn-reject-event,
body.iseft-panel #eventForm.event-modal-mode-edit .btn-save {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close).btn-sm,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close).btn-sm {
  padding: 0.85rem 0.85rem !important;
  min-height: 2.75rem !important;
  font-size: 0.875rem !important;
}

body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) .svg-icon,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) .ki-solid,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) .ki-duotone,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i {
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
}

body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) .svg-icon svg {
  width: 1rem !important;
  height: 1rem !important;
}

/* Keep same look on hover/focus/active — no nude flip, icons stay white */
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn):hover,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn):focus,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn):active,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn).show,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn).active,
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger]:hover,
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger].show,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):hover,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):focus,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):active,
body.iseft-panel .swal2-container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):hover,
body.iseft-panel .swal2-container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):focus,
body.iseft-panel .swal2-container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.panel-on-burgundy-btn):active {
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
  filter: none !important;
}

body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover i,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):focus i,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):active i,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close).show i,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close).active i,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover .ki-solid,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover .ki-duotone,
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover .svg-icon,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover i,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):focus i,
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):active i {
  color: #fff !important;
}

/* ki-solid icons: hide leftover path spans (they render as white squares, e.g. Filter) */
body.iseft-panel #kt_app_content_container .btn i.ki-solid [class^="path"],
body.iseft-panel #kt_app_content_container .btn i.ki-solid [class*="path"],
body.iseft-panel .modal .btn i.ki-solid [class^="path"],
body.iseft-panel .modal .btn i.ki-solid [class*="path"],
body.iseft-panel .swal2-container .btn i.ki-solid [class^="path"] {
  display: none !important;
  background: none !important;
  background-color: transparent !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Dual-tone (ki-duotone) icon paths stay colored for visibility */
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i.ki-duotone [class^="path"],
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover i.ki-duotone [class^="path"],
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):focus i.ki-duotone [class^="path"],
body.iseft-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):active i.ki-duotone [class^="path"],
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i.ki-duotone [class^="path"],
body.iseft-panel .modal .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover i.ki-duotone [class^="path"] {
  background-color: #fff !important;
  color: #fff !important;
}

/* Keep toolbar / search rows vertically aligned on one row */
body.iseft-panel #kt_app_content_container .card-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem 1rem !important;
}

body.iseft-panel #kt_app_content_container .card-header .card-title,
body.iseft-panel #kt_app_content_container .card-header .card-toolbar {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  min-height: 2.75rem !important;
}

body.iseft-panel #kt_app_content_container .card-toolbar .d-flex,
body.iseft-panel #kt_app_content_container .card-title .d-flex,
body.iseft-panel #kt_app_content_container [data-kt-subscription-table-toolbar="base"] {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem;
}

body.iseft-panel #kt_app_content_container .card-title form.d-flex,
body.iseft-panel #kt_app_content_container .card-title .search-form,
body.iseft-panel #kt_app_content_container .card-title .d-flex.align-items-center,
body.iseft-panel #kt_app_content_container .card-title .position-relative {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 100%;
}

/* Larger search inputs — same height as toolbar buttons */
body.iseft-panel #kt_app_content_container .card-title .form-control,
body.iseft-panel #kt_app_content_container .card-toolbar .form-control,
body.iseft-panel #kt_app_content_container .card-header input[name="search"],
body.iseft-panel #kt_app_content_container .search-form .form-control {
  min-height: 2.75rem !important;
  height: 2.75rem !important;
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  padding-left: 3.75rem !important;
  font-size: 0.95rem !important;
  line-height: 1.25 !important;
  flex: 0 1 auto !important;
  width: 250px !important;
  max-width: min(250px, 100%) !important;
}

body.iseft-panel #kt_app_content_container .card-title .search-form .btn {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
}

body.iseft-panel #kt_app_content_container .card-title .position-relative > .ki-magnifier,
body.iseft-panel #kt_app_content_container .card-title .position-relative > i.ki-solid.ki-magnifier {
  position: absolute !important;
  top: 50% !important;
  left: 1rem !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 2;
  pointer-events: none;
  color: #642240 !important;
}

/* Header navbar: home / bell / profile spacing */
body.iseft-panel #kt_app_header .app-navbar {
  gap: 0.5rem;
}

@media (min-width: 768px) {
  body.iseft-panel #kt_app_header .app-navbar {
    gap: 1.75rem;
  }
}

body.iseft-panel #kt_app_header .app-navbar > .app-navbar-item {
  margin-left: 0 !important;
}

body.iseft-panel #kt_header_user_menu_toggle .iseft-panel-header-user-email,
body.iseft-panel #kt_header_user_menu_toggle .iseft-panel-header-user-email:hover,
body.iseft-panel #kt_header_user_menu_toggle .iseft-panel-header-user-email:focus {
  color: var(--medium-pink) !important;
  text-decoration: none;
}

body.iseft-panel #kt_header_user_menu_toggle .iseft-panel-header-user-email:hover {
  opacity: 0.9;
}

/* Notification count: true circle (not oval) */
body.iseft-panel #notif-badge {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 1.15rem !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  padding: 0 !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  background-color: var(--medium-pink) !important;
  color: #fff !important;
  border: none !important;
}

body.iseft-panel #notif-badge.is-wide {
  width: auto !important;
  padding: 0 0.35rem !important;
  border-radius: 999px !important;
}

/* Actions: more padding, same as other panel buttons */
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger] .ki-down,
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger] .ki-solid.ki-down,
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger] .bi-chevron-down,
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger]::after {
  display: none !important;
}

body.iseft-panel #kt_app_content_container .btn.btn-sm[data-kt-menu-trigger],
body.iseft-panel #kt_app_content_container a.btn.btn-sm[data-kt-menu-trigger],
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger],
body.iseft-panel #kt_app_content_container a.btn[data-kt-menu-trigger] {
  padding: 0.85rem 0.85rem !important;
  min-height: 2.75rem !important;
  line-height: 1.25 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}

body.iseft-panel #kt_app_content_container .badge,
body.iseft-panel #kt_app_content_container .badge-light-success,
body.iseft-panel #kt_app_content_container .badge-light-danger,
body.iseft-panel #kt_app_content_container .badge-light-warning {
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel #kt_app_content_container .badge-light-success {
  background-color: #d4edda !important;
  color: #155724 !important;
}

body.iseft-panel #kt_app_content_container .badge-light-danger {
  background-color: rgba(255, 239, 228, 0.65) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .badge-light-warning {
  background-color: rgba(246, 136, 112, 0.2) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .panel-dashboard__card {
  background: #fff !important;
  border: none !important;
  box-shadow: var(--panel-shadow) !important;
  height: 100%;
  padding: 1.5rem;
}

body.iseft-panel .panel-dashboard__card--chart {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

body.iseft-panel .panel-dashboard__chart-wrap {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 240px;
  max-height: 280px;
  margin-top: 0.5rem;
}

body.iseft-panel .panel-dashboard__chart {
  width: 100% !important;
  height: 100% !important;
}

body.iseft-panel .panel-dashboard__stat {
  background: #fff;
  box-shadow: var(--panel-shadow);
  padding: 1.25rem 1.35rem;
  height: 100%;
  border: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.iseft-panel .panel-dashboard__stat:hover {
  box-shadow: 0 4px 20px rgba(100, 34, 64, 0.1);
  transform: translateY(-1px);
}

body.iseft-panel .panel-dashboard__stat-label {
  color: var(--dark-blue);
  /* size/weight from resource-card title rules above */
  opacity: 1;
  margin-bottom: 0.55rem;
}

body.iseft-panel .panel-dashboard__stat-value {
  color: var(--dark-blue);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  opacity: 1;
}

body.iseft-panel .panel-dashboard__stat-value--sm {
  font-size: 1.35rem;
}

body.iseft-panel .panel-dashboard__stat-hint {
  color: var(--dark-blue);
  opacity: 1;
  /* match table body / “No pending research requests” */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 0.45rem;
}

@media (min-width: 768px) {
  body.iseft-panel .panel-dashboard__stat-hint {
    font-size: 18px;
  }
}

body.iseft-panel .panel-dashboard__stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

body.iseft-panel .panel-dashboard__stat-row .panel-dashboard__stat-value {
  margin: 0;
  min-width: 0;
}

body.iseft-panel .panel-dashboard__renew-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

body.iseft-panel .panel-dashboard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.iseft-panel .panel-dashboard__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--panel-border);
  color: var(--dark-blue);
}

body.iseft-panel .panel-dashboard__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.iseft-panel .panel-dashboard__list li:first-child {
  padding-top: 0;
}

body.iseft-panel .panel-dashboard__list strong {
  color: var(--dark-blue);
  font-size: 1.1rem;
}

body.iseft-panel #kt_app_content_container .alert,
body.iseft-panel #kt_app_content_container .modal-content,
body.iseft-panel #kt_app_content_container .dropdown-menu,
body.iseft-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-panel #kt_app_content_container .upload-container,
body.iseft-panel #kt_app_content_container .image-preview,
body.iseft-panel #kt_app_content_container .nav-tabs .nav-link,
body.iseft-panel #kt_app_content_container .accordion-item,
body.iseft-panel #kt_app_content_container .toast {
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel #kt_app_content_container .accordion-item:first-of-type,
body.iseft-panel #kt_app_content_container .accordion-item:first-of-type .accordion-button {
  border-top-left-radius: var(--panel-radius-sm) !important;
  border-top-right-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel #kt_app_content_container .accordion-item:last-of-type,
body.iseft-panel #kt_app_content_container .accordion-item:last-of-type .accordion-button.collapsed,
body.iseft-panel #kt_app_content_container .accordion-item:last-of-type .accordion-collapse {
  border-bottom-left-radius: var(--panel-radius-sm) !important;
  border-bottom-right-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel #kt_app_content_container .btn-icon,
body.iseft-panel #kt_app_header .btn-icon {
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel .scrolltop {
  background-color: var(--medium-blue) !important;
  color: #fff !important;
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel .scrolltop:hover {
  background-color: var(--dark-blue) !important;
}

body.iseft-panel .panel-dashboard__card-title {
  color: var(--dark-blue);
  text-align: left;
  margin: 0 0 1.25rem;
}

body.iseft-panel .panel-dashboard__section-title {
  color: var(--dark-blue);
  /* size/weight/line-height = public In Focus (rules above) */
  margin: 0 0 1rem;
}

body.iseft-panel .panel-dashboard__chart {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.iseft-panel .panel-dashboard__chart canvas {
  max-height: 240px;
}

body.iseft-panel .auto-renewal-policy__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-blue, #642240);
  margin: 0 0 0.75rem;
}

body.iseft-panel .auto-renewal-policy--scroll .auto-renewal-policy__body {
  max-height: 220px;
  overflow-y: auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--panel-border, rgba(100, 34, 64, 0.08));
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 0.25rem;
}

body.iseft-panel .auto-renewal-policy__body p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #374151;
  margin: 0 0 0.7rem;
}

body.iseft-panel .auto-renewal-policy__body p:last-child {
  margin-bottom: 0;
}

body.iseft-panel .auto-renewal-policy__body a {
  color: var(--dark-blue, #642240);
  font-weight: 600;
  text-decoration: underline;
}

body.iseft-panel .panel-dashboard__card--profile,
body.iseft-panel .panel-dashboard__card--messages {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}

body.iseft-panel .panel-dashboard__profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

body.iseft-panel .panel-dashboard__profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

body.iseft-panel .panel-dashboard__profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.iseft-panel .panel-dashboard__profile-info {
  min-width: 0;
  flex: 1;
}

body.iseft-panel .panel-dashboard__profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-blue, #642240);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

body.iseft-panel .panel-dashboard__profile-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.65rem;
}

body.iseft-panel .panel-dashboard__profile-row:last-child {
  margin-bottom: 0;
}

body.iseft-panel .panel-dashboard__profile-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9ca3af;
}

body.iseft-panel .panel-dashboard__profile-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  word-break: break-word;
}

body.iseft-panel #kt_app_content_container a.panel-dashboard__level-up-link,
body.iseft-panel .panel-dashboard__level-up-link {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-self: flex-start;
  margin-top: 1rem;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #f68870 !important;
  text-decoration: underline !important;
  line-height: 1.5 !important;
}

@media (min-width: 768px) {
  body.iseft-panel .panel-dashboard__level-up-link {
    font-size: 18px !important;
  }
}

body.iseft-panel .panel-dashboard__level-up-link:hover {
  color: #ffefe4 !important;
  opacity: 0.95 !important;
}

/* Update Profile page — level-up CTA */
body.iseft-panel .panel-profile-level-up-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--medium-pink, #f68870) !important;
  text-decoration: underline;
}

body.iseft-panel .panel-profile-level-up-link:hover {
  color: var(--dark-blue, #642240) !important;
}

body.iseft-panel .panel-dashboard__messages-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body.iseft-panel .panel-dashboard__messages-head .panel-dashboard__card-title {
  text-align: left;
}

body.iseft-panel .panel-dashboard__messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

body.iseft-panel .panel-dashboard__message {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--panel-border, rgba(100, 34, 64, 0.08));
  border-radius: 10px;
  background: #fafbfd;
}

body.iseft-panel .panel-dashboard__message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(100, 34, 64, 0.08);
}

body.iseft-panel .panel-dashboard__message-body {
  min-width: 0;
  flex: 1;
}

body.iseft-panel .panel-dashboard__message-title {
  font-weight: 700;
  color: var(--dark-blue, #642240);
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

body.iseft-panel .panel-dashboard__message-meta {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

body.iseft-panel .panel-dashboard__message-author {
  font-weight: 600;
  color: #4b5563;
}

body.iseft-panel .panel-dashboard__message-excerpt {
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.45;
}

body.iseft-panel .panel-dashboard__messages-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9ca3af;
  /* match table body / “No pending research requests” */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  padding: 1.5rem 0.5rem;
}

@media (min-width: 768px) {
  body.iseft-panel .panel-dashboard__messages-empty {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  body.iseft-panel .panel-dashboard__profile {
    flex-direction: column;
    text-align: center;
  }

  body.iseft-panel .panel-dashboard__profile-row {
    align-items: center;
  }

  body.iseft-panel .panel-dashboard__message {
    flex-direction: column;
  }

  body.iseft-panel .panel-dashboard__message .btn {
    align-self: stretch;
  }
}

body.iseft-panel .panel-dashboard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Full-screen panel loader — nude backdrop + logo (same size as public pages) */
body.iseft-panel #page-loader,
body.iseft-user-panel #page-loader {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffefe4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.iseft-page-loading,
body.iseft-page-loading #kt_app_root {
  background: #ffefe4 !important;
  overflow: hidden !important;
}

body.iseft-panel #page-loader.is-hidden,
body.iseft-panel #page-loader[style*="display: none"],
body.iseft-panel #page-loader[style*="display:none"],
body.iseft-user-panel #page-loader.is-hidden,
body.iseft-user-panel #page-loader[style*="display: none"],
body.iseft-user-panel #page-loader[style*="display:none"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: flex !important;
}

body.iseft-panel #page-loader .iseft-page-loader__mark,
body.iseft-user-panel #page-loader .iseft-page-loader__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40vmin;
  height: 40vmin;
  max-width: 40vw;
  max-height: 40vh;
}

/* Exact login mark: still ↔ GIF swap (GIF on = login hover / continuous loader) */
body.iseft-panel #page-loader .iseft-page-loader__logo,
body.iseft-user-panel #page-loader .iseft-page-loader__logo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

body.iseft-panel #page-loader .iseft-page-loader__still,
body.iseft-panel #page-loader .iseft-page-loader__anim,
body.iseft-user-panel #page-loader .iseft-page-loader__still,
body.iseft-user-panel #page-loader .iseft-page-loader__anim {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  outline: 0;
}

body.iseft-panel #page-loader .iseft-page-loader__still,
body.iseft-user-panel #page-loader .iseft-page-loader__still {
  z-index: 1;
  opacity: 0;
}

body.iseft-panel #page-loader .iseft-page-loader__anim,
body.iseft-user-panel #page-loader .iseft-page-loader__anim {
  z-index: 2;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.iseft-panel #page-loader .iseft-page-loader__still,
  body.iseft-user-panel #page-loader .iseft-page-loader__still {
    opacity: 1;
  }

  body.iseft-panel #page-loader .iseft-page-loader__anim,
  body.iseft-user-panel #page-loader .iseft-page-loader__anim {
    opacity: 0;
  }
}

body.iseft-panel #page-loader .spinner,
body.iseft-user-panel #page-loader .spinner {
  display: none !important;
}

body.iseft-panel .menu-sub-dropdown {
  background-color: #fff !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: var(--panel-radius) !important;
  box-shadow: 0 8px 28px rgba(100, 34, 64, 0.12) !important;
  padding: 0.5rem !important;
  min-width: 8rem;
}

/* Filter Options panels: white selects (not nude), full-width Select2 */
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form.px-7,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form,
body.iseft-panel .menu-sub-dropdown form.px-7,
body.iseft-panel .menu-sub-dropdown form {
  overflow: visible !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .mb-5.row,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .mb-10.row,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .row,
body.iseft-panel .menu-sub-dropdown form .mb-5.row,
body.iseft-panel .menu-sub-dropdown form .mb-10.row,
body.iseft-panel .menu-sub-dropdown form .row {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .row > [class*="col-"],
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .row > .form-select,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .row > .form-control,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown form .row > .select2-container,
body.iseft-panel .menu-sub-dropdown form .row > [class*="col-"],
body.iseft-panel .menu-sub-dropdown form .row > .form-select,
body.iseft-panel .menu-sub-dropdown form .row > .form-control,
body.iseft-panel .menu-sub-dropdown form .row > .select2-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex: none !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .form-select,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .form-control,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .form-select-solid,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .form-control-solid,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--multiple,
body.iseft-panel .menu-sub-dropdown .form-select,
body.iseft-panel .menu-sub-dropdown .form-control,
body.iseft-panel .menu-sub-dropdown .form-select-solid,
body.iseft-panel .menu-sub-dropdown .form-control-solid,
body.iseft-panel .menu-sub-dropdown .select2-container--default .select2-selection--single,
body.iseft-panel .menu-sub-dropdown .select2-container--default .select2-selection--multiple {
  background-color: #fff !important;
  border: 1px solid rgba(100, 34, 64, 0.2) !important;
  color: var(--dark-blue) !important;
  box-shadow: none !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container,
body.iseft-panel .menu-sub-dropdown .select2-container {
  width: 100% !important;
  display: block !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single,
body.iseft-panel .menu-sub-dropdown .select2-container--default .select2-selection--single {
  height: 42px !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__rendered,
body.iseft-panel .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--dark-blue) !important;
  line-height: 40px !important;
  padding-left: 0.85rem !important;
  padding-right: 2.25rem !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.iseft-panel .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(100, 34, 64, 0.45) !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default.select2-container--open .select2-selection--single,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default.select2-container--focus .select2-selection--multiple,
body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default.select2-container--open .select2-selection--multiple,
body.iseft-panel .menu-sub-dropdown .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-panel .menu-sub-dropdown .select2-container--default.select2-container--open .select2-selection--single,
body.iseft-panel .menu-sub-dropdown .select2-container--default.select2-container--focus .select2-selection--multiple,
body.iseft-panel .menu-sub-dropdown .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: var(--medium-blue) !important;
  box-shadow: 0 0 0 0.15rem rgba(100, 34, 64, 0.18) !important;
  background-color: #fff !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-dropdown,
body.iseft-panel .menu-sub-dropdown .select2-dropdown {
  background-color: #fff !important;
  border: 1px solid rgba(100, 34, 64, 0.2) !important;
  border-radius: var(--panel-radius-sm) !important;
  box-shadow: 0 8px 24px rgba(100, 34, 64, 0.12) !important;
  width: 100% !important;
  margin-top: 2px;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .select2-container--open,
body.iseft-panel .menu-sub-dropdown .select2-container--open {
  z-index: 1100 !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .form-label,
body.iseft-panel .menu-sub-dropdown .form-label {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .menu-sub-dropdown .separator,
body.iseft-panel .menu-sub-dropdown .separator {
  border-bottom-color: rgba(100, 34, 64, 0.1) !important;
}

body.iseft-panel .menu-sub-dropdown .menu-item {
  margin: 0.15rem 0;
}

body.iseft-panel .menu-sub-dropdown .menu-item .menu-link,
body.iseft-panel .menu-sub-dropdown .menu-item .btn,
body.iseft-panel .menu-sub-dropdown .menu-item .btn-link {
  color: var(--dark-blue) !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: var(--panel-radius-sm) !important;
  font-weight: 500 !important;
  text-align: left !important;
  width: 100%;
  padding: 0.55rem 0.85rem !important;
  box-shadow: none !important;
}

body.iseft-panel .menu-sub-dropdown .menu-item .menu-link:hover,
body.iseft-panel .menu-sub-dropdown .menu-item .btn-link:hover,
body.iseft-panel .menu-sub-dropdown .menu-item .btn-delete:hover {
  background-color: var(--light-blue) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .menu-sub-dropdown .menu-item .btn-delete {
  color: var(--medium-pink) !important;
}

body.iseft-panel .menu-sub-dropdown.menu-state-bg-light-primary .menu-item .menu-link:hover {
  background-color: var(--light-blue) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .pagination {
  gap: 0.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

body.iseft-panel .pagination .page-item .page-link {
  background-color: var(--dark-blue) !important;
  border: 1px solid var(--dark-blue) !important;
  color: var(--nude) !important;
  border-radius: var(--panel-radius-sm) !important;
  padding: 0.55rem 0.95rem !important;
  font-weight: 500;
  min-width: 2.5rem;
  text-align: center;
  box-shadow: none !important;
}

body.iseft-panel .pagination .page-item .page-link:hover {
  background-color: var(--medium-blue) !important;
  border-color: var(--medium-blue) !important;
  color: var(--nude) !important;
}

body.iseft-panel .pagination .page-item.active .page-link {
  background-color: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
  color: var(--nude) !important;
  box-shadow: inset 0 0 0 2px var(--nude) !important;
}

body.iseft-panel .pagination .page-item.disabled .page-link {
  background-color: var(--nude) !important;
  border-color: rgba(100, 34, 64, 0.15) !important;
  color: rgba(100, 34, 64, 0.35) !important;
}

body.iseft-panel .select2-container {
  width: 100% !important;
}

body.iseft-panel .select2-container--default .select2-selection--single,
body.iseft-panel .select2-container--default .select2-selection--multiple {
  background-color: var(--nude) !important;
  border: 1px solid rgba(100, 34, 64, 0.15) !important;
  border-radius: var(--panel-radius-sm) !important;
  min-height: 42px;
}

body.iseft-panel .select2-container--default .select2-selection--single {
  height: 42px !important;
}

body.iseft-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--dark-blue) !important;
  line-height: 40px !important;
  padding-left: 0.75rem !important;
}

body.iseft-panel .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(100, 34, 64, 0.45) !important;
}

body.iseft-panel .select2-container--default .select2-selection--multiple {
  height: auto !important;
  min-height: 42px !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0.25rem 0.35rem !important;
}

/* Choice chips only — do not turn the inline search into a second boxed row */
body.iseft-panel .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  list-style: none !important;
}

/* Remove the nested empty search box inside multi-selects */
body.iseft-panel .select2-container--default .select2-selection--multiple .select2-search--inline,
body.iseft-panel .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field,
body.iseft-panel .select2-container.select2-no-inline-search .select2-selection--multiple .select2-search--inline {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.iseft-panel .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

/* Select2 multi chips — match Tagify (burgundy bg + nude text) */
body.iseft-panel .select2-container--default .select2-selection--multiple .select2-selection__choice,
body.iseft-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice {
  background-color: var(--dark-blue) !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--nude) !important;
  border-radius: var(--panel-radius-sm) !important;
  padding: 0 !important;
  padding-left: 1.5rem !important;
  padding-right: 0.35rem !important;
  margin: 2px 0 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  line-height: 1.5 !important;
}

body.iseft-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__display,
body.iseft-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice__display {
  color: var(--nude) !important;
  padding: 0.15rem 0.35rem 0.15rem 0.15rem !important;
  line-height: 1.4 !important;
}

body.iseft-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
body.iseft-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--nude) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 1.25rem !important;
  margin-right: 0 !important;
  padding: 0 0.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  border-right: none !important;
  background: transparent !important;
  border-top-left-radius: var(--panel-radius-sm) !important;
  border-bottom-left-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
body.iseft-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--nude) !important;
  background-color: rgba(255, 239, 228, 0.22) !important;
}

body.iseft-panel .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-panel .select2-container--default.select2-container--focus .select2-selection--multiple,
body.iseft-panel .select2-container--default.select2-container--open .select2-selection--single,
body.iseft-panel .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: var(--medium-blue) !important;
  box-shadow: 0 0 0 0.2rem rgba(100, 34, 64, 0.2) !important;
}

body.iseft-panel .select2-dropdown {
  background-color: #fff !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: var(--panel-radius) !important;
  box-shadow: 0 8px 28px rgba(100, 34, 64, 0.12) !important;
  overflow: hidden;
  z-index: 9999;
}

body.iseft-panel .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--light-blue) !important;
  border-radius: var(--panel-radius-sm) !important;
  color: var(--dark-blue) !important;
  padding: 0.45rem 0.65rem !important;
}

body.iseft-panel .select2-container--default .select2-results__option {
  color: var(--dark-blue) !important;
  padding: 0.55rem 0.85rem !important;
}

body.iseft-panel .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--medium-blue) !important;
  color: #fff !important;
}

body.iseft-panel .select2-container--default .select2-results__option--selected {
  background-color: var(--light-blue) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .select2-container--default .select2-selection__arrow {
  height: 40px !important;
  top: 1px !important;
}

body.iseft-panel .select2-container--default .select2-selection__arrow b {
  border-color: var(--dark-blue) transparent transparent transparent !important;
}

body.iseft-panel #kt_app_content_container textarea.form-control {
  min-height: 120px;
}

body.iseft-panel #kt_app_content_container .note-editor.note-frame {
  border: 1px solid var(--light-blue) !important;
  border-radius: var(--panel-radius-sm) !important;
  overflow: hidden;
}

body.iseft-panel #kt_app_content_container .note-toolbar {
  background-color: #fff !important;
  border-bottom: 1px solid var(--panel-border) !important;
  padding: 0.35rem 0.5rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

body.iseft-panel #kt_app_content_container .note-toolbar .note-btn-group,
body.iseft-panel .modal .note-toolbar .note-btn-group {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin: 0 !important;
  float: none !important;
  gap: 0 !important;
}

body.iseft-panel #kt_app_content_container .note-toolbar .btn,
body.iseft-panel #kt_app_content_container .note-toolbar .note-btn,
body.iseft-panel .modal .note-toolbar .btn,
body.iseft-panel .modal .note-toolbar .note-btn {
  margin: 0.25rem !important;
  float: none !important;
  border-radius: var(--panel-radius-btn) !important;
}

body.iseft-panel #kt_app_content_container a.fc-event,
body.iseft-panel #kt_app_content_container a.fc-event:hover,
body.iseft-panel #kt_app_content_container a.fc-event:focus,
body.iseft-panel #kt_app_content_container a.fc-event .fc-title,
body.iseft-panel #kt_app_content_container a.fc-event .fc-time,
body.iseft-panel #kt_app_content_container .fc-event,
body.iseft-panel #kt_app_content_container .fc-event .fc-title,
body.iseft-panel #kt_app_content_container .fc-event .fc-time {
  color: #fff !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button.fc-state-default,
body.iseft-panel #kt_app_content_container .fc-toolbar button.fc-button,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button {
  background: var(--dark-blue) !important;
  background-color: var(--dark-blue) !important;
  background-image: none !important;
  border: 1px solid var(--dark-blue) !important;
  color: #fff !important;
  border-radius: var(--panel-radius-sm) !important;
  font-weight: 500;
  box-shadow: none !important;
  text-shadow: none !important;
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  min-width: 5.5rem;
  padding: 0.4rem 0.85rem !important;
  margin-left: 0.35rem !important;
  margin-right: 0.35rem !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

body.iseft-panel #kt_app_content_container .fc-button-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:first-child {
  margin-left: 0 !important;
}

body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:last-child {
  margin-right: 0 !important;
}

/* Prev/next icon buttons: equal square size */
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-prev-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-next-button {
  min-width: 2.5rem !important;
  width: 2.5rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-prev-button .fc-icon,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-next-button .fc-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin: 0 !important;
  overflow: visible !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  position: relative !important;
  top: 0 !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-prev-button .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-next-button .fc-icon:after {
  position: static !important;
  top: 0 !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #fff !important;
  opacity: 1 !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-prev-button .fc-icon-left-single-arrow:after {
  content: "\2039" !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-next-button .fc-icon-right-single-arrow:after {
  content: "\203A" !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-today-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-month-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-agendaWeek-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-agendaDay-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-basicWeek-button,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-basicDay-button {
  min-width: 5.5rem !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button .fc-icon,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button .fc-icon:before,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button .fc-icon,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button .fc-icon:before,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button .fc-icon:after {
  color: #fff !important;
  opacity: 1 !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:hover,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:focus,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button.fc-state-hover,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button.fc-state-down,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:hover,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:focus {
  background: var(--nude) !important;
  background-color: var(--nude) !important;
  background-image: none !important;
  border-color: var(--dark-blue) !important;
  color: var(--dark-blue) !important;
  box-shadow: none !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:hover .fc-icon,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:hover .fc-icon:before,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:hover .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:focus .fc-icon,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:focus .fc-icon:before,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:focus .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:hover .fc-icon,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:hover .fc-icon:before,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:hover .fc-icon:after {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-prev-button:hover .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-next-button:hover .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-prev-button:focus .fc-icon:after,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-next-button:focus .fc-icon:after {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button.fc-state-active,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button:active,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button.fc-state-active,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button:active {
  background: var(--nude) !important;
  background-color: var(--nude) !important;
  background-image: none !important;
  border-color: var(--dark-blue) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button.fc-state-disabled,
body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button.fc-state-disabled {
  opacity: 0.55 !important;
}

body.iseft-panel .panel-events-view-btn {
  min-width: 7.5rem;
  min-height: 2.5rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

/* Active / inactive stay distinct; hover must not flip colors (icons stay visible). */
body.iseft-panel .panel-events-view-btn.btn-primary,
body.iseft-panel .panel-events-view-btn.btn-primary:hover,
body.iseft-panel .panel-events-view-btn.btn-primary:focus,
body.iseft-panel .panel-events-view-btn.btn-primary:active,
body.iseft-panel .panel-events-view-btn.btn-primary.show,
body.iseft-panel .panel-events-view-btn.btn-primary.active {
  background-color: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
  color: #fff !important;
}

body.iseft-panel .panel-events-view-btn.btn-primary i,
body.iseft-panel .panel-events-view-btn.btn-primary:hover i,
body.iseft-panel .panel-events-view-btn.btn-primary:focus i,
body.iseft-panel .panel-events-view-btn.btn-primary:active i,
body.iseft-panel .panel-events-view-btn.btn-primary.show i,
body.iseft-panel .panel-events-view-btn.btn-primary.active i {
  color: #fff !important;
}

body.iseft-panel .panel-events-view-btn.btn-light,
body.iseft-panel .panel-events-view-btn.btn-light:hover,
body.iseft-panel .panel-events-view-btn.btn-light:focus,
body.iseft-panel .panel-events-view-btn.btn-light:active,
body.iseft-panel .panel-events-view-btn.btn-light.show,
body.iseft-panel .panel-events-view-btn.btn-light.active {
  background-color: var(--nude) !important;
  border-color: var(--dark-blue) !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .panel-events-view-btn.btn-light i,
body.iseft-panel .panel-events-view-btn.btn-light:hover i,
body.iseft-panel .panel-events-view-btn.btn-light:focus i,
body.iseft-panel .panel-events-view-btn.btn-light:active i,
body.iseft-panel .panel-events-view-btn.btn-light.show i,
body.iseft-panel .panel-events-view-btn.btn-light.active i {
  color: var(--dark-blue) !important;
}

body.iseft-panel #kt_app_content_container .btn-open-create-event:hover,
body.iseft-panel #kt_app_content_container .btn-open-create-event:focus,
body.iseft-panel #kt_app_content_container .btn-open-create-event:active,
body.iseft-panel #kt_app_content_container .btn-open-create-event.show,
body.iseft-panel #kt_app_content_container .btn-open-create-event.active {
  background-color: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
  color: #fff !important;
}

body.iseft-panel #kt_app_content_container .btn-open-create-event:hover i,
body.iseft-panel #kt_app_content_container .btn-open-create-event:focus i,
body.iseft-panel #kt_app_content_container .btn-open-create-event:active i,
body.iseft-panel #kt_app_content_container .btn-open-create-event.show i,
body.iseft-panel #kt_app_content_container .btn-open-create-event.active i {
  color: #fff !important;
}

body.iseft-panel .panel-events-status-legend {
  gap: 0.5rem;
}

body.iseft-panel .panel-events-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  min-height: 2.1rem;
}

/* Status palette: Pending = medium blue, Active = medium pink, Expired = dark blue */
body.iseft-panel .panel-events-status-badge.is-pending {
  background-color: var(--iseft-medium-blue);
  color: #fff;
}

body.iseft-panel .panel-events-status-badge.is-active {
  background-color: var(--medium-pink);
  color: var(--burgundy);
}

body.iseft-panel .panel-events-status-badge.is-expired {
  background-color: var(--iseft-dark-blue);
  color: var(--nude);
}

/* FullCalendar: today / active day column = medium pink */
body.iseft-panel #kt_app_content_container .fc-today,
body.iseft-panel #kt_app_content_container td.fc-today,
body.iseft-panel #kt_app_content_container .fc-day.fc-today,
body.iseft-panel #kt_app_content_container .fc-day-header.fc-today,
body.iseft-panel #kt_app_content_container .fc-widget-content.fc-today,
body.iseft-panel #kt_app_content_container .fc-bgevent-skeleton td.fc-today {
  background-color: rgba(246, 136, 112, 0.28) !important;
}

/* Year overview (12 months) for Event / Workshop calendars */
body.iseft-panel .panel-calendar-year {
  background: var(--nude) !important;
  border-radius: var(--panel-radius);
  padding: 0.75rem 0.5rem 1rem;
}

body.iseft-panel .panel-calendar-year__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

body.iseft-panel .panel-calendar-year__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.iseft-panel .panel-calendar-year__nav .fc-button,
body.iseft-panel .panel-calendar-year__prev,
body.iseft-panel .panel-calendar-year__next,
body.iseft-panel .panel-calendar-year__today {
  background: #642240 !important;
  background-color: #642240 !important;
  background-image: none !important;
  border: 1px solid #642240 !important;
  color: #ffefe4 !important;
  border-radius: var(--panel-radius-sm) !important;
  font-weight: 500;
  box-shadow: none !important;
  text-shadow: none !important;
  height: 2.5rem !important;
  min-height: 2.5rem !important;
  padding: 0.4rem 0.85rem !important;
  margin: 0 !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

body.iseft-panel .panel-calendar-year__prev,
body.iseft-panel .panel-calendar-year__next {
  min-width: 2.5rem !important;
  width: 2.5rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
}

body.iseft-panel .panel-calendar-year__nav .fc-button:hover,
body.iseft-panel .panel-calendar-year__nav .fc-button:focus,
body.iseft-panel .panel-calendar-year__prev:hover,
body.iseft-panel .panel-calendar-year__next:hover,
body.iseft-panel .panel-calendar-year__today:hover {
  background: #642240 !important;
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-panel .panel-calendar-year__title {
  color: var(--dark-blue);
  font-size: 1.5rem;
  font-weight: 700;
}

body.iseft-panel .panel-calendar-year__hint {
  color: rgba(100, 34, 64, 0.55);
  font-size: 0.85rem;
  min-width: 8rem;
  text-align: right;
}

body.iseft-panel .panel-calendar-year__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  body.iseft-panel .panel-calendar-year__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  body.iseft-panel .panel-calendar-year__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  body.iseft-panel .panel-calendar-year__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.iseft-panel .panel-calendar-year__month {
  border: 1px solid #642240 !important;
  border-radius: var(--panel-radius);
  padding: 0.65rem 0.55rem 0.75rem;
  background: var(--nude) !important;
}

body.iseft-panel .panel-calendar-year__month-title {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  padding: 0.15rem 0.35rem 0.45rem;
  cursor: pointer;
}

body.iseft-panel .panel-calendar-year__month-title:hover {
  color: var(--medium-blue);
}

body.iseft-panel .panel-calendar-year__weekdays,
body.iseft-panel .panel-calendar-year__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.15rem;
}

body.iseft-panel .panel-calendar-year__weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(100, 34, 64, 0.5);
  padding: 0.15rem 0;
}

body.iseft-panel .panel-calendar-year__day {
  border: 0;
  background: transparent;
  min-height: 2rem;
  border-radius: 0.35rem;
  padding: 0.15rem 0.1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
}

body.iseft-panel .panel-calendar-year__day.is-empty {
  cursor: default;
  pointer-events: none;
}

body.iseft-panel .panel-calendar-year__day:not(.is-empty):hover {
  background: rgba(100, 34, 64, 0.06);
}

body.iseft-panel .panel-calendar-year__day.is-today .panel-calendar-year__day-num {
  background: var(--medium-pink);
  color: var(--dark-blue);
  border-radius: 999px;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.iseft-panel .panel-calendar-year__day-num {
  font-size: 0.75rem;
  color: var(--dark-blue);
  line-height: 1.2;
}

body.iseft-panel .panel-calendar-year__dots {
  display: flex;
  gap: 0.12rem;
  min-height: 0.35rem;
}

body.iseft-panel .panel-calendar-year__dots i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  display: inline-block;
}

body.iseft-panel .panel-calendar-year__day.has-events .panel-calendar-year__day-num {
  font-weight: 700;
}

/* Calendar month/year title — match public resource-card title typography */
body.iseft-panel #kt_app_content_container .fc-toolbar h2,
body.iseft-panel #kt_app_content_container .fc-toolbar .fc-center h2 {
  color: var(--dark-blue) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75rem !important;
  word-spacing: 0 !important;
}

body.iseft-panel #kt_app_content_container .fc-toolbar .fc-center {
  color: var(--dark-blue) !important;
}

/* Mobile: stack calendar toolbar rows so buttons/title don't overlap */
@media (max-width: 767.98px) {
  body.iseft-panel #kt_app_content_container .fc-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar::before,
  body.iseft-panel #kt_app_content_container .fc-toolbar::after {
    display: none !important;
    content: none !important;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-left,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-center,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-right {
    float: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.5rem !important;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-left {
    order: 1;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-right {
    order: 2;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-center {
    order: 3;
    margin-top: 0.25rem !important;
    margin-bottom: 0.35rem !important;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-center h2 {
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.75rem !important;
    word-spacing: 0 !important;
    text-align: center !important;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-button,
  body.iseft-panel #kt_app_content_container .fc-button-group > .fc-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-width: 0 !important;
  }

  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-today-button,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-month-button,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-agendaWeek-button,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-agendaDay-button,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-basicWeek-button,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-basicDay-button,
  body.iseft-panel #kt_app_content_container .fc-toolbar .fc-year-button {
    min-width: 4.25rem !important;
  }

  body.iseft-panel #kt_app_content_container .fc-button-group {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }

  body.iseft-panel .panel-calendar-year__toolbar {
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
}

body.iseft-panel #kt_app_content_container .fc-unthemed td,
body.iseft-panel #kt_app_content_container .fc-unthemed th,
body.iseft-panel #kt_app_content_container .fc-unthemed thead,
body.iseft-panel #kt_app_content_container .fc-unthemed tbody,
body.iseft-panel #kt_app_content_container .fc-unthemed .fc-divider,
body.iseft-panel #kt_app_content_container .fc-unthemed .fc-row,
body.iseft-panel #kt_app_content_container .fc-unthemed .fc-content,
body.iseft-panel #kt_app_content_container .fc-unthemed .fc-popover,
body.iseft-panel #kt_app_content_container .fc-unthemed .fc-list-view,
body.iseft-panel #kt_app_content_container .fc-unthemed .fc-list-heading td {
  border-color: rgba(100, 34, 64, 0.12) !important;
}

body.iseft-panel .modal-content {
  background-color: #fff !important;
  border: none !important;
  border-radius: var(--panel-radius) !important;
  box-shadow: 0 12px 40px rgba(100, 34, 64, 0.18) !important;
  overflow: hidden;
}

body.iseft-panel .modal-header {
  background-color: var(--dark-blue) !important;
  border-bottom: none !important;
  padding: 1.1rem 1.5rem !important;
}

body.iseft-panel .modal-header .modal-title {
  color: var(--nude) !important;
  font-weight: 700 !important;
}

/* Modal titles — same as homepage EFT card titles */
body.iseft-panel #eventModal .modal-header .modal-title,
body.iseft-panel #eventModalLabel,
body.iseft-panel .modal-header .modal-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

@media (min-width: 768px) {
  body.iseft-panel #eventModal .modal-header .modal-title,
  body.iseft-panel #eventModalLabel,
  body.iseft-panel .modal-header .modal-title {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  body.iseft-panel #eventModal .modal-header .modal-title,
  body.iseft-panel #eventModalLabel,
  body.iseft-panel .modal-header .modal-title {
    font-size: 1.875rem !important;
  }
}

@media (min-width: 1280px) {
  body.iseft-panel #eventModal .modal-header .modal-title,
  body.iseft-panel #eventModalLabel,
  body.iseft-panel .modal-header .modal-title {
    font-size: 2.25rem !important;
  }
}

body.iseft-panel .modal-header .btn-close,
body.iseft-panel .modal-header .close,
body.iseft-panel .modal .btn-close,
body.iseft-panel .modal .close {
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  border: 0 !important;
  color: var(--medium-pink) !important;
}

/* Bootstrap 5 btn-close X icon → medium pink */
body.iseft-panel .modal-header .btn-close,
body.iseft-panel .modal .btn-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f68870'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
  width: 1.1rem !important;
  height: 1.1rem !important;
  padding: 0.65rem !important;
  box-sizing: content-box !important;
}

/* Legacy × close button */
body.iseft-panel .modal-header .close,
body.iseft-panel .modal .close {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0 0 0 auto !important;
  float: none !important;
  text-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2rem !important;
  min-height: 2rem !important;
}

body.iseft-panel .modal-header .close span,
body.iseft-panel .modal .close span {
  color: var(--medium-pink) !important;
}

/* Icon close buttons (fa-close / ki-cross) */
body.iseft-panel .modal-header .btn-icon,
body.iseft-panel .modal-header .btn-icon i,
body.iseft-panel .modal-header .btn-icon .ki-solid,
body.iseft-panel .modal-header .btn-icon .ki-duotone,
body.iseft-panel .modal-header .btn-icon .fa-close,
body.iseft-panel .modal-header [data-bs-dismiss="modal"].btn-icon,
body.iseft-panel .modal-header [data-bs-dismiss="modal"].btn-icon i {
  color: var(--medium-pink) !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

body.iseft-panel .modal-header .btn-icon:hover,
body.iseft-panel .modal-header .btn-icon:hover i,
body.iseft-panel .modal-header .btn-close:hover,
body.iseft-panel .modal-header .close:hover,
body.iseft-panel .modal-header .close:hover span {
  color: var(--medium-pink) !important;
  opacity: 0.85 !important;
}

body.iseft-panel .modal-body {
  background-color: #fff !important;
  color: var(--dark-blue) !important;
  padding: 1.5rem !important;
}

body.iseft-panel .modal-footer {
  background-color: var(--nude) !important;
  border-top: 1px solid var(--panel-border) !important;
  padding: 1rem 1.5rem !important;
}

body.iseft-panel .modal-backdrop.show {
  opacity: 0.45;
}

body.iseft-panel #rejectReasonModal {
  z-index: 200000 !important;
}

body.iseft-panel #kt_app_content_container .card-body .pagination,
body.iseft-panel .card-body .pagination,
body.iseft-panel .d-flex.justify-content-center .pagination {
  gap: 0.4rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

body.iseft-panel #kt_app_content_container .card-body .pagination .page-item .page-link,
body.iseft-panel .card-body .pagination .page-item .page-link,
body.iseft-panel .d-flex.justify-content-center .pagination .page-item .page-link {
  background-color: var(--dark-blue) !important;
  border: 1px solid var(--dark-blue) !important;
  color: var(--nude) !important;
  border-radius: var(--panel-radius-sm) !important;
  padding: 0.55rem 0.95rem !important;
  font-weight: 500;
  min-width: 2.5rem;
  text-align: center;
  box-shadow: none !important;
}

body.iseft-panel #kt_app_content_container .card-body .pagination .page-item .page-link:hover,
body.iseft-panel .card-body .pagination .page-item .page-link:hover,
body.iseft-panel .d-flex.justify-content-center .pagination .page-item .page-link:hover {
  background-color: var(--medium-blue) !important;
  border-color: var(--medium-blue) !important;
  color: var(--nude) !important;
}

body.iseft-panel #kt_app_content_container .card-body .pagination .page-item.active .page-link,
body.iseft-panel .card-body .pagination .page-item.active .page-link,
body.iseft-panel .d-flex.justify-content-center .pagination .page-item.active .page-link {
  background-color: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
  color: var(--nude) !important;
  box-shadow: inset 0 0 0 2px var(--nude) !important;
}

body.iseft-panel #kt_app_content_container .card-body .pagination .page-item.disabled .page-link,
body.iseft-panel .card-body .pagination .page-item.disabled .page-link,
body.iseft-panel .d-flex.justify-content-center .pagination .page-item.disabled .page-link {
  background-color: var(--nude) !important;
  border-color: rgba(100, 34, 64, 0.15) !important;
  color: rgba(100, 34, 64, 0.35) !important;
}

body.iseft-panel .swal2-popup {
  border-radius: var(--panel-radius) !important;
}

body.iseft-panel .swal2-title {
  color: var(--dark-blue) !important;
}

body.iseft-panel .swal2-html-container {
  color: var(--dark-blue) !important;
}

body.iseft-panel .swal2-confirm.btn-primary,
body.iseft-panel .swal2-confirm,
body.iseft-panel .swal2-cancel {
  background-color: var(--dark-blue) !important;
  border: 1px solid var(--dark-blue) !important;
  color: #fff !important;
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel .swal2-confirm:hover,
body.iseft-panel .swal2-cancel:hover {
  background-color: var(--nude) !important;
  border-color: var(--dark-blue) !important;
  color: var(--dark-blue) !important;
}

/* Checkbox + label on one baseline */
body.iseft-panel .form-check {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding-left: 0 !important;
  margin-bottom: 0.5rem !important;
  min-height: 1.5rem !important;
}

body.iseft-panel .form-check .form-check-input {
  float: none !important;
  margin: 0 !important;
  margin-top: 0 !important;
  position: static !important;
  flex-shrink: 0;
  width: 1.1rem !important;
  height: 1.1rem !important;
}

/* Toggle switches: solid burgundy track (override Bootstrap filters) */
body.iseft-panel .form-switch {
  min-height: 2rem !important;
  padding-left: 0 !important;
}

body.iseft-panel .form-check.form-switch .form-check-input,
body.iseft-panel .form-switch .form-check-input,
body.iseft-panel #kt_app_content_container .form-check.form-switch .form-check-input,
body.iseft-panel #kt_app_content_container .accept-status-switch {
  width: 3rem !important;
  height: 1.65rem !important;
  margin: 0 !important;
  cursor: pointer;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23642240'/%3e%3c/svg%3e") !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: 1.35rem 1.35rem !important;
  border: 2px solid #642240 !important;
  border-radius: 2rem !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  transition: background-position 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.iseft-panel .form-check.form-switch .form-check-input:checked,
body.iseft-panel .form-switch .form-check-input:checked,
body.iseft-panel #kt_app_content_container .form-check.form-switch .form-check-input:checked,
body.iseft-panel #kt_app_content_container .accept-status-switch:checked {
  background-color: #642240 !important;
  border-color: #642240 !important;
  background-position: right center !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffefe4'/%3e%3c/svg%3e") !important;
  filter: none !important;
  opacity: 1 !important;
}

body.iseft-panel .form-check.form-switch .form-check-input:focus,
body.iseft-panel .form-switch .form-check-input:focus,
body.iseft-panel #kt_app_content_container .accept-status-switch:focus {
  border-color: #642240 !important;
  box-shadow: 0 0 0 0.2rem rgba(100, 34, 64, 0.25) !important;
  outline: none !important;
  filter: none !important;
}

body.iseft-panel .form-check.form-switch .form-check-input:disabled,
body.iseft-panel .form-switch .form-check-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.iseft-panel .form-check .form-check-label {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  color: var(--dark-blue) !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* ---- Delivery polish: filters, uploads, separators, select padding ---- */
body.iseft-panel #kt_app_content_container .separator,
body.iseft-panel #kt_app_content_container .separator-dashed {
  border-color: var(--panel-border) !important;
}

body.iseft-panel #kt_app_content_container .upload-container,
body.iseft-panel #kt_app_content_container .image-input,
body.iseft-panel #kt_app_content_container .dropzone,
body.iseft-panel #kt_app_content_container .iseft-file-upload-box,
body.iseft-panel #kt_app_content_container .upload-document-container,
body.iseft-panel #kt_app_content_container .resource-file-upload,
body.iseft-panel #kt_app_content_container .pdf-upload-container {
  border: 1px dashed rgba(100, 34, 64, 0.2) !important;
  border-radius: var(--panel-radius) !important;
  background-color: rgba(255, 239, 228, 0.35) !important;
  box-shadow: none !important;
}

body.iseft-panel #kt_app_content_container .iseft-file-upload-box,
body.iseft-panel #kt_app_content_container .upload-document-container,
body.iseft-panel #kt_app_content_container .resource-file-upload,
body.iseft-panel #kt_app_content_container .pdf-upload-container {
  width: 100% !important;
  height: auto !important;
  min-height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  position: relative;
  padding: 8px !important;
  text-align: center;
  box-sizing: border-box;
}

body.iseft-panel #kt_app_content_container .iseft-file-upload-box .upload-placeholder,
body.iseft-panel #kt_app_content_container .upload-document-container .upload-placeholder,
body.iseft-panel #kt_app_content_container .resource-file-upload .upload-placeholder,
body.iseft-panel #kt_app_content_container .pdf-upload-container .upload-placeholder {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  width: auto !important;
}

body.iseft-panel #kt_app_content_container .iseft-file-upload-box .upload-placeholder p,
body.iseft-panel #kt_app_content_container .upload-document-container .upload-placeholder p,
body.iseft-panel #kt_app_content_container .resource-file-upload .upload-placeholder p,
body.iseft-panel #kt_app_content_container .pdf-upload-container .upload-placeholder p {
  margin: 0.35rem 0 0 !important;
  font-size: 0.85rem;
  line-height: 1.2;
}

body.iseft-panel #kt_app_content_container .nav-tabs {
  border-bottom: 1px solid var(--panel-border) !important;
  gap: 0.35rem;
}

body.iseft-panel #kt_app_content_container .nav-tabs .nav-link {
  border: 1px solid transparent !important;
  color: var(--dark-blue) !important;
  border-radius: var(--panel-radius-sm) var(--panel-radius-sm) 0 0 !important;
  padding: 0.65rem 1rem !important;
}

body.iseft-panel #kt_app_content_container .nav-tabs .nav-link.active {
  background-color: #fff !important;
  border-color: var(--panel-border) var(--panel-border) #fff !important;
  color: var(--dark-blue) !important;
  font-weight: 600;
}

body.iseft-panel #kt_app_content_container .symbol img,
body.iseft-panel #kt_app_header .symbol img {
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 2.25rem !important;
}

body.iseft-panel #kt_app_content_container .form-control.form-control-solid,
body.iseft-panel #kt_app_content_container .form-select.form-select-solid {
  box-shadow: none !important;
}

body.iseft-panel #kt_app_content_container .btn {
  box-shadow: none !important;
}

body.iseft-panel #kt_app_content_container .table > :not(caption) > * > * {
  box-shadow: none !important;
}

body.iseft-panel .toast-success,
body.iseft-panel .toast-error,
body.iseft-panel .toast-info,
body.iseft-panel .toast-warning {
  border-radius: var(--panel-radius-sm) !important;
  box-shadow: var(--panel-shadow) !important;
}

body.iseft-panel .app-sidebar-logo {
  box-shadow: inset 0 -1px 0 rgba(100, 34, 64, 0.06);
}

@media (max-width: 991.98px) {
  body.iseft-panel #kt_app_content {
    border-radius: 0;
  }

  body.iseft-panel #kt_app_content_container {
    padding-top: 0.75rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  body.iseft-panel .panel-dashboard__stat-value {
    font-size: 1.65rem;
  }

  body.iseft-panel #kt_app_content_container .card-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem;
    padding: 1rem !important;
  }

  /* Mobile: show action buttons first, then the search input */
  body.iseft-panel #kt_app_content_container .card-header .card-toolbar {
    order: 1 !important;
  }

  body.iseft-panel #kt_app_content_container .card-header .card-title {
    order: 2 !important;
  }

  body.iseft-panel #kt_app_content_container .card-header .card-title,
  body.iseft-panel #kt_app_content_container .card-header .card-toolbar {
    width: 100% !important;
    margin: 0 !important;
  }

  body.iseft-panel #kt_app_content_container .card-header .card-toolbar > [data-kt-subscription-table-toolbar="base"],
  body.iseft-panel #kt_app_content_container .card-header .card-toolbar .d-flex {
    flex-wrap: wrap !important;
    width: 100%;
    gap: 0.5rem;
    justify-content: stretch !important;
  }

  body.iseft-panel #kt_app_content_container .card-header .card-toolbar .btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  body.iseft-panel #kt_app_content_container .search-form {
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 0.5rem;
  }

  body.iseft-panel #kt_app_content_container .search-form .form-control,
  body.iseft-panel #kt_app_content_container .form-control.w-250px {
    width: auto !important;
    flex: 1 1 auto;
    max-width: 100% !important;
  }

  body.iseft-panel #kt_app_content_container .search-form .btn {
    margin: 0 !important;
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Buttons spacing on mobile */
  body.iseft-panel #kt_app_content_container .card-header .card-toolbar .btn {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }

  /* Summernote toolbar: keep editor buttons from spreading too far */
  body.iseft-panel .note-editor .note-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
  }

  body.iseft-panel .note-editor .note-toolbar > .note-btn-group {
    margin-right: 0.35rem !important;
  }

  body.iseft-panel #kt_app_content_container .card-body {
    padding: 1rem !important;
  }

  body.iseft-panel #kt_app_content_container .card-body.p-0 {
    padding: 0 !important;
  }

  body.iseft-panel #kt_app_content_container .table-responsive {
    margin: 0 -0.25rem;
    border-radius: var(--panel-radius-sm);
  }

  body.iseft-panel #kt_app_content_container .table thead th,
  body.iseft-panel #kt_app_content_container .table tbody td {
    padding: 0.75rem 0.85rem !important;
    white-space: nowrap;
  }

  body.iseft-panel #kt_app_content_container .menu-sub-dropdown.w-300px,
  body.iseft-panel #kt_app_content_container .menu-sub-dropdown.w-md-325px {
    width: min(92vw, 325px) !important;
    max-width: 92vw !important;
  }

  body.iseft-panel .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  body.iseft-panel .pagination .page-item .page-link {
    min-width: 2.25rem;
    padding: 0.45rem 0.7rem !important;
  }

  body.iseft-panel .modal-dialog {
    margin: 0.75rem;
  }

  body.iseft-panel .modal-body,
  body.iseft-panel .modal-footer,
  body.iseft-panel .modal-header {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body.iseft-panel #kt_app_sidebar .app-sidebar-logo {
    height: 56px;
    min-height: 56px;
    max-height: 56px;
  }

  body.iseft-panel #kt_app_header.app-header {
    min-height: 56px;
  }
}

@media (max-width: 575.98px) {
  body.iseft-panel .panel-dashboard__stat {
    padding: 1rem;
  }

  body.iseft-panel .panel-dashboard__stat-value {
    font-size: 1.4rem;
  }

  body.iseft-panel .panel-dashboard__stat-row .panel-dashboard__stat-value--sm {
    font-size: 1rem;
    line-height: 1.2;
  }

  body.iseft-panel .panel-dashboard__renew-btn {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
  }

  body.iseft-panel #kt_app_content_container .btn.p-4 {
    padding: 0.75rem 1rem !important;
  }
}

/* Research list: narrow Label column so badges stack; Title/Authors keep more width */
body.iseft-panel #kt_subscriptions_table th.w-25,
body.iseft-panel #kt_subscriptions_table td.min-w-250px {
  width: 25%;
  min-width: 250px;
}
body.iseft-panel #kt_subscriptions_table th.w-20,
body.iseft-panel #kt_subscriptions_table td.min-w-200px {
  width: 20%;
  min-width: 200px;
}
body.iseft-panel #kt_subscriptions_table th.w-10,
body.iseft-panel #kt_subscriptions_table td.research-list-labels {
  width: 10%;
  max-width: 140px;
  min-width: 100px;
}
body.iseft-panel #kt_subscriptions_table td.research-list-labels .research-list-label-text {
  display: block;
  white-space: normal;
  max-width: 100%;
  line-height: 1.3;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--dark-blue) !important;
  font-weight: 500;
}

/* Tagify chips — grow with tags so options stay inside the input frame */
body.iseft-panel .tagify,
body.iseft-panel .tagify.form-control,
body.iseft-panel .tagify.form-control-solid,
body.iseft-panel tags.tagify {
  --tag-bg: var(--dark-blue);
  --tag-hover: var(--dark-blue);
  --tag-text-color: var(--nude);
  --tag-text-color--edit: var(--dark-blue);
  --tag-remove-btn-bg: transparent;
  --tag-remove-btn-bg--hover: rgba(255, 239, 228, 0.22);
  --tag-remove-btn-color: var(--nude);
  --tag-inset-shadow-size: 1.1em;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
  height: auto !important;
  min-height: 2.75rem !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.35rem 0.5rem !important;
  gap: 0.25rem !important;
  line-height: normal !important;
}

body.iseft-panel .tagify__tag {
  color: var(--nude) !important;
}

body.iseft-panel .tagify__tag > div {
  color: var(--nude) !important;
}

body.iseft-panel .tagify__tag > div::before {
  box-shadow: 0 0 0 var(--tag-inset-shadow-size, 1.1em) var(--dark-blue) inset !important;
  background: transparent !important;
  opacity: 1 !important;
}

body.iseft-panel .tagify__tag:hover:not([readonly]) > div::before,
body.iseft-panel .tagify__tag:focus > div::before {
  box-shadow: 0 0 0 var(--tag-inset-shadow-size, 1.1em) var(--dark-blue) inset !important;
  --tag-bg: var(--dark-blue);
  --tag-bg-inset: 0;
}

body.iseft-panel .tagify__tag .tagify__tag-text {
  color: var(--nude) !important;
  opacity: 1 !important;
}

body.iseft-panel .tagify__tag__removeBtn {
  order: 5;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  margin-inline: auto 4px;
  border-radius: 50px;
  background: transparent !important;
  background-image: none !important;
  color: var(--nude) !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Metronic hides ::after and uses SVG; restore a visible nude × */
body.iseft-panel .tagify__tag__removeBtn::after {
  content: "×" !important;
  display: block !important;
  color: var(--nude) !important;
  opacity: 1 !important;
  transform: none !important;
  font: 14px/1 Arial, sans-serif !important;
}

body.iseft-panel .tagify__tag__removeBtn:hover {
  color: var(--nude) !important;
  background: rgba(255, 239, 228, 0.22) !important;
}

body.iseft-panel .tagify__tag__removeBtn:hover + div::before {
  box-shadow: 0 0 0 var(--tag-inset-shadow-size, 1.1em) var(--dark-blue) inset !important;
}

/* Guest trainers Tagify: typed text + placeholder burgundy */
body.iseft-panel .tagify {
  --tags-placeholder-color: #642240;
  --placeholder-color: #642240;
  --placeholder-color-focus: #642240;
}
body.iseft-panel #guest_trainers + .tagify .tagify__input,
body.iseft-panel .tagify .tagify__input {
  color: #642240 !important;
  caret-color: #642240 !important;
}
body.iseft-panel #guest_trainers + .tagify .tagify__input::before,
body.iseft-panel .tagify--empty .tagify__input::before,
body.iseft-panel .tagify .tagify__input::before {
  color: #642240 !important;
  opacity: 0.75 !important;
}
body.iseft-panel #guest_trainers.form-control {
  color: #642240 !important;
}
body.iseft-panel #guest_trainers.form-control::placeholder {
  color: #642240 !important;
  opacity: 0.75 !important;
}

/* Notifications right drawer */
body.iseft-panel.iseft-notif-drawer-open {
  overflow: hidden;
}

body.iseft-panel .iseft-notif-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(100, 34, 64, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

body.iseft-panel .iseft-notif-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.iseft-panel .iseft-notif-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1091;
  display: flex;
  flex-direction: column;
  width: min(400px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--nude);
  box-shadow: -10px 0 32px rgba(100, 34, 64, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

body.iseft-panel .iseft-notif-drawer.is-open {
  transform: translateX(0);
}

body.iseft-panel .iseft-notif-drawer__header {
  flex-shrink: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--dark-blue);
  color: var(--nude);
}

body.iseft-panel .iseft-notif-drawer__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nude);
}

body.iseft-panel .iseft-notif-drawer__unread {
  margin-left: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

body.iseft-panel .iseft-notif-drawer__mark-all {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nude);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.85;
}

body.iseft-panel .iseft-notif-drawer__mark-all:hover {
  opacity: 1;
}

body.iseft-panel .iseft-notif-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 239, 228, 0.12);
  color: var(--nude);
  cursor: pointer;
}

body.iseft-panel .iseft-notif-drawer__close:hover {
  background: rgba(255, 239, 228, 0.22);
}

body.iseft-panel .iseft-notif-drawer__list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem;
  background: var(--nude);
}

body.iseft-panel .iseft-notif-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--dark-blue);
  font-size: 0.95rem;
  font-weight: 500;
}

body.iseft-panel .iseft-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body.iseft-panel .iseft-notif-item:last-child {
  margin-bottom: 0;
}

body.iseft-panel .iseft-notif-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(100, 34, 64, 0.1);
}

/* Unread: dark blue surface, nude text */
body.iseft-panel .iseft-notif-item--unread {
  background: var(--dark-blue);
  color: var(--nude);
  border-color: var(--dark-blue);
}

body.iseft-panel .iseft-notif-item--unread .iseft-notif-item__message {
  font-weight: 700;
  color: var(--nude);
}

body.iseft-panel .iseft-notif-item--unread .iseft-notif-item__time,
body.iseft-panel .iseft-notif-item--unread .iseft-notif-item__icon {
  color: rgba(255, 239, 228, 0.78);
}

body.iseft-panel .iseft-notif-item--unread .iseft-notif-item__icon,
body.iseft-panel .iseft-notif-item--unread .iseft-notif-item__icon .fa {
  color: var(--medium-pink) !important;
}

/* Read: soft pink tint on nude panel so cards stay distinct */
body.iseft-panel .iseft-notif-item--read {
  background: rgba(246, 136, 112, 0.22);
  color: var(--dark-blue);
  border-color: rgba(100, 34, 64, 0.18);
}

body.iseft-panel .iseft-notif-item--read .iseft-notif-item__message {
  font-weight: 500;
  color: var(--dark-blue);
}

body.iseft-panel .iseft-notif-item--read .iseft-notif-item__time,
body.iseft-panel .iseft-notif-item--read .iseft-notif-item__icon {
  color: rgba(100, 34, 64, 0.55);
}

body.iseft-panel .iseft-notif-item--read .iseft-notif-item__icon,
body.iseft-panel .iseft-notif-item--read .iseft-notif-item__icon .fa {
  color: var(--medium-pink) !important;
}

body.iseft-panel .iseft-notif-item__icon {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.4;
}

body.iseft-panel .iseft-notif-item__icon .fa {
  color: var(--medium-pink) !important;
}

body.iseft-panel .iseft-notif-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

body.iseft-panel .iseft-notif-item__message {
  font-size: 0.92rem;
  line-height: 1.4;
}

body.iseft-panel .iseft-notif-item__time {
  font-size: 0.78rem;
}

/* ===== Force solid burgundy on Actions buttons + switches (last-wins) ===== */
body.iseft-panel .btn.btn-light,
body.iseft-panel .btn.btn-light-primary,
body.iseft-panel .btn.btn-primary,
body.iseft-panel .btn.btn-active-light-primary,
body.iseft-panel a.btn.btn-sm,
body.iseft-panel button.btn.btn-sm,
body.iseft-panel .btn[data-kt-menu-trigger],
body.iseft-panel a.btn[data-kt-menu-trigger],
body.iseft-panel #kt_app_content_container .btn.btn-light,
body.iseft-panel #kt_app_content_container .btn.btn-light-primary,
body.iseft-panel #kt_app_content_container .btn.btn-primary,
body.iseft-panel #kt_app_content_container .btn[data-kt-menu-trigger] {
  --bs-btn-color: #ffefe4 !important;
  --bs-btn-bg: #642240 !important;
  --bs-btn-border-color: #642240 !important;
  --bs-btn-hover-color: #ffefe4 !important;
  --bs-btn-hover-bg: #642240 !important;
  --bs-btn-hover-border-color: #642240 !important;
  --bs-btn-active-color: #ffefe4 !important;
  --bs-btn-active-bg: #642240 !important;
  --bs-btn-active-border-color: #642240 !important;
  background: #642240 !important;
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
  filter: none !important;
}

body.iseft-panel .btn.btn-light:hover,
body.iseft-panel .btn.btn-light:focus,
body.iseft-panel .btn.btn-light:active,
body.iseft-panel .btn.btn-light.show,
body.iseft-panel .btn.btn-light.active,
body.iseft-panel .btn.btn-light-primary:hover,
body.iseft-panel .btn.btn-light-primary:focus,
body.iseft-panel .btn.btn-light-primary:active,
body.iseft-panel .btn.btn-light-primary.show,
body.iseft-panel .show > .btn.btn-light,
body.iseft-panel .show > .btn.btn-light-primary,
body.iseft-panel .btn[data-kt-menu-trigger]:hover,
body.iseft-panel .btn[data-kt-menu-trigger].show {
  background: #642240 !important;
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
  filter: none !important;
}

body.iseft-panel .form-check-input:checked,
body.iseft-panel .form-switch .form-check-input:checked,
body.iseft-panel .form-check.form-switch .form-check-input:checked,
body.iseft-panel .accept-status-switch:checked {
  background-color: #642240 !important;
  border-color: #642240 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffefe4'/%3e%3c/svg%3e") !important;
  filter: none !important;
  opacity: 1 !important;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffefe4'/%3e%3c/svg%3e");
}

body.iseft-panel .form-switch .form-check-input,
body.iseft-panel .accept-status-switch {
  border-color: #642240 !important;
  filter: none !important;
  opacity: 1 !important;
}

/* ===== Shared panel redesign (user + admin via iseft-user-panel) ===== */

body.iseft-user-panel,
body.iseft-user-panel #kt_app_root,
body.iseft-user-panel .app-page,
body.iseft-user-panel .app-wrapper,
body.iseft-user-panel .app-main,
body.iseft-user-panel #kt_app_content,
body.iseft-user-panel .app-content,
body.iseft-user-panel #kt_app_content_container {
  background-color: var(--nude) !important;
}

/* Header: nude, no shadow — blends into page */
body.iseft-user-panel #kt_app_header.app-header {
  background-color: var(--nude) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_header .btn-active-color-primary,
body.iseft-user-panel #kt_app_header .btn-active-color-primary i,
body.iseft-user-panel #kt_app_header #kt_app_sidebar_mobile_toggle {
  color: var(--dark-blue) !important;
}

/* Sidebar: nude + burgundy text */
body.iseft-user-panel #kt_app_sidebar,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-menu,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-wrapper {
  background-color: var(--nude) !important;
  border-right: 1px solid #642240 !important; /* burgundy separator */
}

body.iseft-user-panel #kt_app_sidebar .app-sidebar-logo {
  background-color: var(--nude) !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle.btn-color-muted,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle.btn-active-color-primary {
  background-color: var(--nude) !important;
  color: #642240 !important; /* burgundy */
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle i,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle i::before,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .fas,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .fa-angles-left,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .ki-duotone,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon svg,
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon svg [fill]:not([fill="none"]),
body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle .svg-icon svg [stroke]:not([stroke="none"]) {
  color: #642240 !important;
  fill: #642240 !important;
  stroke: #642240 !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-icon .svg-icon,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link .menu-title {
  color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-bullet .bullet,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link .menu-bullet .bullet-dot {
  background-color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active),
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here),
body.iseft-user-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  background-color: rgba(246, 136, 112, 0.22) !important;
}

/* Hover must not change text/icon color (keeps default burgundy on light, nude on active) */
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link:not(.active) .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link:not(.active) .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link:not(.active) .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover:not(.active) .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover:not(.active) .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover:not(.active) .menu-icon i {
  color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link:hover:not(.active) .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.hover:not(.here) > .menu-link:not(.active) .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item:not(.here) .menu-link:hover:not(.active) .menu-arrow:after {
  background-color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.show > .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link {
  background-color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active:hover,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active:hover .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active:hover .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active:hover .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link:hover,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link:hover .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link:hover .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link:hover .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link:hover,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link:hover .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link:hover .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link:hover .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link .menu-icon i {
  color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item .menu-link.active:hover .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.here > .menu-link:hover .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.show > .menu-link:hover .menu-arrow:after,
body.iseft-user-panel #kt_app_sidebar .menu .menu-item.menu-accordion.hover > .menu-link .menu-arrow:after {
  background-color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active {
  background-color: var(--dark-blue) !important;
  color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-title,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-icon,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link:hover .menu-icon i,
body.iseft-user-panel #kt_app_sidebar .menu-sub .menu-item .menu-link.active .menu-icon i {
  color: var(--nude) !important;
}

/* Text on nude content background = burgundy */
body.iseft-user-panel #kt_app_content_container,
body.iseft-user-panel #kt_app_content_container p,
body.iseft-user-panel #kt_app_content_container .text-gray-800,
body.iseft-user-panel #kt_app_content_container .text-dark,
body.iseft-user-panel #kt_app_content_container .text-gray-600,
body.iseft-user-panel #kt_app_content_container .text-gray-700,
body.iseft-user-panel #kt_app_content_container .text-muted,
body.iseft-user-panel #kt_app_content_container label,
body.iseft-user-panel #kt_app_content_container .form-label,
body.iseft-user-panel #kt_app_content_container h1,
body.iseft-user-panel #kt_app_content_container h2,
body.iseft-user-panel #kt_app_content_container h3,
body.iseft-user-panel #kt_app_content_container h4,
body.iseft-user-panel #kt_app_content_container h5,
body.iseft-user-panel #kt_app_content_container h6 {
  color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_content_container a:not(.btn):not(.menu-link):not(.page-link):not(.fc-event):not(.panel-dashboard__level-up-link):not(.panel-profile-level-up-link) {
  color: var(--dark-blue) !important;
}

/* Reach Out: About box is burgundy — force nude text (must beat .card:not():not() p) */
body.iseft-user-panel #kt_app_content_container .card:not(.panel-dashboard__card):not(.panel-dashboard__stat) .reach-out-about,
body.iseft-user-panel #kt_app_content_container .card:not(.panel-dashboard__card):not(.panel-dashboard__stat) .reach-out-about *,
body.iseft-user-panel #kt_app_content_container .card:not(.panel-dashboard__card):not(.panel-dashboard__stat) .reach-out-about p,
body.iseft-user-panel #kt_app_content_container .card:not(.panel-dashboard__card):not(.panel-dashboard__stat) .reach-out-about a:not(.btn),
body.iseft-user-panel #kt_app_content_container .card:not(.panel-dashboard__card):not(.panel-dashboard__stat) .reach-out-about .reach-out-about__title {
  color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .card:not(.panel-dashboard__card):not(.panel-dashboard__stat) .reach-out-about a:not(.btn):hover {
  color: #f68870 !important;
}

/* Buttons on nude background: burgundy bg + nude text — exclude on-burgundy CTAs */
body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.d-none):not(.event-modal-btn-hidden):not(.note-btn):not(.note-color-btn):not(.panel-on-burgundy-btn):not(.panel-dashboard__cta-btn) {
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i,
body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close) .svg-icon {
  color: #ffefe4 !important;
}

/* Dashboard cards: burgundy bg + nude text; radius from shared resource-card rule */
body.iseft-user-panel .panel-dashboard__stat,
body.iseft-user-panel .panel-dashboard__card,
body.iseft-user-panel .panel-dashboard .card:not(:has(.table)) {
  background-color: var(--dark-blue) !important;
  border: none !important;
  color: var(--nude) !important;
  box-shadow: var(--panel-shadow) !important;
}

body.iseft-user-panel .panel-dashboard .card:not(:has(.table)) .card-header,
body.iseft-user-panel .panel-dashboard .card:not(:has(.table)) .card-footer,
body.iseft-user-panel .panel-dashboard .card:not(:has(.table)) .card-body {
  background-color: transparent !important;
  border-color: rgba(255, 239, 228, 0.15) !important;
  color: var(--nude) !important;
}

body.iseft-user-panel .panel-dashboard__section-title {
  color: var(--dark-blue) !important;
}

body.iseft-user-panel .panel-dashboard__card-title,
body.iseft-user-panel .panel-dashboard__stat-label,
body.iseft-user-panel .panel-dashboard__stat-value,
body.iseft-user-panel .panel-dashboard__stat-hint,
body.iseft-user-panel .panel-dashboard__profile-name,
body.iseft-user-panel .panel-dashboard__profile-value,
body.iseft-user-panel .panel-dashboard__message-title,
body.iseft-user-panel .panel-dashboard__message-excerpt,
body.iseft-user-panel .panel-dashboard__message-author,
body.iseft-user-panel .panel-dashboard__list li,
body.iseft-user-panel .panel-dashboard__list strong {
  color: #ffefe4 !important; /* nude — same clarity as numbers */
  opacity: 1 !important;
}

body.iseft-user-panel .panel-dashboard__profile-label,
body.iseft-user-panel .panel-dashboard__message-meta,
body.iseft-user-panel .panel-dashboard__messages-empty {
  color: rgba(255, 239, 228, 0.75) !important;
}

body.iseft-user-panel .panel-dashboard__profile-avatar {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.iseft-user-panel .panel-dashboard__message {
  background: rgba(255, 239, 228, 0.1) !important;
  border-color: rgba(255, 239, 228, 0.18) !important;
}

body.iseft-user-panel .panel-dashboard__list li {
  border-bottom-color: rgba(255, 239, 228, 0.18) !important;
}

/* Buttons on burgundy dashboard cards: medium-pink bg + nude text */
body.iseft-user-panel .panel-dashboard__stat .btn,
body.iseft-user-panel .panel-dashboard__stat .btn.btn-primary,
body.iseft-user-panel .panel-dashboard__stat .btn.btn-light,
body.iseft-user-panel .panel-dashboard__stat a.btn,
body.iseft-user-panel .panel-dashboard__card .btn,
body.iseft-user-panel .panel-dashboard__card .btn.btn-primary,
body.iseft-user-panel .panel-dashboard__card .btn.btn-light,
body.iseft-user-panel .panel-dashboard__card a.btn,
body.iseft-user-panel .panel-dashboard__renew-btn,
body.iseft-user-panel a.panel-dashboard__renew-btn,
body.iseft-user-panel .panel-dashboard__cta-btn,
body.iseft-user-panel a.panel-dashboard__cta-btn,
body.iseft-user-panel .panel-dashboard__messages-head .btn,
body.iseft-user-panel .panel-dashboard__messages-head a.btn,
body.iseft-user-panel .panel-on-burgundy-btn,
body.iseft-user-panel a.panel-on-burgundy-btn,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat .btn.btn-primary,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat .btn.btn-light,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__card .btn.btn-primary,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__card .btn.btn-light,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__renew-btn.btn-primary,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__cta-btn,
body.iseft-user-panel #kt_app_content_container a.panel-dashboard__cta-btn,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__messages-head .btn.btn-light,
body.iseft-user-panel #kt_app_content_container .panel-on-burgundy-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--medium-pink) !important;
  background-color: #f68870 !important;
  background-image: none !important;
  border: 1px solid #f68870 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  padding: 0.45rem 0.9rem !important;
  min-height: 2.25rem !important;
  border-radius: 8px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

body.iseft-user-panel .panel-dashboard__stat .btn:hover,
body.iseft-user-panel .panel-dashboard__stat .btn:focus,
body.iseft-user-panel .panel-dashboard__card .btn:hover,
body.iseft-user-panel .panel-dashboard__card .btn:focus,
body.iseft-user-panel .panel-dashboard__renew-btn:hover,
body.iseft-user-panel .panel-dashboard__messages-head .btn:hover,
body.iseft-user-panel .panel-on-burgundy-btn:hover,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat .btn.btn-primary:hover,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__card .btn.btn-light:hover,
body.iseft-user-panel #kt_app_content_container .panel-on-burgundy-btn:hover {
  background: #f68870 !important;
  background-color: #f68870 !important;
  border-color: #f68870 !important;
  color: #ffefe4 !important;
  opacity: 0.92 !important;
}

body.iseft-user-panel .panel-dashboard__stat .btn i,
body.iseft-user-panel .panel-dashboard__card .btn i,
body.iseft-user-panel .panel-dashboard__renew-btn i,
body.iseft-user-panel .panel-dashboard__messages-head .btn i,
body.iseft-user-panel .panel-on-burgundy-btn i,
body.iseft-user-panel .panel-dashboard__cta-btn i {
  color: #ffefe4 !important;
}

/* Tables: burgundy header + nude rows */
body.iseft-user-panel #kt_app_content_container .table thead tr {
  background-color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_content_container .table thead th,
body.iseft-user-panel #kt_app_content_container .table thead th.text-muted,
body.iseft-user-panel #kt_app_content_container .table thead .text-muted {
  background-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .table tbody tr,
body.iseft-user-panel #kt_app_content_container .table tbody tr:nth-child(even) {
  background-color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_content_container .table tbody tr:hover {
  background-color: rgba(255, 239, 228, 0.92) !important;
}

body.iseft-user-panel #kt_app_content_container .table td,
body.iseft-user-panel #kt_app_content_container .table tbody td {
  color: var(--dark-blue) !important;
  border: none !important;
  border-color: transparent !important;
}

/* Tables: no borders — soft shadow on the card instead */
body.iseft-user-panel #kt_app_content_container .card:has(.table) {
  border: none !important;
  border-radius: var(--panel-radius) !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(100, 34, 64, 0.08), 0 12px 28px rgba(100, 34, 64, 0.12) !important;
}

body.iseft-user-panel #kt_app_content_container .table-responsive,
body.iseft-user-panel #kt_app_content_container table.table {
  border: none !important;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_content_container .card:has(.table) .table-responsive,
body.iseft-user-panel #kt_app_content_container .card:has(.table) table.table {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Standalone tables (not inside a card) get their own shadow */
body.iseft-user-panel #kt_app_content_container .table-responsive:not(.card .table-responsive) {
  border: none !important;
  border-radius: var(--panel-radius) !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(100, 34, 64, 0.08), 0 12px 28px rgba(100, 34, 64, 0.12) !important;
}

body.iseft-user-panel #kt_app_content_container .table > :not(caption) > * > *,
body.iseft-user-panel #kt_app_content_container .table thead th,
body.iseft-user-panel #kt_app_content_container .table tbody td,
body.iseft-user-panel #kt_app_content_container .table.table-row-dashed td,
body.iseft-user-panel #kt_app_content_container .table.table-row-dashed th {
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_content_container .table.table-row-dashed tbody tr {
  border: none !important;
  border-bottom: none !important;
}

/* Choose File button on file inputs: burgundy bg + nude text */
body.iseft-user-panel input[type="file"]::file-selector-button,
body.iseft-user-panel #kt_app_content_container input[type="file"]::file-selector-button,
body.iseft-user-panel .modal input[type="file"]::file-selector-button,
body.iseft-panel .modal input[type="file"]::file-selector-button,
body.iseft-panel #kt_app_content_container input[type="file"]::file-selector-button {
  background: #642240 !important;
  background-color: #642240 !important;
  color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 10px !important;
  padding: 0.45rem 0.9rem !important;
  margin-inline-end: 0.75rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.iseft-user-panel input[type="file"]::-webkit-file-upload-button,
body.iseft-user-panel #kt_app_content_container input[type="file"]::-webkit-file-upload-button,
body.iseft-user-panel .modal input[type="file"]::-webkit-file-upload-button,
body.iseft-panel .modal input[type="file"]::-webkit-file-upload-button,
body.iseft-panel #kt_app_content_container input[type="file"]::-webkit-file-upload-button {
  background: #642240 !important;
  background-color: #642240 !important;
  color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 10px !important;
  padding: 0.45rem 0.9rem !important;
  margin-inline-end: 0.75rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.iseft-user-panel input[type="file"]::file-selector-button:hover,
body.iseft-user-panel input[type="file"]::-webkit-file-upload-button:hover,
body.iseft-panel .modal input[type="file"]::file-selector-button:hover,
body.iseft-panel .modal input[type="file"]::-webkit-file-upload-button:hover {
  background: #642240 !important;
  color: #ffefe4 !important;
  border-color: #642240 !important;
}

/* Table buttons: burgundy bg + nude text */
body.iseft-user-panel #kt_app_content_container .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-user-panel #kt_app_content_container .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover,
body.iseft-user-panel #kt_app_content_container .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close):focus,
body.iseft-user-panel .panel-dashboard .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-user-panel .panel-dashboard .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover,
body.iseft-user-panel .panel-dashboard .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close):focus {
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i,
body.iseft-user-panel #kt_app_content_container .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover i,
body.iseft-user-panel .panel-dashboard .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close) i,
body.iseft-user-panel .panel-dashboard .table .btn:not(.btn-icon):not(.btn-link):not(.btn-close):hover i {
  color: #ffefe4 !important;
}

/*
 * Panel footer like public pages:
 * after sidebar + content, full viewport width, document scroll.
 */
html:has(body.iseft-panel),
html:has(body.iseft-user-panel),
body.iseft-panel,
body.iseft-user-panel {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.iseft-panel #kt_app_root,
body.iseft-user-panel #kt_app_root,
body.iseft-panel .app-page,
body.iseft-user-panel .app-page,
body.iseft-panel .app-wrapper,
body.iseft-user-panel .app-wrapper,
body.iseft-panel .app-main,
body.iseft-user-panel .app-main {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body.iseft-panel #kt_app_content,
body.iseft-user-panel #kt_app_content,
body.iseft-panel #kt_app_content_container,
body.iseft-user-panel #kt_app_content_container {
  overflow: visible !important;
}

/* Full-bleed footer after app shell (covers full page width, including under sidebar).
   Use px (not rem): Metronic sets html { font-size: 13px }, public uses 16px — rem would shrink. */
body.iseft-user-panel > .iseft-panel-footer,
body.iseft-panel > .iseft-panel-footer,
body.iseft-user-panel .iseft-panel-footer,
body.iseft-panel .iseft-panel-footer {
  position: relative !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  display: block !important;
  clear: both !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 48px 0 !important; /* public py-12 */
  background: var(--burgundy) !important;
  color: var(--nude) !important;
  overflow: hidden !important; /* same as public footers — contain heart */
  border-radius: 0 !important;
  z-index: 1 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  font-size: 16px !important; /* isolate from Metronic 13px root */
  line-height: 1.5 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Mobile: match public footer .heart-img crop (fill 400×580, opacity 0.1) */
@media (max-width: 767.98px) {
  .iseft-panel-footer .iseft-panel-footer__heart {
    width: 400px !important;
    height: 580px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: fill !important;
    object-position: bottom right !important;
    opacity: 0.1 !important;
  }
}

@media (min-width: 992px) {
  /* Sidebar scrolls with page (not fixed); stretches down to meet footer */
  body.iseft-user-panel #kt_app_sidebar.app-sidebar,
  body.iseft-panel #kt_app_sidebar.app-sidebar {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    align-items: stretch !important;
    z-index: auto !important;
    flex-shrink: 0 !important;
  }

  body.iseft-user-panel #kt_app_sidebar .app-sidebar-menu,
  body.iseft-panel #kt_app_sidebar .app-sidebar-menu {
    flex: 1 1 auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.iseft-user-panel #kt_app_sidebar .app-sidebar-wrapper,
  body.iseft-panel #kt_app_sidebar .app-sidebar-wrapper,
  body.iseft-user-panel #kt_app_sidebar #kt_app_sidebar_menu_scroll,
  body.iseft-panel #kt_app_sidebar #kt_app_sidebar_menu_scroll {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.iseft-user-panel .app-wrapper,
  body.iseft-panel .app-wrapper {
    flex-direction: row !important;
    align-items: stretch !important;
    margin-left: 0 !important;
  }

  body.iseft-user-panel .app-main,
  body.iseft-panel .app-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* Minimize: keep icon rail compact without breaking layout */
  body.iseft-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar.app-sidebar,
  body.iseft-user-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar.app-sidebar {
    width: var(--bs-app-sidebar-width, 75px) !important;
    overflow: hidden !important;
  }

  body.iseft-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar .app-sidebar-menu,
  body.iseft-user-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar .app-sidebar-menu,
  body.iseft-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar .app-sidebar-wrapper,
  body.iseft-user-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar .app-sidebar-wrapper,
  body.iseft-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar #kt_app_sidebar_menu_scroll,
  body.iseft-user-panel[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar #kt_app_sidebar_menu_scroll {
    overflow: hidden !important;
  }
}

/* Match public footer layout: gap-3 + section-title-space + same type scale (px = 16px root) */
.iseft-panel-footer .iseft-panel-footer__inner {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important; /* public gap-3 */
  width: 100%;
  max-width: 1920px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 0 20px !important;
  box-sizing: border-box;
  font-size: 16px !important;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__inner {
    padding: 0 32px !important;
  }
}

@media (min-width: 1025px) {
  .iseft-panel-footer .iseft-panel-footer__inner {
    padding: 0 160px !important; /* public .section-title-space = 10rem @ 16px */
  }
}

/* public: text-base md:text-xl lg:text-2xl xl:text-3xl font-bold mb-2 */
.iseft-panel-footer .iseft-panel-footer__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important; /* mb-2 */
  line-height: 1.25 !important;
  color: var(--nude) !important;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__title {
    font-size: 20px !important;
  }
}

@media (min-width: 1024px) {
  .iseft-panel-footer .iseft-panel-footer__title {
    font-size: 24px !important;
  }
}

@media (min-width: 1280px) {
  .iseft-panel-footer .iseft-panel-footer__title {
    font-size: 30px !important;
  }
}

/* public: mb-4 font-bold text-sm md:text-xl */
.iseft-panel-footer .iseft-panel-footer__email {
  margin: 0 0 16px !important; /* mb-4 */
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--nude) !important;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__email {
    font-size: 20px !important;
  }
}

.iseft-panel-footer .iseft-panel-footer__email a {
  color: var(--nude) !important;
  text-decoration: underline;
}

/* public: mb-8 social row */
.iseft-panel-footer .iseft-panel-footer__socials {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 0 32px !important; /* mb-8 */
  z-index: 2;
}

.iseft-panel-footer .iseft-panel-footer__socials,
.iseft-panel-footer .iseft-panel-footer__socials > div,
.iseft-panel-footer .iseft-panel-footer__socials .public-social-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important; /* public gap-2 */
}

.iseft-panel-footer .iseft-panel-footer__social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  box-sizing: border-box;
  flex-shrink: 0;
  color: var(--nude) !important;
  text-decoration: none;
  border: 1px solid var(--nude) !important;
  border-radius: 6px !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.iseft-panel-footer .iseft-panel-footer__social-link:hover,
.iseft-panel-footer .iseft-panel-footer__social-link:focus-visible {
  background-color: var(--medium-pink) !important;
  border-color: var(--medium-pink) !important;
  color: var(--nude) !important;
}

.iseft-panel-footer .iseft-panel-footer__social-link:hover .public-social-links__icon,
.iseft-panel-footer .iseft-panel-footer__social-link:focus-visible .public-social-links__icon {
  fill: var(--nude);
}

.iseft-panel-footer .iseft-panel-footer__social-link svg,
.iseft-panel-footer .iseft-panel-footer__social-link .public-social-links__icon {
  display: block;
  width: 20px !important;
  height: 20px !important;
  max-width: none;
  max-height: none;
  flex-shrink: 0;
  fill: currentColor;
}

/* public: row is md:w-[600px] (can exceed form max-w-md) */
.iseft-panel-footer .iseft-panel-footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px !important; /* gap-2 */
  width: 100%;
  max-width: none;
  margin: 0 0 32px !important; /* mb-8 */
}

/* public .ord-text: 12 / 16 / 24 */
.iseft-panel-footer .iseft-panel-footer__newsletter-label {
  font-weight: 700 !important;
  font-size: 12px !important;
  color: var(--nude) !important;
  margin: 0 !important;
  text-align: left;
  line-height: 1.4 !important;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__newsletter-label {
    font-size: 16px !important;
  }
}

@media (min-width: 1024px) {
  .iseft-panel-footer .iseft-panel-footer__newsletter-label {
    font-size: 24px !important;
  }
}

/* public: w-full md:w-[600px] h-[48px] md:h-[58px] */
.iseft-panel-footer .iseft-panel-footer__newsletter-row {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__newsletter-row {
    height: 58px !important;
    min-height: 58px !important;
    width: 600px !important;
    max-width: 600px !important;
  }
}

.iseft-panel-footer .iseft-panel-footer__newsletter-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 8px 16px !important; /* px-4 py-2 */
  border: 0 !important;
  border-radius: 8px 0 0 8px !important;
  background: var(--nude) !important;
  color: var(--iseft-dark-blue, #090a50) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__newsletter-input {
    height: 58px !important;
    min-height: 58px !important;
  }
}

.iseft-panel-footer .iseft-panel-footer__newsletter-input::placeholder {
  color: var(--burgundy) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.iseft-panel-footer .iseft-panel-footer__newsletter-btn {
  flex: 0 0 auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 8px 24px !important; /* px-6 */
  border: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  background: var(--medium-pink) !important;
  color: var(--burgundy) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__newsletter-btn {
    height: 58px !important;
    min-height: 58px !important;
    padding: 8px 56px !important; /* md:px-14 */
  }
}

.iseft-panel-footer .iseft-panel-footer__newsletter-btn:hover,
.iseft-panel-footer .iseft-panel-footer__newsletter-btn:focus {
  background: var(--dark-blue) !important;
  color: var(--medium-blue) !important;
}

/* public go-top (burgundy footer: nude circle + burgundy chevrons) */
.iseft-panel-footer .iseft-panel-footer__go-top {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__go-top {
    margin-top: 16px !important;
  }
}

.iseft-panel-footer .iseft-panel-footer__go-top-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  padding: 8px !important;
  border-radius: 9999px !important;
  background: var(--nude) !important;
  color: var(--burgundy) !important;
  box-sizing: border-box;
}

.iseft-panel-footer .iseft-panel-footer__go-top-btn svg {
  display: block;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
}

.iseft-panel-footer .iseft-panel-footer__go-top-btn svg:first-child {
  position: relative;
  top: 8px;
}

.iseft-panel-footer .iseft-panel-footer__go-top-btn svg:last-child {
  position: relative;
  bottom: 8px;
}

.iseft-panel-footer .iseft-panel-footer__go-top-btn.goTop:hover {
  animation: goToTopAnime 0.8s infinite ease-in-out;
}

@keyframes goToTopAnime {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* Match public footer .heart-img exactly (no object-fit:contain — that shrunk
   the heart so the full shape fit inside the footer; public fills 400×580 and
   overflow:hidden crops it so only partial curves show on mobile). */
.iseft-panel-footer .iseft-panel-footer__heart {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  top: auto !important;
  z-index: 0 !important;
  width: 400px !important;
  height: 580px !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important; /* beat Metronic img { margin-bottom } */
  padding: 0 !important;
  object-fit: fill !important; /* same as public default stretch into 400×580 */
  object-position: center !important;
  opacity: 0.1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .iseft-panel-footer .iseft-panel-footer__heart {
    opacity: 1;
  }
}

/* ===== User panel: no pure white — use nude instead ===== */
body.iseft-user-panel #kt_app_content_container .card,
body.iseft-user-panel #kt_app_content_container .card-header,
body.iseft-user-panel #kt_app_content_container .card-body,
body.iseft-user-panel #kt_app_content_container .card-footer,
body.iseft-user-panel #kt_app_content_container .modal-content,
body.iseft-user-panel #kt_app_content_container .modal-header,
body.iseft-user-panel #kt_app_content_container .modal-body,
body.iseft-user-panel #kt_app_content_container .modal-footer,
body.iseft-user-panel #kt_app_content_container .dropdown-menu,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown,
body.iseft-user-panel #kt_app_content_container .popover,
body.iseft-user-panel #kt_app_content_container .accordion-item,
body.iseft-user-panel #kt_app_content_container .accordion-button,
body.iseft-user-panel #kt_app_content_container .accordion-button:not(.collapsed),
body.iseft-user-panel #kt_app_content_container .accordion-body,
body.iseft-user-panel #kt_app_content_container .list-group-item,
body.iseft-user-panel #kt_app_content_container .toast,
body.iseft-user-panel #kt_app_content_container .alert,
body.iseft-user-panel #kt_app_content_container .nav-tabs .nav-link,
body.iseft-user-panel #kt_app_content_container .nav-tabs .nav-link.active,
body.iseft-user-panel #kt_app_content_container .tab-content,
body.iseft-user-panel #kt_app_content_container .tab-pane,
body.iseft-user-panel #kt_app_content_container .pagination .page-link,
body.iseft-user-panel #kt_app_content_container .upload-container,
body.iseft-user-panel #kt_app_content_container .image-preview,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-user-panel .menu-sub-dropdown,
body.iseft-user-panel .modal-content,
body.iseft-user-panel .modal-header,
body.iseft-user-panel .modal-body,
body.iseft-user-panel .modal-footer,
body.iseft-user-panel .swal2-popup,
body.iseft-user-panel .dropdown-menu {
  background-color: var(--nude) !important;
  background: var(--nude) !important;
}

body.iseft-user-panel #kt_app_content_container .nav-tabs .nav-link.active {
  border-bottom-color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_content_container .table tbody tr,
body.iseft-user-panel #kt_app_content_container .table tbody tr:nth-child(even),
body.iseft-user-panel #kt_app_content_container .table tbody tr:hover {
  background-color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_sidebar .app-sidebar-toggle {
  background-color: var(--nude) !important;
  color: #642240 !important; /* burgundy */
}

body.iseft-user-panel .panel-dashboard__message-avatar,
body.iseft-user-panel .panel-dashboard__profile-avatar {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.iseft-user-panel .panel-dashboard__profile-avatar {
  border: none !important;
}

body.iseft-user-panel .auto-renewal-policy--scroll .auto-renewal-policy__body {
  background: var(--nude) !important;
}

body.iseft-user-panel .panel-dashboard__message {
  background: rgba(255, 239, 228, 0.1) !important;
}

/* Replace leftover pure-white text/icon accents with nude — exclude Summernote toolbar */
body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.note-btn):not(.note-color-btn) i,
body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.note-btn):not(.note-color-btn) .svg-icon,
body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.note-btn):not(.note-color-btn) i [class^="path"],
body.iseft-user-panel .scrolltop,
body.iseft-user-panel .scrolltop:hover {
  color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.note-btn):not(.note-color-btn) i.ki-duotone [class^="path"] {
  background-color: var(--nude) !important;
}

body.iseft-user-panel #kt_app_content_container .btn i.ki-solid [class^="path"],
body.iseft-user-panel #kt_app_content_container .btn i.ki-solid [class*="path"] {
  display: none !important;
  background: none !important;
  background-color: transparent !important;
  width: 0 !important;
  height: 0 !important;
}

/* Select2 dropdown panel */
body.iseft-user-panel .select2-dropdown,
body.iseft-user-panel .select2-container--default .select2-results__option,
body.iseft-user-panel .select2-container--default .select2-search--dropdown .select2-search__field {
  background-color: var(--nude) !important;
  color: var(--dark-blue) !important;
}

body.iseft-user-panel .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--dark-blue) !important;
  color: var(--nude) !important;
}

/* Flatpickr / datepicker chrome */
body.iseft-user-panel .flatpickr-calendar {
  background: var(--nude) !important;
}

/* Keep burgundy dashboard cards burgundy (already set) — ensure nested white surfaces become nude-tinted, not pure white */
body.iseft-user-panel .panel-dashboard__stat,
body.iseft-user-panel .panel-dashboard__card,
body.iseft-user-panel .panel-dashboard .card:not(:has(.table)) {
  background-color: var(--dark-blue) !important;
}

/* Data tables inside panel-dashboard must keep nude/white chrome (not burgundy cards) */
body.iseft-panel .panel-dashboard .card:has(.table),
body.iseft-user-panel .panel-dashboard .card:has(.table) {
  background-color: #fff !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .panel-dashboard .card:has(.table) .card-body,
body.iseft-user-panel .panel-dashboard .card:has(.table) .card-body {
  background-color: transparent !important;
  color: var(--dark-blue) !important;
}

body.iseft-panel .panel-dashboard .card:has(.table) .table thead th,
body.iseft-user-panel .panel-dashboard .card:has(.table) .table thead th {
  background-color: #642240 !important;
  color: #ffefe4 !important;
  opacity: 1 !important;
}

body.iseft-panel .panel-dashboard .card:has(.table) .table tbody td,
body.iseft-user-panel .panel-dashboard .card:has(.table) .table tbody td {
  color: #642240 !important;
}

/* ===== User panel: medium-pink inputs + upload borders ===== */
body.iseft-user-panel #kt_app_content_container .form-control,
body.iseft-user-panel #kt_app_content_container .form-select,
body.iseft-user-panel #kt_app_content_container textarea,
body.iseft-user-panel #kt_app_content_container textarea.form-control,
body.iseft-user-panel #kt_app_content_container select:not(.select2-hidden-accessible),
body.iseft-user-panel #kt_app_content_container .input-group-text,
body.iseft-user-panel #kt_app_content_container input.form-control:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="text"]:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="email"],
body.iseft-user-panel #kt_app_content_container input[type="password"],
body.iseft-user-panel #kt_app_content_container input[type="number"],
body.iseft-user-panel #kt_app_content_container input[type="date"],
body.iseft-user-panel #kt_app_content_container input[type="datetime-local"],
body.iseft-user-panel #kt_app_content_container input[type="search"]:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="tel"],
body.iseft-user-panel #kt_app_content_container input[type="url"],
body.iseft-user-panel #kt_app_content_container input[type="file"],
body.iseft-user-panel #kt_app_content_container .flatpickr-input,
body.iseft-user-panel #kt_app_content_container .form-control-solid,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple {
  background-color: var(--medium-pink) !important;
  border-color: rgba(100, 34, 64, 0.22) !important;
  color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_content_container .form-control::placeholder,
body.iseft-user-panel #kt_app_content_container .form-control-solid::placeholder,
body.iseft-user-panel #kt_app_content_container textarea::placeholder {
  color: rgba(100, 34, 64, 0.55) !important;
}

body.iseft-user-panel #kt_app_content_container .form-control:focus,
body.iseft-user-panel #kt_app_content_container .form-select:focus,
body.iseft-user-panel #kt_app_content_container textarea:focus,
body.iseft-user-panel #kt_app_content_container .form-control-solid:focus,
body.iseft-user-panel #kt_app_content_container .select2-container--default.select2-container--focus .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .select2-container--default.select2-container--open .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--default.select2-container--open .select2-selection--multiple {
  background-color: var(--medium-pink) !important;
  border-color: var(--dark-blue) !important;
  box-shadow: 0 0 0 0.2rem rgba(246, 136, 112, 0.35) !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--dark-blue) !important;
}

body.iseft-user-panel #kt_app_content_container .upload-container,
body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box,
body.iseft-user-panel #kt_app_content_container .image-input,
body.iseft-user-panel #kt_app_content_container .dropzone,
body.iseft-user-panel #kt_app_content_container .iseft-file-upload-box,
body.iseft-user-panel #kt_app_content_container .upload-document-container,
body.iseft-user-panel #kt_app_content_container .resource-file-upload,
body.iseft-user-panel #kt_app_content_container .pdf-upload-container {
  border: 2px dashed #642240 !important;
  background-color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .upload-container .upload-placeholder p {
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .text-primary,
body.iseft-user-panel #kt_app_content_container .upload-container .text-primary,
body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .ki-file-up {
  color: #642240 !important;
}

/* User panel: inputs — nude fill, burgundy border only */
body.iseft-user-panel #kt_app_content_container .form-control,
body.iseft-user-panel #kt_app_content_container .form-select,
body.iseft-user-panel #kt_app_content_container textarea,
body.iseft-user-panel #kt_app_content_container textarea.form-control,
body.iseft-user-panel #kt_app_content_container select:not(.select2-hidden-accessible),
body.iseft-user-panel #kt_app_content_container .input-group-text,
body.iseft-user-panel #kt_app_content_container input.form-control:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="text"]:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="email"],
body.iseft-user-panel #kt_app_content_container input[type="password"],
body.iseft-user-panel #kt_app_content_container input[type="number"],
body.iseft-user-panel #kt_app_content_container input[type="date"],
body.iseft-user-panel #kt_app_content_container input[type="datetime-local"],
body.iseft-user-panel #kt_app_content_container input[type="search"]:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="tel"],
body.iseft-user-panel #kt_app_content_container input[type="url"],
body.iseft-user-panel #kt_app_content_container .flatpickr-input,
body.iseft-user-panel #kt_app_content_container .form-control-solid,
body.iseft-user-panel #kt_app_content_container .form-control.form-control-solid,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--multiple {
  background-color: var(--nude) !important;
  background: var(--nude) !important;
  border: 1px solid #642240 !important;
  color: #642240 !important;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_content_container .form-control:focus,
body.iseft-user-panel #kt_app_content_container .form-select:focus,
body.iseft-user-panel #kt_app_content_container textarea:focus,
body.iseft-user-panel #kt_app_content_container .form-control-solid:focus,
body.iseft-user-panel #kt_app_content_container .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5.select2-container--focus .select2-selection--single {
  border-color: #642240 !important;
  box-shadow: 0 0 0 0.15rem rgba(100, 34, 64, 0.18) !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__rendered,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
body.iseft-user-panel #kt_app_content_container .form-control::placeholder,
body.iseft-user-panel #kt_app_content_container textarea::placeholder {
  color: #642240 !important;
  opacity: 0.7;
}

body.iseft-user-panel #kt_app_content_container .upload-container,
body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box,
body.iseft-user-panel #kt_app_content_container .image-input,
body.iseft-user-panel #kt_app_content_container .dropzone,
body.iseft-user-panel #kt_app_content_container .iseft-file-upload-box,
body.iseft-user-panel #kt_app_content_container .upload-document-container,
body.iseft-user-panel #kt_app_content_container .resource-file-upload,
body.iseft-user-panel #kt_app_content_container .pdf-upload-container {
  border: 2px dashed #642240 !important;
  background-color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .upload-container .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .iseft-file-upload-box .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .resource-file-upload .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .pdf-upload-container .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .upload-document-container .upload-placeholder p,
body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .text-muted,
body.iseft-user-panel #kt_app_content_container .upload-container .text-muted {
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .text-primary,
body.iseft-user-panel #kt_app_content_container .upload-container .text-primary,
body.iseft-user-panel #kt_app_content_container .upload-container .ki-file-up,
body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box .ki-file-up,
body.iseft-user-panel #kt_app_content_container .iseft-file-upload-box .ki-file-up,
body.iseft-user-panel #kt_app_content_container .resource-file-upload .ki-file-up,
body.iseft-user-panel #kt_app_content_container .pdf-upload-container .ki-file-up,
body.iseft-user-panel #kt_app_content_container .ki-file-up.text-primary,
body.iseft-user-panel #kt_app_content_container i.ki-file-up {
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .ki-file-up [class^="path"] {
  background-color: #642240 !important;
}

body.iseft-user-panel .panel-dashboard__profile-avatar {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ===== User panel palette lock: only burgundy / nude / medium-pink ===== */
body.iseft-user-panel {
  --bs-success: #642240;
  --bs-success-rgb: 100, 34, 64;
  --bs-info: #f68870;
  --bs-info-rgb: 246, 136, 112;
  --bs-warning: #f68870;
  --bs-warning-rgb: 246, 136, 112;
  --bs-danger: #642240;
  --bs-danger-rgb: 100, 34, 64;
  --bs-secondary: #642240;
  --kt-success: #642240;
  --kt-info: #f68870;
  --kt-warning: #f68870;
  --kt-danger: #642240;
}

/* Badges */
body.iseft-user-panel #kt_app_content_container .badge,
body.iseft-user-panel #kt_app_content_container .badge-light,
body.iseft-user-panel #kt_app_content_container .badge-secondary,
body.iseft-user-panel #kt_app_content_container .badge-light-primary,
body.iseft-user-panel #kt_app_content_container .badge-light-info,
body.iseft-user-panel #kt_app_content_container .badge-light-secondary {
  background-color: #ffefe4 !important;
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .badge-light-success,
body.iseft-user-panel #kt_app_content_container .badge-success {
  background-color: #f68870 !important;
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .badge-light-warning,
body.iseft-user-panel #kt_app_content_container .badge-warning {
  background-color: #4678c8 !important;
  color: #fff !important;
}

body.iseft-user-panel #kt_app_content_container .badge-light-danger,
body.iseft-user-panel #kt_app_content_container .badge-danger {
  background-color: #090a50 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .badge-primary {
  background-color: #642240 !important;
  color: #ffefe4 !important;
}

/* Semantic text colors */
body.iseft-user-panel #kt_app_content_container .text-success,
body.iseft-user-panel #kt_app_content_container .text-info,
body.iseft-user-panel #kt_app_content_container .text-warning,
body.iseft-user-panel #kt_app_content_container .text-primary,
body.iseft-user-panel #kt_app_content_container .text-danger,
body.iseft-user-panel #kt_app_content_container .text-secondary {
  color: #642240 !important;
}

/* Validation / AJAX errors must stay clearly red (brand CSS above remaps .text-danger) */
body.iseft-panel #kt_app_content_container .error-messages,
body.iseft-panel #kt_app_content_container .error-messages .text-danger,
body.iseft-panel #kt_app_content_container .error-messages .iseft-ajax-error,
body.iseft-panel #kt_app_content_container .iseft-ajax-error,
body.iseft-user-panel #kt_app_content_container .error-messages,
body.iseft-user-panel #kt_app_content_container .error-messages .text-danger,
body.iseft-user-panel #kt_app_content_container .error-messages .iseft-ajax-error,
body.iseft-user-panel #kt_app_content_container .iseft-ajax-error,
body.iseft-panel .modal .error-messages .text-danger,
body.iseft-panel .modal .iseft-ajax-error {
  color: #c62828 !important;
  font-weight: 600 !important;
}

/* Server-side @error / validation under form fields (create/edit pages) */
body.iseft-user-panel #kt_app_content_container form .text-danger,
body.iseft-panel #kt_app_content_container form .text-danger {
  color: #c62828 !important;
  font-weight: 600 !important;
}

/* Toasts above Bootstrap/Metronic modals */
#toast-container {
  z-index: 20000 !important;
}
#toast-container > div {
  opacity: 1 !important;
}

/* Submit loading: spinner stays readable on burgundy buttons */
body.iseft-panel [data-kt-indicator="on"].btn .indicator-progress,
body.iseft-panel .iseft-btn-loading .indicator-progress {
  display: inline-block !important;
  color: inherit !important;
}
body.iseft-panel [data-kt-indicator="on"].btn .indicator-label,
body.iseft-panel .iseft-btn-loading .indicator-label {
  display: none !important;
}
body.iseft-panel [data-kt-indicator="on"].btn .spinner-border,
body.iseft-panel .iseft-btn-loading .spinner-border {
  color: #ffefe4 !important;
  border-color: currentColor !important;
  border-right-color: transparent !important;
}
body.iseft-panel [data-kt-indicator="on"].btn,
body.iseft-panel .iseft-btn-loading.btn {
  pointer-events: none !important;
  opacity: 0.85 !important;
}

body.iseft-user-panel #kt_app_content_container .text-success.text-hover-primary:hover,
body.iseft-user-panel #kt_app_content_container a.text-success:hover {
  color: #f68870 !important;
}

/* Light backgrounds (alerts, pills, soft boxes) */
body.iseft-user-panel #kt_app_content_container .bg-light-success,
body.iseft-user-panel #kt_app_content_container .bg-success-subtle,
body.iseft-user-panel #kt_app_content_container .bg-light-info,
body.iseft-user-panel #kt_app_content_container .bg-info-subtle,
body.iseft-user-panel #kt_app_content_container .bg-light-warning,
body.iseft-user-panel #kt_app_content_container .bg-warning-subtle,
body.iseft-user-panel #kt_app_content_container .bg-light-primary,
body.iseft-user-panel #kt_app_content_container .bg-light-secondary,
body.iseft-user-panel #kt_app_content_container .bg-light,
body.iseft-user-panel #kt_app_content_container .alert-success,
body.iseft-user-panel #kt_app_content_container .alert-info,
body.iseft-user-panel #kt_app_content_container .alert-warning,
body.iseft-user-panel #kt_app_content_container .alert-primary {
  background-color: #ffefe4 !important;
  color: #642240 !important;
  border: 1px solid #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .bg-light-danger,
body.iseft-user-panel #kt_app_content_container .bg-danger-subtle,
body.iseft-user-panel #kt_app_content_container .alert-danger {
  background-color: rgba(100, 34, 64, 0.12) !important;
  color: #642240 !important;
  border-color: rgba(100, 34, 64, 0.25) !important;
}

body.iseft-user-panel #kt_app_content_container .bg-success,
body.iseft-user-panel #kt_app_content_container .bg-info,
body.iseft-user-panel #kt_app_content_container .bg-warning,
body.iseft-user-panel #kt_app_content_container .bg-danger,
body.iseft-user-panel #kt_app_content_container .bg-primary {
  background-color: #642240 !important;
  color: #ffefe4 !important;
}

/* Accept status / utility icons in tables */
body.iseft-user-panel #kt_app_content_container .table .fa-check,
body.iseft-user-panel #kt_app_content_container .table .fa-check-circle,
body.iseft-user-panel #kt_app_content_container .table .ki-check,
body.iseft-user-panel #kt_app_content_container .table .ki-check-circle,
body.iseft-user-panel #kt_app_content_container .table .bi-check,
body.iseft-user-panel #kt_app_content_container .table .text-success i {
  color: #f68870 !important;
}

body.iseft-user-panel #kt_app_content_container .table .fa-close,
body.iseft-user-panel #kt_app_content_container .table .fa-times,
body.iseft-user-panel #kt_app_content_container .table .fa-xmark,
body.iseft-user-panel #kt_app_content_container .table .ki-cross,
body.iseft-user-panel #kt_app_content_container .table .bi-x {
  color: #642240 !important;
}

/* Semantic buttons outside primary theme */
body.iseft-user-panel #kt_app_content_container .btn-success,
body.iseft-user-panel #kt_app_content_container .btn-info,
body.iseft-user-panel #kt_app_content_container .btn-warning,
body.iseft-user-panel #kt_app_content_container .btn-danger,
body.iseft-user-panel #kt_app_content_container .btn-secondary {
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel #kt_app_content_container .btn-light-success,
body.iseft-user-panel #kt_app_content_container .btn-light-info,
body.iseft-user-panel #kt_app_content_container .btn-light-warning,
body.iseft-user-panel #kt_app_content_container .btn-light-danger,
body.iseft-user-panel #kt_app_content_container .btn-light-primary {
  background-color: #f68870 !important;
  border-color: #f68870 !important;
  color: #642240 !important;
}

/* Progress / switches already burgundy; keep toasts in palette */
body.iseft-user-panel .toast-success {
  background: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel .toast-info,
body.iseft-user-panel .toast-warning {
  background: #f68870 !important;
  color: #642240 !important;
}

body.iseft-user-panel .toast-error {
  background: #642240 !important;
  color: #ffefe4 !important;
}

/* Select2 selected tags / choices — same as Tagify (Authors / Keywords) */
body.iseft-user-panel .select2-container--default .select2-selection--multiple .select2-selection__choice,
body.iseft-user-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple .select2-selection__choice,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice {
  background-color: #642240 !important;
  border-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__display,
body.iseft-user-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice__display,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  color: #ffefe4 !important;
}

body.iseft-user-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
body.iseft-user-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice__remove,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #ffefe4 !important;
}

body.iseft-user-panel .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
body.iseft-user-panel .select2-container--bootstrap5 .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ffefe4 !important;
  background-color: rgba(255, 239, 228, 0.22) !important;
}

/* User panel editors: burgundy border; toolbar buttons without solid fill */
body.iseft-user-panel #kt_app_content_container .note-editor.note-frame,
body.iseft-user-panel #kt_app_content_container .note-editor {
  border: 1px solid #642240 !important;
  border-radius: var(--panel-radius-sm) !important;
  overflow: visible !important;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_content_container .ck.ck-editor,
body.iseft-user-panel #kt_app_content_container .ck-editor,
body.iseft-user-panel #kt_app_content_container .ck.ck-editor__main > .ck-editor__editable,
body.iseft-user-panel #kt_app_content_container .tox.tox-tinymce {
  border: 1px solid #642240 !important;
  border-radius: var(--panel-radius-sm) !important;
  overflow: hidden;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_content_container .ck.ck-toolbar,
body.iseft-user-panel #kt_app_content_container .ck.ck-editor__top .ck-sticky-panel__content {
  border: none !important;
  border-bottom: 1px solid #642240 !important;
  background: transparent !important;
  background-color: transparent !important;
}

body.iseft-user-panel #kt_app_content_container .note-toolbar,
body.iseft-user-panel #kt_app_content_container .note-editor .note-toolbar,
body.iseft-user-panel .modal .note-toolbar {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .note-editing-area,
body.iseft-user-panel #kt_app_content_container .note-editable,
body.iseft-user-panel #kt_app_content_container .ck-editor__editable,
body.iseft-user-panel #kt_app_content_container .ck-content {
  background-color: #ffefe4 !important;
  color: #642240 !important;
  border: none !important;
}

body.iseft-user-panel #kt_app_content_container .note-toolbar .btn:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn.btn-light:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn.btn-default:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn.btn-primary:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-toolbar button:not(.note-color-btn),
body.iseft-user-panel .modal .note-toolbar .btn:not(.note-color-btn),
body.iseft-user-panel .modal .note-toolbar .note-btn:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .ck.ck-button,
body.iseft-user-panel #kt_app_content_container .ck.ck-button.ck-on,
body.iseft-user-panel #kt_app_content_container .ck.ck-dropdown__button {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  color: #642240 !important;
  box-shadow: none !important;
  min-height: auto !important;
  height: auto !important;
  padding: 0.35rem 0.45rem !important;
}

body.iseft-user-panel #kt_app_content_container .note-toolbar .btn:hover,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn:hover,
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn:focus,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn.active,
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn.active,
body.iseft-user-panel #kt_app_content_container .ck.ck-button:hover,
body.iseft-user-panel #kt_app_content_container .ck.ck-button.ck-on {
  background: rgba(246, 136, 112, 0.25) !important;
  background-color: rgba(246, 136, 112, 0.25) !important;
  border-color: #f68870 !important;
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .note-toolbar .btn i,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn i,
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn .note-icon-caret,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-icon-font,
body.iseft-user-panel #kt_app_content_container .ck.ck-icon,
body.iseft-user-panel #kt_app_content_container .ck.ck-button .ck-button__label {
  color: #642240 !important;
  fill: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .note-statusbar,
body.iseft-user-panel #kt_app_content_container .note-resizebar {
  background: transparent !important;
  border-top: 1px solid #642240 !important;
}

/* User panel: radio / checkbox — unchecked only (:not(:checked) so checked styles can win) */
body.iseft-user-panel .form-check-input[type="radio"]:not(:checked),
body.iseft-user-panel .form-check:not(.form-switch) .form-check-input[type="checkbox"]:not(:checked),
body.iseft-user-panel #kt_app_content_container .form-check-input[type="radio"]:not(:checked),
body.iseft-user-panel #kt_app_content_container .form-check:not(.form-switch) .form-check-input[type="checkbox"]:not(:checked),
body.iseft-user-panel .form-check-custom:not(.form-switch) .form-check-input[type="radio"]:not(:checked),
body.iseft-user-panel .form-check-solid:not(.form-switch) .form-check-input[type="radio"]:not(:checked),
body.iseft-user-panel .form-check-custom:not(.form-switch) .form-check-input[type="checkbox"]:not(:checked),
body.iseft-user-panel .form-check-solid:not(.form-switch) .form-check-input[type="checkbox"]:not(:checked) {
  background-color: #ffefe4 !important;
  background-image: none !important;
  border: 2px solid #642240 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.iseft-user-panel .form-check:not(.form-switch) .form-check-input[type="checkbox"],
body.iseft-user-panel #kt_app_content_container .form-check:not(.form-switch) .form-check-input[type="checkbox"],
body.iseft-user-panel .form-check-custom:not(.form-switch) .form-check-input[type="checkbox"],
body.iseft-user-panel .form-check-solid:not(.form-switch) .form-check-input[type="checkbox"] {
  border-radius: 0.25rem !important;
  cursor: pointer;
}

body.iseft-user-panel .form-check-input[type="radio"],
body.iseft-user-panel #kt_app_content_container .form-check-input[type="radio"],
body.iseft-user-panel .form-check-custom .form-check-input[type="radio"] {
  border-radius: 50% !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
}

body.iseft-user-panel .form-check-input[type="radio"]:checked,
body.iseft-user-panel #kt_app_content_container .form-check-input[type="radio"]:checked,
body.iseft-user-panel .form-check-custom .form-check-input[type="radio"]:checked,
body.iseft-user-panel .form-check-solid .form-check-input[type="radio"]:checked {
  background-color: #642240 !important;
  border-color: #642240 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23ffefe4'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 0.65rem 0.65rem !important;
}

body.iseft-user-panel .form-check-input[type="checkbox"]:checked,
body.iseft-user-panel #kt_app_content_container .form-check-input[type="checkbox"]:checked,
body.iseft-user-panel .form-check-custom .form-check-input[type="checkbox"]:checked,
body.iseft-user-panel .form-check-solid .form-check-input[type="checkbox"]:checked {
  background-color: #642240 !important;
  border-color: #642240 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ffefe4' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

/* Switches must win over generic checkbox:checked rules */
body.iseft-user-panel .form-check.form-switch .form-check-input[type="checkbox"],
body.iseft-user-panel .form-switch .form-check-input[type="checkbox"],
body.iseft-user-panel #kt_app_content_container .form-check.form-switch .form-check-input[type="checkbox"],
body.iseft-user-panel #kt_app_content_container .accept-status-switch,
body.iseft-user-panel .auto-renew-switch {
  background-color: #ffefe4 !important;
  border: 2px solid #642240 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23642240'/%3e%3c/svg%3e") !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: 1.35rem 1.35rem !important;
  filter: none !important;
  opacity: 1 !important;
}

body.iseft-user-panel .form-check.form-switch .form-check-input[type="checkbox"]:checked,
body.iseft-user-panel .form-switch .form-check-input[type="checkbox"]:checked,
body.iseft-user-panel #kt_app_content_container .form-check.form-switch .form-check-input[type="checkbox"]:checked,
body.iseft-user-panel #kt_app_content_container .accept-status-switch:checked,
body.iseft-user-panel .auto-renew-switch:checked {
  background-color: #642240 !important;
  border-color: #642240 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffefe4'/%3e%3c/svg%3e") !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  background-size: 1.35rem 1.35rem !important;
  filter: none !important;
  opacity: 1 !important;
}

body.iseft-user-panel .form-check-input:focus,
body.iseft-user-panel .form-switch .form-check-input:focus,
body.iseft-user-panel .accept-status-switch:focus {
  border-color: #642240 !important;
  box-shadow: 0 0 0 0.2rem rgba(100, 34, 64, 0.2) !important;
  outline: none !important;
}

/* User panel: unified radius (match dashboard cards) + equal input padding */
body.iseft-user-panel {
  /* Keep resource-card asymmetric radius on cards; only controls use even 12px */
  --panel-radius-sm: 12px;
  --panel-radius-btn: 12px;
  --iseft-control-padding-y: 0.85rem;
  --iseft-control-padding-x: 0.85rem;
  --iseft-control-height: 2.75rem;
}

/* Non-card surfaces: even radius. Cards keep resource-card corners below. */
body.iseft-user-panel #kt_app_content_container .card-body,
body.iseft-user-panel #kt_app_content_container .table-responsive,
body.iseft-user-panel #kt_app_content_container .dropdown-menu,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown,
body.iseft-user-panel #kt_app_content_container .modal-content,
body.iseft-user-panel #kt_app_content_container .alert,
body.iseft-user-panel #kt_app_content_container .accordion-item,
body.iseft-user-panel #kt_app_content_container .toast,
body.iseft-user-panel #kt_app_content_container .badge,
body.iseft-user-panel #kt_app_content_container .upload-container,
body.iseft-user-panel #kt_app_content_container .iseft-image-crop-box,
body.iseft-user-panel #kt_app_content_container .iseft-file-upload-box,
body.iseft-user-panel #kt_app_content_container .note-editor.note-frame,
body.iseft-user-panel #kt_app_content_container .note-editor,
body.iseft-user-panel #kt_app_content_container .ck.ck-editor,
body.iseft-user-panel .skill-item,
body.iseft-user-panel .swal2-popup {
  border-radius: var(--panel-radius-sm) !important;
}

body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-user-panel #kt_app_content_container .btn.btn-sm:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-user-panel .panel-dashboard__stat .btn,
body.iseft-user-panel .panel-dashboard__card .btn,
body.iseft-user-panel .panel-dashboard__renew-btn,
body.iseft-user-panel #kt_app_content_container .form-control,
body.iseft-user-panel #kt_app_content_container .form-control-solid,
body.iseft-user-panel #kt_app_content_container .form-select,
body.iseft-user-panel #kt_app_content_container textarea,
body.iseft-user-panel #kt_app_content_container textarea.form-control,
body.iseft-user-panel #kt_app_content_container .input-group-text,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .flatpickr-input,
body.iseft-user-panel #kt_app_content_container .pagination .page-link {
  border-radius: var(--panel-radius-sm) !important; /* even 8px — not card asymmetric radius */
}

/* Table header corners match resource-card radius (single values only) */
body.iseft-user-panel #kt_app_content_container .table thead th:first-child {
  border-top-left-radius: var(--panel-radius-tl) !important;
}

body.iseft-user-panel #kt_app_content_container .table thead th:last-child {
  border-top-right-radius: var(--panel-radius-tr) !important;
}

/* Equal input / select padding & height (exclude Tagify — must grow with chips) */
body.iseft-user-panel #kt_app_content_container .form-control:not(.tagify),
body.iseft-user-panel #kt_app_content_container .form-control-solid:not(.tagify),
body.iseft-user-panel #kt_app_content_container .form-select,
body.iseft-user-panel #kt_app_content_container input.form-control:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="text"]:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container input[type="email"],
body.iseft-user-panel #kt_app_content_container input[type="password"],
body.iseft-user-panel #kt_app_content_container input[type="number"],
body.iseft-user-panel #kt_app_content_container input[type="date"],
body.iseft-user-panel #kt_app_content_container input[type="tel"],
body.iseft-user-panel #kt_app_content_container input[type="url"],
body.iseft-user-panel #kt_app_content_container input[type="search"]:not(.select2-search__field),
body.iseft-user-panel #kt_app_content_container .flatpickr-input,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single {
  min-height: var(--iseft-control-height) !important;
  height: var(--iseft-control-height) !important;
  padding: var(--iseft-control-padding-y) var(--iseft-control-padding-x) !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}

body.iseft-user-panel #kt_app_content_container textarea,
body.iseft-user-panel #kt_app_content_container textarea.form-control {
  min-height: 7.5rem !important;
  height: auto !important;
  padding: var(--iseft-control-padding-y) var(--iseft-control-padding-x) !important;
  line-height: 1.45 !important;
  box-sizing: border-box !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__rendered,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
  line-height: calc(var(--iseft-control-height) - 2px) !important;
  padding-left: 0 !important;
  padding-right: 1.5rem !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__arrow,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 0.65rem !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--multiple {
  min-height: var(--iseft-control-height) !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0.35rem var(--iseft-control-padding-x) !important;
  box-sizing: border-box !important;
}

/* Buttons share same radius + comparable padding */
body.iseft-user-panel #kt_app_content_container .btn:not(.btn-icon):not(.btn-link):not(.btn-close):not(.note-btn):not(.note-color-btn) {
  border-radius: var(--panel-radius-btn) !important;
  padding: var(--iseft-control-padding-y) var(--iseft-control-padding-x) !important;
  min-height: var(--iseft-control-height) !important;
}

/* Info icons in palette (no blue) */
body.iseft-user-panel #kt_app_content_container .ki-information,
body.iseft-user-panel #kt_app_content_container .ki-information-2,
body.iseft-user-panel #kt_app_content_container .ki-information.text-primary,
body.iseft-user-panel #kt_app_content_container .text-primary.ki-information,
body.iseft-user-panel #kt_app_content_container i.ki-solid.ki-information {
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .ki-information [class^="path"] {
  background-color: #642240 !important;
}

/* User panel: one shared form-control look (input / select / select2) */
body.iseft-user-panel #kt_app_content_container .form-control:not(.tagify),
body.iseft-user-panel #kt_app_content_container .form-control-solid:not(.tagify),
body.iseft-user-panel #kt_app_content_container .form-select,
body.iseft-user-panel #kt_app_content_container .form-select-solid,
body.iseft-user-panel #kt_app_content_container input.form-control,
body.iseft-user-panel #kt_app_content_container input.form-control-solid,
body.iseft-user-panel #kt_app_content_container select.form-control,
body.iseft-user-panel #kt_app_content_container select.form-select,
body.iseft-user-panel #kt_app_content_container select.form-select-solid,
body.iseft-user-panel #kt_app_content_container textarea.form-control,
body.iseft-user-panel #kt_app_content_container textarea.form-control-solid,
body.iseft-user-panel #kt_app_content_container .flatpickr-input,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single {
  background: #ffefe4 !important;
  background-color: #ffefe4 !important;
  background-image: none !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #642240 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  min-height: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0.75rem 1rem !important;
  margin: 0 !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* Multi-value controls must expand so chips/options stay inside the frame */
body.iseft-user-panel #kt_app_content_container .tagify,
body.iseft-user-panel #kt_app_content_container .tagify.form-control,
body.iseft-user-panel #kt_app_content_container .tagify.form-control-solid,
body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--multiple {
  background: #ffefe4 !important;
  background-color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #642240 !important;
  min-height: 2.75rem !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0.35rem 0.5rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.iseft-user-panel #kt_app_content_container textarea.form-control,
body.iseft-user-panel #kt_app_content_container textarea.form-control-solid {
  height: auto !important;
  min-height: 7.5rem !important;
  resize: vertical;
}

body.iseft-user-panel #kt_app_content_container .form-control:focus,
body.iseft-user-panel #kt_app_content_container .form-control-solid:focus,
body.iseft-user-panel #kt_app_content_container .form-select:focus,
body.iseft-user-panel #kt_app_content_container .form-select-solid:focus,
body.iseft-user-panel #kt_app_content_container textarea:focus,
body.iseft-user-panel #kt_app_content_container .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--default.select2-container--open .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5.select2-container--focus .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5.select2-container--open .select2-selection--single {
  background: #ffefe4 !important;
  border-color: #642240 !important;
  box-shadow: 0 0 0 0.15rem rgba(100, 34, 64, 0.15) !important;
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .form-control:disabled,
body.iseft-user-panel #kt_app_content_container .form-control-solid:disabled,
body.iseft-user-panel #kt_app_content_container .form-select:disabled,
body.iseft-user-panel #kt_app_content_container .form-select-solid:disabled,
body.iseft-user-panel #kt_app_content_container .form-control[readonly],
body.iseft-user-panel #kt_app_content_container select:disabled {
  background: rgba(255, 239, 228, 0.65) !important;
  border-color: rgba(100, 34, 64, 0.35) !important;
  color: rgba(100, 34, 64, 0.7) !important;
  opacity: 1 !important;
}

/* Select2 inner text matches native input text position */
body.iseft-user-panel #kt_app_content_container .select2-container {
  width: 100% !important;
  display: block !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__rendered,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
  color: #642240 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: calc(2.75rem - 2px) !important;
  padding: 0 1.75rem 0 0 !important;
  margin: 0 !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder {
  color: rgba(100, 34, 64, 0.55) !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__arrow,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 0.75rem !important;
  width: 1.25rem !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--single .select2-selection__clear,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--single .select2-selection__clear {
  color: #642240 !important;
  margin-right: 1.5rem !important;
}

body.iseft-user-panel #kt_app_content_container .select2-container--default .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .select2-container--bootstrap5 .select2-selection--multiple {
  height: auto !important;
  min-height: 2.75rem !important;
  padding: 0.4rem 0.75rem !important;
}

/* Kill Metronic solid/soft overrides that make fields look different */
body.iseft-user-panel #kt_app_content_container .form-control.form-control-solid,
body.iseft-user-panel #kt_app_content_container .form-select.form-select-solid,
body.iseft-user-panel #kt_app_content_container .form-control-solid {
  background-color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  box-shadow: none !important;
}

body.iseft-user-panel #kt_app_content_container .form-control.fw-bold,
body.iseft-user-panel #kt_app_content_container .form-select.fw-bold {
  font-weight: 500 !important;
}


/* Profile skills: Remove button spacing on mobile (stacked columns) */
@media (max-width: 767.98px) {
  body.iseft-user-panel #kt_app_content_container .skill-item .row > [class*="col-"] {
    margin-bottom: 0.85rem;
  }

  body.iseft-user-panel #kt_app_content_container .skill-item .row > [class*="col-"]:last-child {
    margin-bottom: 0;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }

  body.iseft-user-panel #kt_app_content_container .skill-item .remove-skill {
    margin-top: 0.5rem !important;
  }
}

/* Skill rows use same controls */
body.iseft-user-panel #kt_app_content_container .skill-item .form-control,
body.iseft-user-panel #kt_app_content_container .skill-item select.form-control {
  background: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  min-height: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0.75rem 1rem !important;
  color: #642240 !important;
}

/* User panel Filter Options — same look as the rest of the forms */
body.iseft-user-panel .menu-sub-dropdown,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown {
  background-color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(100, 34, 64, 0.14) !important;
  color: #642240 !important;
}

body.iseft-user-panel .menu-sub-dropdown .fs-5,
body.iseft-user-panel .menu-sub-dropdown .text-gray-900,
body.iseft-user-panel .menu-sub-dropdown .fw-bold,
body.iseft-user-panel .menu-sub-dropdown .form-label,
body.iseft-user-panel .menu-sub-dropdown label {
  color: #642240 !important;
}

body.iseft-user-panel .menu-sub-dropdown .separator,
body.iseft-user-panel .menu-sub-dropdown .border-gray-200,
body.iseft-user-panel .menu-sub-dropdown .border-bottom {
  border-color: rgba(100, 34, 64, 0.2) !important;
}

body.iseft-user-panel .menu-sub-dropdown .form-select,
body.iseft-user-panel .menu-sub-dropdown .form-control:not(.tagify),
body.iseft-user-panel .menu-sub-dropdown .form-select-solid,
body.iseft-user-panel .menu-sub-dropdown .form-control-solid:not(.tagify),
body.iseft-user-panel .menu-sub-dropdown .select2-container--default .select2-selection--single,
body.iseft-user-panel .menu-sub-dropdown .select2-container--bootstrap5 .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .form-select,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .form-control:not(.tagify),
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .form-select-solid,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .form-control-solid:not(.tagify),
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single {
  background: #ffefe4 !important;
  background-color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #642240 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  min-height: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0.75rem 1rem !important;
  width: 100% !important;
}

body.iseft-user-panel .menu-sub-dropdown .select2-container--default .select2-selection--multiple,
body.iseft-user-panel .menu-sub-dropdown .select2-container--bootstrap5 .select2-selection--multiple,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--multiple {
  background: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  color: #642240 !important;
  min-height: 2.75rem !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0.35rem 0.5rem !important;
  width: 100% !important;
}

body.iseft-user-panel .menu-sub-dropdown .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-user-panel .menu-sub-dropdown .select2-container--default.select2-container--open .select2-selection--single,
body.iseft-user-panel .menu-sub-dropdown .form-control:focus,
body.iseft-user-panel .menu-sub-dropdown .form-select:focus,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default.select2-container--focus .select2-selection--single,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default.select2-container--open .select2-selection--single {
  background-color: #ffefe4 !important;
  border-color: #642240 !important;
  box-shadow: 0 0 0 0.15rem rgba(100, 34, 64, 0.15) !important;
}

body.iseft-user-panel .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__rendered,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #642240 !important;
  line-height: calc(2.75rem - 2px) !important;
  padding-left: 0 !important;
  padding-right: 1.75rem !important;
  font-weight: 500 !important;
}

body.iseft-user-panel .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(100, 34, 64, 0.55) !important;
}

body.iseft-user-panel .menu-sub-dropdown .select2-dropdown,
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .select2-dropdown,
body.iseft-user-panel .select2-dropdown {
  background-color: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  color: #642240 !important;
}

body.iseft-user-panel .select2-container--default .select2-results__option,
body.iseft-user-panel .select2-container--bootstrap5 .select2-results__option {
  background-color: #ffefe4 !important;
  color: #642240 !important;
}

body.iseft-user-panel .select2-container--default .select2-results__option--highlighted[aria-selected],
body.iseft-user-panel .select2-container--default .select2-results__option--selected,
body.iseft-user-panel .select2-container--bootstrap5 .select2-results__option--highlighted {
  background-color: #642240 !important;
  color: #ffefe4 !important;
}

body.iseft-user-panel .menu-sub-dropdown .btn:not(.btn-icon):not(.btn-link):not(.btn-close),
body.iseft-user-panel #kt_app_content_container .menu-sub-dropdown .btn:not(.btn-icon):not(.btn-link):not(.btn-close) {
  border-radius: 12px !important;
  min-height: 2.75rem !important;
  padding: 0.75rem 1rem !important;
}

/* Summernote toolbar fix — readable tools, dropdowns, and hover states */
body.iseft-user-panel .note-editor {
  overflow: visible !important;
}

body.iseft-user-panel .note-editor .note-toolbar,
body.iseft-user-panel #kt_app_content_container .note-editor .note-toolbar {
  background: #ffefe4 !important;
  border-bottom: 1px solid #642240 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.15rem !important;
  padding: 0.45rem 0.55rem !important;
}

body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group {
  float: none !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}

body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .note-btn:not(.note-color-btn),
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn:not(.note-color-btn),
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn.btn-light:not(.note-color-btn),
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn.btn-sm:not(.note-color-btn),
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn.btn-default:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-editor .note-toolbar > .note-btn-group > .btn.btn-light:not(.note-color-btn),
body.iseft-user-panel #kt_app_content_container .note-editor .note-toolbar > .note-btn-group > .btn.btn-primary:not(.note-color-btn) {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(100, 34, 64, 0.25) !important;
  color: #642240 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  min-height: 2rem !important;
  height: 2rem !important;
  line-height: 1 !important;
  padding: 0.25rem 0.45rem !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .note-btn:not(.note-color-btn):hover,
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn:not(.note-color-btn):hover,
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .note-btn:not(.note-color-btn):focus,
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn:not(.note-color-btn):focus,
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .note-btn:not(.note-color-btn).active,
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group > .btn:not(.note-color-btn).active,
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group.show > .btn:not(.note-color-btn),
body.iseft-user-panel .note-editor .note-toolbar > .note-btn-group.show > .note-btn:not(.note-color-btn) {
  background: rgba(246, 136, 112, 0.3) !important;
  border-color: #f68870 !important;
  color: #642240 !important;
}

body.iseft-user-panel .note-editor .note-toolbar .note-btn i,
body.iseft-user-panel .note-editor .note-toolbar .btn i,
body.iseft-user-panel .note-editor .note-toolbar .note-btn span,
body.iseft-user-panel .note-editor .note-toolbar .note-current-fontname,
body.iseft-user-panel .note-editor .note-toolbar .note-current-fontsize,
body.iseft-user-panel .note-editor .note-toolbar .note-current-style,
body.iseft-user-panel .note-editor .note-toolbar .note-icon-caret {
  color: #642240 !important;
  background: transparent !important;
  opacity: 1 !important;
}

body.iseft-user-panel .note-dropdown-menu,
body.iseft-user-panel .note-editor .dropdown-menu,
body.iseft-user-panel .note-popover .popover-content,
body.iseft-user-panel .note-hint-popover .popover-content {
  background: #ffefe4 !important;
  border: 1px solid #642240 !important;
  border-radius: 12px !important;
  color: #642240 !important;
  min-width: 8rem;
  padding: 0.35rem 0 !important;
  z-index: 1060 !important;
}

body.iseft-user-panel .note-dropdown-menu > li > a,
body.iseft-user-panel .note-dropdown-menu a.dropdown-item,
body.iseft-user-panel .note-dropdown-menu .dropdown-item,
body.iseft-user-panel .note-dropdown-menu .note-dropdown-item,
body.iseft-user-panel .note-editor .dropdown-menu > li > a,
body.iseft-user-panel .note-editor .dropdown-menu .dropdown-item {
  display: block !important;
  color: #642240 !important;
  background: transparent !important;
  opacity: 1 !important;
  padding: 0.45rem 0.9rem !important;
  text-decoration: none !important;
}

body.iseft-user-panel .note-dropdown-menu > li > a:hover,
body.iseft-user-panel .note-dropdown-menu a.dropdown-item:hover,
body.iseft-user-panel .note-dropdown-menu .dropdown-item:hover,
body.iseft-user-panel .note-dropdown-menu .note-dropdown-item:hover,
body.iseft-user-panel .note-dropdown-menu > li > a:focus,
body.iseft-user-panel .note-dropdown-menu > li > a.checked,
body.iseft-user-panel .note-editor .dropdown-menu > li > a:hover {
  background: #642240 !important;
  color: #ffefe4 !important;
}

/* Color swatches: never force background — inline colors must show */
body.iseft-user-panel .note-editor .note-color-btn,
body.iseft-user-panel .note-editor button.note-color-btn,
body.iseft-user-panel .note-dropdown-menu .note-color-btn,
body.iseft-user-panel .note-dropdown-menu button.note-color-btn,
body.iseft-user-panel .note-dropdown-menu .note-color-btn:hover,
body.iseft-user-panel .note-dropdown-menu button.note-color-btn:hover {
  background-image: none !important;
  min-height: 20px !important;
  height: 20px !important;
  width: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(100, 34, 64, 0.35) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body.iseft-user-panel .note-color .note-dropdown-menu,
body.iseft-user-panel .note-palette {
  background: #ffefe4 !important;
  color: #642240 !important;
}

body.iseft-user-panel .note-toolbar .note-btn[aria-describedby],
body.iseft-user-panel .note-editor [data-original-title] {
  position: relative;
}

/* Tooltips: high-contrast; beat any nude surface overrides */
body.iseft-user-panel .tooltip,
body.iseft-user-panel .tooltip.show,
body.iseft-user-panel #kt_app_content_container .tooltip,
body.iseft-user-panel #kt_app_content_container .tooltip.show {
  opacity: 1 !important;
  z-index: 4000 !important;
  pointer-events: none !important;
}

body.iseft-user-panel .tooltip-inner,
body.iseft-user-panel #kt_app_content_container .tooltip-inner,
body.iseft-user-panel .tooltip .tooltip-inner {
  background: #642240 !important;
  background-color: #642240 !important;
  color: #ffefe4 !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  max-width: 240px !important;
}

body.iseft-user-panel .tooltip .tooltip-arrow::before,
body.iseft-user-panel .bs-tooltip-top .tooltip-arrow::before,
body.iseft-user-panel .bs-tooltip-bottom .tooltip-arrow::before,
body.iseft-user-panel .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
body.iseft-user-panel .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
  border-top-color: #642240 !important;
  border-bottom-color: #642240 !important;
}

/* Summernote icons must stay burgundy (never nude-on-nude) */
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn i,
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn i,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn [class^="note-icon-"],
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn [class^="note-icon-"],
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-icon-caret,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-current-fontname,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-current-fontsize {
  color: #642240 !important;
  opacity: 1 !important;
}

body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn:not(.note-color-btn):hover,
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn:not(.note-color-btn):hover {
  background: rgba(246, 136, 112, 0.35) !important;
  border-color: #f68870 !important;
  color: #642240 !important;
}

body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn:not(.note-color-btn):hover i,
body.iseft-user-panel #kt_app_content_container .note-toolbar .btn:not(.note-color-btn):hover i,
body.iseft-user-panel #kt_app_content_container .note-toolbar .note-btn:not(.note-color-btn):hover [class^="note-icon-"] {
  color: #642240 !important;
}

/* ===== Index search: icon must never overlap text (last-wins) ===== */
body.iseft-panel #kt_app_content_container .card-header input[name="search"],
body.iseft-panel #kt_app_content_container .card-title input[name="search"],
body.iseft-panel #kt_app_content_container .search-form input[name="search"],
body.iseft-panel #kt_app_content_container .card-title .form-control.ps-12,
body.iseft-panel #kt_app_content_container .search-form .form-control.ps-12,
body.iseft-user-panel #kt_app_content_container .card-header input[name="search"],
body.iseft-user-panel #kt_app_content_container .card-title input[name="search"],
body.iseft-user-panel #kt_app_content_container .search-form input[name="search"],
body.iseft-user-panel #kt_app_content_container .card-title .form-control.ps-12,
body.iseft-user-panel #kt_app_content_container .search-form .form-control.ps-12 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  padding-right: 1rem !important;
  padding-left: 3.75rem !important;
  padding-inline-start: 3.75rem !important;
  padding-inline-end: 1rem !important;
}

body.iseft-panel #kt_app_content_container .card-title .position-relative > .ki-magnifier,
body.iseft-panel #kt_app_content_container .card-title .position-relative > i.ki-solid.ki-magnifier,
body.iseft-user-panel #kt_app_content_container .card-title .position-relative > .ki-magnifier,
body.iseft-user-panel #kt_app_content_container .card-title .position-relative > i.ki-solid.ki-magnifier {
  position: absolute !important;
  top: 50% !important;
  left: 1.1rem !important;
  inset-inline-start: 1.1rem !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  color: #642240 !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
}

/* Index search: keep icon clear of placeholder/text (must win over equal-padding locks) */
body.iseft-panel #kt_app_content_container .card-title .position-relative > i.ki-magnifier,
body.iseft-panel #kt_app_content_container .card-title .position-relative > i.ki-solid.ki-magnifier,
body.iseft-user-panel #kt_app_content_container .card-title .position-relative > i.ki-magnifier,
body.iseft-user-panel #kt_app_content_container .card-title .position-relative > i.ki-solid.ki-magnifier {
  position: absolute !important;
  top: 50% !important;
  left: 0.85rem !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  color: #642240 !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

body.iseft-panel #kt_app_content_container .card-title input[name="search"],
body.iseft-panel #kt_app_content_container .card-title .search-form input[name="search"],
body.iseft-panel #kt_app_content_container .card-header input[name="search"],
body.iseft-panel #kt_app_content_container .search-form input[name="search"],
body.iseft-panel #kt_app_content_container .card-title .form-control.ps-12,
body.iseft-panel #kt_app_content_container .card-title input.form-control[name="search"],
body.iseft-user-panel #kt_app_content_container .card-title input[name="search"],
body.iseft-user-panel #kt_app_content_container .card-title .search-form input[name="search"],
body.iseft-user-panel #kt_app_content_container .card-header input[name="search"],
body.iseft-user-panel #kt_app_content_container .search-form input[name="search"],
body.iseft-user-panel #kt_app_content_container .card-title .form-control.ps-12,
body.iseft-user-panel #kt_app_content_container .card-title input.form-control[name="search"] {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  padding-right: 1rem !important;
  padding-left: 3rem !important;
  padding-inline-start: 3rem !important;
  padding-inline-end: 1rem !important;
}

/* LAST: hide leftover Keenicon path squares in buttons */
body.iseft-panel #kt_app_content_container .btn i .path1,
body.iseft-panel #kt_app_content_container .btn i .path2,
body.iseft-panel #kt_app_content_container .btn i span[class^="path"],
body.iseft-panel #kt_app_content_container .btn i span[class*="path"],
body.iseft-panel .modal .btn i .path1,
body.iseft-panel .modal .btn i .path2,
body.iseft-user-panel #kt_app_content_container .btn i .path1,
body.iseft-user-panel #kt_app_content_container .btn i .path2,
body.iseft-user-panel #kt_app_content_container .btn i span[class^="path"],
body.iseft-user-panel #kt_app_content_container .btn i span[class*="path"] {
  display: none !important;
  visibility: hidden !important;
  background: none !important;
  background-color: transparent !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/*
 * FINAL: Latest Research/Resource = homepage EFT cards
 * text-lg → md:text-2xl → lg:text-3xl → xl:text-4xl, bold
 */
body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
body.iseft-panel .panel-dashboard__section-title,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__section-title,
body.iseft-user-panel .panel-dashboard__section-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

@media (min-width: 768px) {
  body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-panel .panel-dashboard__section-title,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-user-panel .panel-dashboard__section-title {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-panel .panel-dashboard__section-title,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-user-panel .panel-dashboard__section-title {
    font-size: 1.875rem !important;
  }
}

@media (min-width: 1280px) {
  body.iseft-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-panel .panel-dashboard__section-title,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__section-title,
  body.iseft-user-panel .panel-dashboard__section-title {
    font-size: 2.25rem !important;
  }
}

/*
 * FINAL: dashboard card labels (Registered Users, My Profile, Communications, …)
 * = homepage EFT cards (same as section / page / modal titles)
 * text-lg → md:text-2xl → lg:text-3xl → xl:text-4xl, font-bold
 */
body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
body.iseft-panel .panel-dashboard__stat-label,
body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
body.iseft-panel .panel-dashboard__card-title,
body.iseft-panel #kt_app_content_container h2.panel-dashboard__card-title,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat-label,
body.iseft-user-panel .panel-dashboard__stat-label,
body.iseft-user-panel #kt_app_content_container .panel-dashboard__card-title,
body.iseft-user-panel .panel-dashboard__card-title,
body.iseft-user-panel #kt_app_content_container h2.panel-dashboard__card-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important; /* text-lg */
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

@media (min-width: 768px) {
  body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-panel .panel-dashboard__stat-label,
  body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-panel .panel-dashboard__card-title,
  body.iseft-panel #kt_app_content_container h2.panel-dashboard__card-title,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-user-panel .panel-dashboard__stat-label,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-user-panel .panel-dashboard__card-title,
  body.iseft-user-panel #kt_app_content_container h2.panel-dashboard__card-title {
    font-size: 1.5rem !important; /* md:text-2xl */
    line-height: 1.3 !important;
  }
}

@media (min-width: 1024px) {
  body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-panel .panel-dashboard__stat-label,
  body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-panel .panel-dashboard__card-title,
  body.iseft-panel #kt_app_content_container h2.panel-dashboard__card-title,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-user-panel .panel-dashboard__stat-label,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-user-panel .panel-dashboard__card-title,
  body.iseft-user-panel #kt_app_content_container h2.panel-dashboard__card-title {
    font-size: 1.875rem !important; /* lg:text-3xl */
  }
}

@media (min-width: 1280px) {
  body.iseft-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-panel .panel-dashboard__stat-label,
  body.iseft-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-panel .panel-dashboard__card-title,
  body.iseft-panel #kt_app_content_container h2.panel-dashboard__card-title,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__stat-label,
  body.iseft-user-panel .panel-dashboard__stat-label,
  body.iseft-user-panel #kt_app_content_container .panel-dashboard__card-title,
  body.iseft-user-panel .panel-dashboard__card-title,
  body.iseft-user-panel #kt_app_content_container h2.panel-dashboard__card-title {
    font-size: 2.25rem !important; /* xl:text-4xl */
  }
}
