.notifications-bell-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 20rem;
    max-height: 22rem;
    background-color: var(--system-color-white);
    border: var(--system-border-width) solid var(--system-border-color-weak);
    border-radius: var(--system-border-radius-large);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.notifications-bell-dropdown.is-active {
    display: flex;
}

.notifications-bell-dropdown__content {
    flex: 1;
    overflow-y: auto;
}

.notifications-bell-dropdown__item {
    display: flex;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    border-bottom: var(--system-border-width) solid var(--system-border-color-weak);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notifications-bell-dropdown__item:last-child {
    border-bottom: none;
}

.notifications-bell-dropdown__item:hover {
    background-color: var(--system-color-gray-50);
}

.notifications-bell-dropdown__item-content {
    flex: 1;
    min-width: 0;
}

.notifications-bell-dropdown__item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.notifications-bell-dropdown__item-title {
    font-size: var(--system-font-size-small);
    font-weight: var(--system-font-weight-semibold);
    color: var(--system-color-gray-900);
    line-height: 1.3;
    flex: 1;
}

.notifications-bell-dropdown__item-close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.notifications-bell-dropdown__item-close:hover {
    background-color: var(--system-color-gray-200);
}

.notifications-bell-dropdown__item-close .icon {
    --system-icon-dimensions: 0.875rem;
}

.notifications-bell-dropdown__item-close .icon i {
    color: var(--system-color-gray-500);
    font-size: 0.875rem;
}

.notifications-bell-dropdown__item-close:hover .icon i {
    color: var(--system-color-gray-700);
}

.notifications-bell-dropdown__item-text {
    font-size: var(--system-font-size-least);
    color: var(--system-color-gray-600);
    line-height: 1.4;
}

.notifications-bell-dropdown__item-time {
    font-size: var(--system-font-size-least);
    color: var(--system-color-gray-400);
    margin-top: 0.25rem;
}

.notifications-bell-dropdown__footer {
    padding: 0.75rem 1rem;
    border-top: var(--system-border-width) solid var(--system-border-color-weak);
    text-align: center;
}

.notifications-bell-dropdown a {
    font-size: var(--system-font-size-small);
    font-weight: var(--system-font-weight-semibold);
    color: var(--system-color-primary);
    text-decoration: none;
}

.notifications-bell-dropdown a:hover {
    text-decoration: underline;
}

.header__user__actions {
    position: relative;
}
