/* Inapem User Menu Component CSS */

.inapem-user-menu {
  display: inline-flex;
  align-items: center; /* Forced center for all icons/text */
  gap: 24px;
  position: relative;
  font-family: var(--font-primary, "Poppins", Sans-serif);
}

/* Reinforce Header Shadow when Drawer is open or just globally if missing */
header, .elementor-location-header, .site-header {
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.08) !important;
}


.inapem-nav-item-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* Notifications Button */
.inapem-notification-btn {
  display: flex !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 2px 10px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative !important;
}

.inapem-notification-btn.active {
  border-radius: 4px !important;
  border: 1px solid #25355C !important;
  box-shadow: none !important;
  background: #F5F7F9 !important;
  color: #25355C !important;
}

.inapem-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  left: auto !important;
  width: 14px;
  height: 14px;
  aspect-ratio: 1/1;
  background-color: #DC2626 !important; /* Semantic Red */
  border-radius: 50% !important;
  border: 2px solid #ffffff !important; /* White stroke */
  padding: 0;
  display: block !important;
  pointer-events: none;
  z-index: 99 !important;
}

/* Hard reset for any ghost dots */
.inapem-notification-btn::before,
.inapem-notification-btn::after {
  content: none !important;
  display: none !important;
}

/* Profile Button */
.inapem-profile-btn {
  display: flex !important;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--color-primary, #25355c);
  transition: background-color 0.2s ease;
}

/* Suppress Elementor ghost pseudo-elements that create a 2nd arrow */
.inapem-profile-btn::before,
.inapem-profile-btn::after {
  content: none !important;
  display: none !important;
}

.inapem-profile-text-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  flex: 1; /* Take space to allow centering */
  justify-content: center !important;
}

.inapem-profile-welcome {
  display: flex !important;
  justify-content: start !important;
  align-items: center !important;
  width: 100% !important;
  color: #25355C !important;
  text-align: center !important;
  font-family: 'Poppins', Sans-serif !important;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 20px !important; /* 142.857% */
  margin-bottom: 0 !important;
}

.inapem-profile-name {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  color: #25355C !important;
  text-align: center !important;
  font-family: 'Poppins', Sans-serif !important;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 20px !important; /* 125% */
}

.inapem-profile-chevron-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important; /* Forces vertical center within profile btn */
  margin-left: 8px !important;
  width: 14px !important;
  height: 14px !important;
  position: relative !important;
}

