/* Lot4B Global Slot B — extracted from customer-interests.css (Patch 115/116). */
/* === LOTNEX Patch 115: Bell Dropdown Fix, Borderless Globe Icon for OTHER & Hide Category Column in Buying Needs Table === */

/* 1. Header Notification Bell Dropdown (#notification-bell .bell-menu) — Single Scrollbar & Full Text Wrapping (image_1586e6.png) */
#notification-bell .bell-menu,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-menu {
  white-space: normal !important;
  overflow: hidden !important;
  max-height: none !important;
  width: min(390px, 92vw) !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14) !important;
  text-align: start !important;
  box-sizing: border-box !important;
}

#notification-bell .bell-list,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  max-height: 310px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-inline-end: 4px !important;
  margin: 0 !important;
  white-space: normal !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 transparent !important;
}

#notification-bell .bell-item,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-inline-start: 3.5px solid #1d4ed8 !important;
  border-radius: 11px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  text-align: start !important;
  text-decoration: none !important;
}

#notification-bell .bell-item strong,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item strong {
  display: block !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  font-size: 0.81rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

#notification-bell .bell-item small,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item small {
  display: block !important;
  white-space: normal !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

/* 2. Borderless Globe Icon for OTHER in Registration & Interests (image_15879c.png) */
.lot4b-flag-circle:has(.lot4b-borderless-globe),
label:has(input[value="OTHER"]) .lot4b-flag-circle,
.lot4b-mini-flag:has(.lot4b-borderless-globe) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.lot4b-flag-circle svg.lot4b-borderless-globe,
.lot4b-mini-flag svg.lot4b-borderless-globe {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* 3. Remove Category (الصنف) Column from Customer Buying Needs Table (image_158b01.png) */
.customer-console .buying-needs-list table :is(thead th, tbody tr > td):nth-child(3),
.buying-needs-page .buying-needs-list table :is(thead th, tbody tr > td):nth-child(3) {
  display: none !important;
}


/* === LOTNEX Patch 116: Fix Header Bell Dropdown Item Squishing & Show Full Text + Timestamp (image_16198a.png) === */
#notification-bell .bell-list,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-list {
  display: block !important;
  max-height: 340px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-inline-end: 4px !important;
  margin: 0 !important;
}

#notification-bell .bell-item,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item {
  display: block !important;
  flex: none !important;
  flex-shrink: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-inline-start: 3.5px solid #1d4ed8 !important;
  border-radius: 12px !important;
  padding: 11px 14px !important;
  margin: 0 0 8px 0 !important;
  text-align: start !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

#notification-bell .bell-item:last-child,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item:last-child {
  margin-bottom: 0 !important;
}

#notification-bell .bell-item strong,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item strong {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
  height: auto !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.55 !important;
  margin: 0 0 5px 0 !important;
}

#notification-bell .bell-item small,
#header.lot4b-header .lot4b-header-actions #notification-bell .bell-item small {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  height: auto !important;
  font-size: 0.73rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}
