

#notifMenu .menu {
    right: clamp(8px, 6.9em, calc(100vw - 408px)) !important;
}

#notifMenu .yujaMenu {
    width: min(400px, calc(100vw - 16px));
    height: auto;
    max-height: min(680px, calc(100vh - 3.5em - 8px));
    border-width: 1px;
    opacity: 1;
    border-radius: 10px !important;
    border: 1px solid var(--Border-muted, rgba(229, 229, 229, 1));
	padding: 0px;
    scrollbar-gutter: stable;
}

/* Sticky header row (first child of yujaMenu) */
#notifMenu .yujaMenu > div:first-child {
	border-bottom: none !important;
	padding: 0 !important;
	height: auto !important;
	position: sticky;
    top: 0;
    z-index: 10;
    background-color: #fff;
}

/* ── Header bar ──────────────────────────────────────────── */

#notificationsID {
    width: 100%;
    height: 40px;
    justify-content: space-between;
    opacity: 1;
    border-bottom-width: 1px;
    padding-top: 0px;
    padding-right: 12px;
    padding-bottom: 0px;
    padding-left: 12px;
    border-bottom: 1px solid var(--Border-muted, rgba(229, 229, 229, 1));
}

#notificationsID i {
    width: 20px;
    height: 20px;
    opacity: 1;
    content: url('/Dashboard/GeneralMeetings/images/notification_bell.svg');
}

#notificationsID .react-tooltip-container.grey-tooltip + .tooltip > .tooltip-inner,
.notificationEntry .react-tooltip-container.grey-tooltip + .tooltip > .tooltip-inner{
    white-space: nowrap;
    max-width: none;
}

#notificationsID .react-tooltip-container.grey-tooltip + .tooltip {
    transform: translateX(-32px);
    left:260px !important;
}

#notificationsID .tooltip-arrow{
    left:110px !important;
}

#notificationsID .react-tooltip-container.grey-tooltip:has(#markAllReadBtn) + .tooltip .tooltip-arrow{
    left:83px !important;
}

#notifMenuCloseBtn {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#notifMenuCloseBtn svg path {
    stroke: #666;
}

#notifMenuCloseBtn:hover svg path {
    stroke: #000;
}

#NotificationMenulabel {
	font-family: Inter, sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0px;
	vertical-align: middle;
	color: var(--Color-dark, rgba(38, 38, 38, 1));
}

/* ── Mark All Read button ────────────────────────────────── */

#markAllReadBtn {
    width: 24px;
    height: 24px;
    opacity: 1;
    padding: 0px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#markAllReadBtn:hover {
    background-color: var(--Bg-System-default, rgba(235, 235, 235, 1));
    border-radius: 4px !important;
}

/* ── Empty state ─────────────────────────────────────────── */

#notifEmptyContainer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    padding: 20px 16px !important;
    box-sizing: border-box !important;
}

#notifEmptyContainer img {
    width: 154px !important;
    height: 110px !important;
    opacity: 1 !important;
    padding-top: 20px !important;
    margin-bottom: 20px !important;
}

#notifEmptyContainer .notif-empty-title {
    font-family: Inter, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: 18px !important;
    line-height: 150% !important;
    letter-spacing: 0px !important;
    color: rgba(0, 0, 0, 1) !important;
    margin-bottom: 12px !important;
    text-align: center !important;
}

#notifEmptyContainer .notif-empty-description {
    font-family: Font-family/Primary !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0px !important;
    text-align: center !important;
    color: var(--Color-smoke, rgba(82, 82, 82, 1)) !important;
    max-width: 360px !important;
}

#notifEmptyContainer > div:first-child {
    max-width: 204px !important;
    width: auto !important;
    line-height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: none !important;
    padding: 0 !important;
    font-size: 14px !important;
	font-weight: 500 !important;
	font-family: Inter, sans-serif !important;
	color: var(--Color-dark, rgba(38, 38, 38, 1)) !important;
	font-style: normal;
	gap: 8px;
}

/* ── Footer button container ─────────────────────────────── */

#notifBtnContainer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background-color: #fff;
    width: 100%;
    display: none;
    justify-content: center;
    padding: 12px 0;
    box-sizing: border-box;
    border-top: 1px solid var(--Border-muted, rgba(229, 229, 229, 1));
}