.inapem-custom-chevron {
  width: 12px;
  height: 12px;
  background-color: var(--Navy, #25355C);
  mask-image: url('/wp-content/uploads/2026/04/Chevron-Expand-More.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url('/wp-content/uploads/2026/04/Chevron-Expand-More.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  display: block;
  transition: transform 0.2s ease;
}

.inapem-profile-btn.active .inapem-custom-chevron {
  transform: rotate(180deg);
}

/* Hard reset to hide any Elementor/FontAwesome injected icons outside our controlled wrapper */
.inapem-profile-btn > *:not(.inapem-profile-text-wrapper):not(.inapem-profile-chevron-wrapper),
.inapem-profile-chevron-wrapper > i,
.inapem-profile-chevron-wrapper > svg,
.inapem-profile-chevron-wrapper > :not(.inapem-custom-chevron) {
  display: none !important;
}

/* Dropdown Shared Styles */
.inapem-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--White, #FFF);
  border-radius: var(--Radii-Semantic_tokens-l2, 4px);
  box-shadow: 0 0 5px 0 rgba(24, 24, 27, 0.15), 0 24px 40px 0 rgba(24, 24, 27, 0.16);
  border: 1px solid var(--color-grey, #f8fafc);
  min-width: 220px;
  max-width: 90vw !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    visibility 0.2s;
  z-index: 99;
}


.inapem-profile-dropdown {
  padding: 8px 0;
}

.inapem-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Notification Dropdown Specifics */
.inapem-notifications-dropdown {
  right: 0;
  width: 520px;
  max-width: 100vw;
  padding: 0; /* Full width for lines */
  overflow: hidden; /* Avoid divider spill */
}

.inapem-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: none;
  font-family: var(--font-primary, "Poppins", Sans-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--Navy, #25355C);
  line-height: 20px;
}

.inapem-notif-close {
  background-color: var(--color-white, #ffffff) !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--color-primary, #25355c) !important;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: background-color 0.2s;
}

.inapem-notif-close:hover {
  background-color: var(--color-grey, #f8fafc) !important;
}

.inapem-notif-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0; /* Subtle-Gray */
  padding: 0 24px;
  gap: 20px;
  width: 100%;
}

.inapem-notif-tab-btn {
  background-color: var(--color-white, #ffffff) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 4px !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 18px !important;
  color: var(--Navy, #25355C) !important;
  font-weight: 400 !important;
  cursor: pointer;
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  line-height: 28px !important;
}

.inapem-notif-tab-btn:hover {
  color: var(--color-primary, #25355c) !important;
}

.inapem-notif-tab-btn.active {
  color: var(--Navy, #25355C) !important;
  font-weight: 700 !important;
}

.inapem-notif-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary, #469bd3);
  border-radius: 2px 2px 0 0;
}

.inapem-notif-tab-badge {
  background-color: var(--color-primary, #25355c);
  color: var(--color-white, #ffffff);
  font-size: 10px;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 1;
}

/* Tab Content */
.inapem-notif-tab-content {
  display: none;
}

.inapem-notif-tab-content.active {
  display: block;
}

/* Notification Body & Items */
.inapem-dropdown-body {
  padding: 8px 0;
  height: 760px;
  max-height: 760px !important;
  overflow-y: auto;
}

.inapem-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  font-family: "Open Sans", sans-serif !important;
  font-size: 14px;
  color: #25355c;
  transition: background-color 0.2s;
  gap: 12px;
}

.inapem-dropdown-item.is-disabled {
  color: #a0aec0 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.inapem-dropdown-item.active {
  color: #469BD3 !important;
  font-weight: 600;
}

.inapem-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  color: inherit;
  font-size: 16px;
}

.inapem-dropdown-divider {
  height: 1px;
  background-color: #25355c;
  margin: 8px 0;
}

.inapem-notif-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 16px 16px 44px; /* Aumentar padding left para dar lugar à bolinha absoluta */
  margin: 0 24px 8px 24px;
  gap: 12px;
  border-bottom: none;
  transition: background-color 0.2s;
  cursor: pointer;
  position: relative;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* Pseudo-element divider centered between notifications, following item width */
.inapem-notif-item::after {
  content: "";
  position: absolute;
  bottom: -4px; /* Centered in the 8px margin gap */
  left: 0;
  right: 0;
  height: 1px;
  background: #798295;
}

/* Hide divider on the last VISIBLE item in the list within any tab */
.inapem-notif-item:not(:has(~ .inapem-notif-item:not([style*="display: none"])))::after {
  display: none !important;
}

.inapem-notif-item.unread {
  background-color: #ffffff;
}

.inapem-notif-item:hover {
  background-color: #D4EBF8 !important; /* Specific color from user */
}

.inapem-notif-dot {
  width: 12px;
  height: 12px;
  aspect-ratio: 1/1;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  left: 16px;
  top: 16px;
  flex-shrink: 0;
}

.inapem-notif-item.unread .inapem-notif-dot {
  background-color: var(--color-secondary, #469bd3);
}

.inapem-notif-content {
  flex-grow: 1;
}

.inapem-notif-title {
  font-family: "Open Sans", Sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  color: var(--Navy, #25355C);
  line-height: 24px;
  margin-bottom: 4px;
}

.inapem-notif-desc {
  font-family: "Open Sans", Sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--Dark-Grey, #798295);
  line-height: 20px;
}

.inapem-notif-meta {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centralizar data em relação aos ícones */
  gap: 12px;
  min-width: 60px;
  padding-right: 4px;
  align-self: flex-start; /* Alinhar o conjunto com o topo (título) */
}

.inapem-notif-time {
  font-family: var(--font-primary, "Poppins", Sans-serif);
  font-size: 11px;
  color: var(--color-dark-grey, #798295);
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.inapem-notif-actions {
  display: flex;
  gap: 12px;
  opacity: 1;
  transition: opacity 0.2s;
  margin-top: 4px; /* Ajuste fino superior */
}

.inapem-notif-actions i {
  color: var(--color-dark-grey, #64748b);
  font-size: 14px;
  cursor: pointer;
  transition:
    color 0.2s,
    font-weight 0.2s,
    background-color 0.2s;
  padding: 4px;
  border-radius: 4px;
}

/* Active solid state for the actions */
.inapem-notif-actions i.active {
  font-weight: 900;
  color: var(--color-primary, #25355c);
}

.inapem-notif-actions i:hover {
  color: var(--color-primary, #25355c);
  background-color: transparent !important; /* Remove background on hover */
}

.inapem-notif-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.inapem-empty-icon-wrapper {
  margin-bottom: 16px;
  height: 48px;
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-grey, #f8fafc);
  border-radius: 50%;
}

.inapem-empty-icon-wrapper i {
  font-size: 24px;
  /* Icon native size inside the 48px box */
  color: var(--color-dark-grey, #64748b);
}

.inapem-empty-title {
  color: var(--Navy, #25355C);
  text-align: center;
  font-family: Poppins;
  font-size: var(--Sizes-xl, 20px);
  font-style: normal;
  font-weight: var(--Weights-Semibold, 600);
  line-height: 30px; /* 150% */
  margin-bottom: 8px;
}

.inapem-empty-desc {
  color: var(--Navy, #25355C);
  text-align: center;
  font-family: "Open Sans";
  font-size: var(--Sizes-sm, 14px);
  font-style: normal;
  font-weight: var(--Weights-Regular, 400);
  line-height: 20px; /* 142.857% */
}

a.inapem-dropdown-item,
.inapem-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px !important;
  padding: 8px 16px !important;
  color: var(--color-primary, #25355c) !important;
  text-decoration: none !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: inherit !important;
  transition: background-color 0.2s ease;
}

.inapem-dropdown-item:hover {
  background-color: var(--color-grey, #f8fafc) !important;
}

.inapem-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px !important; /* Slightly larger for better visibility */
  height: 18px !important;
  color: #25355c;
  flex-shrink: 0; /* Prevent squishing */
}

.inapem-dropdown-icon i {
  font-size: 16px !important;
  color: inherit !important;
  display: block;
}

.inapem-dropdown-icon svg {
  width: 100% !important;
  height: 100% !important;
  /* Remove global fill: currentColor to avoid filling line icons */
}

/* Apply color to SVG elements while respecting their nature */
.inapem-dropdown-icon svg path,
.inapem-dropdown-icon svg circle,
.inapem-dropdown-icon svg rect,
.inapem-dropdown-icon svg polygon,
.inapem-dropdown-icon svg ellipse {
  fill: currentColor;
}

/* If the element has a stroke but no fill, it's likely a line icon - don't force fill */
.inapem-dropdown-icon svg [stroke]:not([fill]),
.inapem-dropdown-icon svg [stroke][fill="none"] {
  fill: none !important;
  stroke: currentColor;
}

.inapem-dropdown-divider {
  height: 1px;
  background-color: #25355c !important;
  margin: 4px 16px;
}

.inapem-disabled-item {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background-color: transparent !important;
}

.inapem-disabled-item i {
  color: var(--color-grey-medium, #cbd5e1) !important;
}

/* =====================
   HAMBURGER BUTTON (hidden on desktop)
   ===================== */
.inapem-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background-color: transparent !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  box-shadow: none !important;
}


.inapem-hamburger-btn:hover {
  background-color: var(--color-grey, #f8fafc);
  border: 2px solid var(--color-primary, #25355c);
}

.inapem-hamburger-bar {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background-color: var(--color-primary, #25355C) !important;
  border-radius: 2px !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}


/* =====================
   MOBILE OVERLAY
   ===================== */
.inapem-mobile-overlay {
  display: none;
  position: fixed;
  top: 80px;
  top: max(80px, var(--header-height, 80px));
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.01); /* Subtle overlay starting below header */
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease;
}


.inapem-mobile-overlay.open {
  display: block !important;
  opacity: 1;
  pointer-events: auto !important;
}

/* =====================
   MOBILE DRAWER
   ===================== */
.inapem-mobile-drawer {
  display: none;
  position: fixed;
  top: 80px !important;
  top: max(80px, var(--header-height, 80px)) !important;
  right: -100%;
  width: 100vw;
  height: calc(100dvh - 80px) !important;
  height: calc(100dvh - max(80px, var(--header-height, 80px))) !important;
  background-color: var(--color-white, #ffffff) !important;
  z-index: 999; /* Ensure it stays below the header if the header is at a higher layer */
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-radius: 0 !important;
}






.inapem-mobile-drawer.open {
  display: flex !important;
  right: 0 !important;
  background: var(--color-white, #ffffff) !important;
  margin-top: 40px !important; /* Definitive fix as confirmed by user */
}



.inapem-mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 20px 20px 20px !important;
}




.inapem-mobile-drawer-title {
  font-family: var(--font-primary, "Poppins", Sans-serif);
  font-size: 18px;
  font-weight: 500;
  color: #469BD3;
  line-height: 1;
}

.inapem-mobile-drawer-user {
  display: none;
}

.inapem-mobile-drawer-user .inapem-profile-welcome {
  font-size: 12px;
  color: var(--color-dark-grey, #64748b);
  line-height: 1;
}

.inapem-mobile-drawer-user .inapem-profile-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary, #25355c);
  line-height: 1.3;
}

.inapem-mobile-drawer-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  color: #25355C !important;
  font-size: 18px !important;
  flex-shrink: 0;
  padding: 0 !important;
  box-shadow: none !important;
}


.inapem-mobile-drawer-close:hover {
  background-color: var(--color-light-grey, #e2e8f0);
}

.inapem-mobile-drawer-divider {
  height: 1px;
  background-color: var(--color-grey, #f8fafc);
  margin: 0 0 8px 0;
}

.inapem-mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 4px 0 24px 0;
}

.inapem-mobile-nav-item {
  padding: 16px 20px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #25355C !important;
  gap: 12px !important;
}

.inapem-mobile-nav-item .inapem-dropdown-icon {
  width: 20px !important;
  height: 20px !important;
  color: #25355C !important;
}

.inapem-mobile-nav-item.active {
  color: #469BD3 !important;
  font-weight: 600 !important;
}

/* Secondary items style if needed */
.inapem-mobile-nav-item:nth-child(n+3):not(.logout) {
  color: #798295 !important;
}

.inapem-mobile-portal-action {
  margin-top: 32px;
  padding: 0 20px;
}

.inapem-portal-btn {
  display: flex !important;
  width: 100% !important;
  max-width: 400px !important;
  height: 48px !important;
  padding: 16px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  
  color: #25355C !important;
  border: 1px solid #25355C !important;
  background-color: transparent !important;
  text-align: center !important;
  font-family: 'Poppins', Sans-serif !important;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 600 !important;
  line-height: 20px !important; /* 125% */
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin: 0 auto; /* Center within its container if it's narrower than container */
}


.inapem-portal-btn:hover {
  background-color: #25355C !important;
  color: #ffffff !important;
}

/* =====================
   MOBILE NOTIFICATIONS HEADER (hidden on desktop)
   ===================== */
.inapem-notif-header-mobile {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px 16px;
  border-bottom: 1px solid var(--color-grey, #F8FAFC);
}

.inapem-notif-back {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #25355C !important;
  font-size: 18px !important;
  padding: 0 !important;
  flex-shrink: 0;
}



.inapem-notif-title-mobile {
  flex: 1;
  font-family: var(--font-primary, 'Poppins', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary, #25355C);
  line-height: 1;
}

.inapem-notif-filter-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.inapem-notif-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff !important;
  border: 1px solid #E6E6E9 !important;
  border-radius: 6px !important;
  padding: 8px 32px 8px 12px !important;
  font-family: var(--font-primary, 'Poppins', sans-serif);
  font-size: 14px !important;
  font-weight: 500;
  color: #25355C !important;
  cursor: pointer;
  outline: none;
  min-width: unset !important;
  max-width: 120px !important;
}



.inapem-notif-filter-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px !important;
  height: 10px !important;
  pointer-events: none;
  display: block !important;
}

/* =====================
   MOBILE RESPONSIVE
   ===================== */
@media (max-width: 480px) {
  /* Stack the bar */
  .inapem-user-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: unset !important;
    flex-shrink: 0 !important;
    height: 48px !important;
    position: relative !important;
    z-index: 999 !important;
    overflow: visible !important;
  }


  /* Hide desktop profile button and its dropdown */
  .inapem-profile-btn,
  .inapem-profile-dropdown {
    display: none !important;
  }

  /* Show icons */
  .inapem-notification-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Show hamburger */
  .inapem-hamburger-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Show overlay and drawer only when .open */
  .inapem-mobile-overlay {
    display: block;
    pointer-events: none;
  }
  .inapem-mobile-overlay.open {
    pointer-events: auto;
  }

  .inapem-mobile-drawer {
    display: flex;
  }

  /* Notifications dropdown: full width, aligned with header */
  .inapem-notifications-dropdown {
    position: fixed !important;
    top: 80px !important;
    top: max(80px, var(--header-height, 80px)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 80px) !important;
    height: calc(100dvh - max(80px, var(--header-height, 80px))) !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    transform: none !important; /* Avoid any inherited active transforms skewing width */
    border-radius: 0 !important;
    border: none !important;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    margin-top: 40px !important; /* Matches main drawer fix */
  }


  /* Make the body fill all available height on mobile */
  .inapem-dropdown-body {
    flex: 1;
    height: auto !important;
    max-height: unset !important;
    overflow-y: auto;
  }

  /* Desktop notif header: hidden on mobile */
  .inapem-notif-header-desktop {
    display: none !important;
  }

  /* Show mobile notif header: high-fidelity polish */
  .inapem-notif-header-mobile {
    display: flex !important;
    justify-content: space-between !important;
    border-bottom: none !important;
    padding: 16px !important;
    gap: 12px !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }



  .inapem-notif-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important; /* Distance between back arrow and title securely fit */
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  
  .inapem-notif-title-mobile {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #25355C !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }





  /* Hide desktop tab row on mobile */
  .inapem-notif-tabs {
    display: none !important;
  }

  /* Notification items: high-fidelity mobile adjustment */
  .inapem-notif-item {
    padding: 20px 16px 20px 48px !important;
    margin: 0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    border-radius: 0 !important;
    gap: 8px !important;
  }

  /* Clear the absolute dot from the text */
  .inapem-notif-dot {
    top: 26px !important; /* Move it down to align with title text */
    left: 20px !important;
  }

  .inapem-notif-item::after {
    display: none !important;
  }

  .inapem-notif-meta {
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 4px !important;
    min-width: 70px !important;
    flex-shrink: 0 !important;
  }


  .inapem-notif-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .inapem-notif-actions i {
    display: flex !important;
    font-size: 18px !important;
    color: #798295 !important;
    cursor: pointer !important;
  }


  .inapem-notif-time {
    text-align: right !important;
    font-size: 11px !important;
    color: var(--Dark-Grey, #798295) !important;
  }

  /* Notification title: Navy, bold, consistent */
  .inapem-notif-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
    color: #25355C !important;
    font-weight: 700 !important;
  }

  .inapem-notif-desc {
    font-size: 13px !important;
    color: #798295 !important;
    font-weight: 500 !important;
  }

  /* Header title smaller on mobile */
  .inapem-dropdown-header {
    font-size: 18px;
  }
}

