.ianot-top-nav-li {
    height: 43px;
}

.ianot-top-nav-a {
    text-decoration: none;
}

.ianot-dropdown-menu {
    padding: 0px !important;
    max-width: 800px;
}

.ianot-dropdown-item {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom-style: solid;
    border-bottom-color: #f4f4f4;
    border-bottom-width: 1px;
}

.ianot-dropdown-header-div {
    background-color: #f4f4f4;
}

.ianot-dropdown-header-text {
    font-weight: bold;
    text-transform: uppercase;
}

.ianot-notification-unread-marker {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 20px;
    background-color: var(--dark-red);
}

.ianot-notification-read-marker {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 20px;
    background-color: #fff;
    border: 1px solid grey;
}

.ianot-dropdown-notification-header {
    font-weight: bold;
}

.ianot-notification-header {
    font-weight: bold;
}

.ianot-notification-message {
    padding-bottom: 15px;
}

.ianot-dropdown-footer-div {
    background-color: #f4f4f4;
    text-align: center;
}

.ianot-dropdown-footer-text {
    font-weight: bold;
}

.ianot-notification-div {
    border-bottom-style: solid;
    border-bottom-color: #f4f4f4;
    border-bottom-width: 1px;
    /* inter-row breathing room: 10px vertical, 5px horizontal */
    padding: 10px 5px;
}

/* The notifications container-card already has 10px top padding; don't double it on
   the first row, so the edge→first-row distance is unchanged and only the spacing
   *between* rows increases. */
.container-card > .ianot-notification-div:first-child {
    padding-top: 0;
}

/* Search bar: keep the magnifier icon + textbox on one horizontal row at all widths */
.ianot-searchbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.ianot-searchbar-image {
    flex: 0 0 auto;
}

.ianot-searchbar-textbox {
    flex: 1 1 auto;
    min-width: 0;
}

.ianot-notification-actions-li {
    list-style-type: none;
}

.ianot-dropdown-notification-ago {
    padding-left: 30px;
    color: grey;
}

/* /notifications page (NotificationComponent.razor) */

/* Read/unread dot column: shrink to its content + a little breathing room */
.ianot-read-marker-col {
    padding-right: 10px;
}

/* Timestamp text — same on all viewports */
.ianot-ago-span {
    color: grey;
    white-space: nowrap;
}

/* The "..." menu is three middots (text), not images — can't wrap/scatter like the
   old per-dot <img> elements did. */
.ianot-menu-dots {
    color: gray;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    letter-spacing: 2px;
}

/* The message body sits directly under the header now (the old <br/> was removed);
   5px gap replaces it. */
.ianot-notification-message {
    padding-top: 5px;
}

/* Mobile only (Bootstrap < sm): timestamp moves to the bottom of the card,
   smaller + italic, indented to align with the message text, with breathing room
   below. Also tighten the message body's vertical spacing on mobile. */
@media (max-width: 575.98px) {
    /* roughly halve the vertical space around the notification body text */
    .ianot-notification-message {
        padding-bottom: 7px;
    }

    .ianot-ago-mobile {
        margin-top: 4px;
        margin-bottom: 12px;
    }

    .ianot-ago-mobile .ianot-ago-span {
        font-size: 0.8rem;
        font-style: italic;
        white-space: normal;
    }
}