#dropDownMenuBtn2 {
    min-width: 178px !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    min-height: 36px !important;
    height: auto !important;
    border: 0.5px solid var(--Border-strong, rgba(148, 148, 148, 1)) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent;
    font-family: Inter, sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0px !important;
    text-align: center !important;
    white-space: nowrap !important;
	color: var(--Color-smoke, rgba(82, 82, 82, 1)) !important;
}

/* ── Notification entry row ──────────────────────────────── */

#notifMenu .notificationEntry {
    width: 100%;
    min-height: 90px;
    gap: 12px;
    opacity: 1;
    border-bottom-width: 1px;
    padding-top: 10px;
    padding-right: 8px;
    padding-bottom: 10px;
    padding-left: 12px;
    border-bottom: 1px solid var(--Border-muted, rgba(229, 229, 229, 1));
    box-sizing: border-box;
	background: rgba(255, 255, 255, 1);
	display: flex;
	align-items: center;
}

#notifMenu .notificationEntry > div {
    flex: 1;
    min-width: 0;
}

#notifMenu .notificationEntry:focus,
#notifMenu .notificationEntry:focus-visible {
    outline: 2px solid #0B6F85 !important;
	outline-offset: -2px !important;
	border-radius: 6px !important;
}

#notifMenu .notificationEntry:hover {
    background: var(--Bg-System-subtle, rgba(250, 250, 250, 1));
	cursor: pointer;
}

.notificationEntry .content {
    flex: 1;
    min-width: 0;
    min-height: 70px;
    gap: 2px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* ── Date group header ───────────────────────────────────── */

.notifDate {
    width: 100%;
    height: 28px;
    gap: 8px;
    opacity: 1;
    border-bottom: 1px solid var(--Border-muted, rgba(229, 229, 229, 1));
    padding-right: 12px;
    padding-left: 12px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
    color: var(--Color-dark, rgba(38, 38, 38, 1));
	background: var(--Bg-System-subtle, rgba(250, 250, 250, 1));
}

/* ── Notification card content ───────────────────────────── */

.notifTopContainer {
    width: 100%;
    height: 24px;
    justify-content: space-between;
    opacity: 1;
    display: flex;
    align-items: center;
}

.notifTitle {
    flex: 1;
    min-width: 0;
    gap: 4px;
    opacity: 1;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0px;
    color: var(--Color-dark, rgba(38, 38, 38, 1));
    display: flex;
    align-items: center;
}

.notifTime {
    height: 18px;
    gap: 8px;
    opacity: 1;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
    color: var(--Color-light, rgba(115, 115, 115, 1));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.notifReadToggle {
    margin-left: 4px;
    flex-shrink: 0;
    display: none;
}

#notifMenu .notificationEntry:hover .notifReadToggle,
#notifMenu .notificationEntry:focus-within .notifReadToggle {
    display: inline-flex;
    align-items: center;
}

.notifCourseName {
    width: 100%;
    opacity: 1;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
    text-transform: capitalize;
    color: var(--Color-smoke, rgba(82, 82, 82, 1));
    display: -webkit-box;
    -webkit-line-clamp: 2;
	line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notifBottom {
    width: 100%;
    height: 24px;
    justify-content: space-between;
    opacity: 1;
    padding-top: 2px;
    padding-bottom: 2px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
	color: var(--Color-dark, rgba(38, 38, 38, 1));
}

/* Course code badge — overrides react-common-badge base */
.notifCourseCode {
    height: 20px;
    opacity: 1;
    border-radius: 6px !important;
    padding-right: 6px;
    padding-left: 6px;
    background: var(--Bg-System-muted, rgba(245, 245, 245, 1));
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#notifMenu .notificationEntry.isRead:hover .notifCourseCode {
    background: var(--Bg-System-default, rgba(235, 235, 235, 1));
}

#notifMenu .notificationEntry.isUnread .notifCourseCode {
    background: var(--Bg-Secondary-subtle-hover, rgba(216, 232, 235, 1));
}

#notifMenu .notificationEntry.isUnread:hover .notifCourseCode {
    background: var(--Bg-Secondary-strong, rgba(167, 203, 211, 1));
}

.notifNavigate {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: center;
    color: rgba(11, 111, 133, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.notifNavigate:hover {
    text-decoration: underline;
}

/* ── Notification audio toggle button ──────────────────────── */

#notifMenuButton {
    width: 24px;
    height: 24px;
    opacity: 1;
    padding: 0px;
    gap: 5.33px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#notifMenuButton:hover {
    background-color: var(--Bg-System-default, rgba(235, 235, 235, 1));
    border-radius: 4px !important;
}

#notifMenuButton img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}