
.hr-notifications {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.hr-notifications .hrn-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    transition: background 0.2s ease;
}

.hr-notifications .hrn-icon:hover,
.hr-notifications .hrn-icon:focus-visible,
.hr-notifications.show .hrn-icon {
    background: var(--background-color-2, rgba(255, 255, 255, 0.06));
}

.hr-notifications .number {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    line-height: 16px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    color: var(--header-accent-text, #111);
    background: var(--accent-color, #ffbade);
    border-radius: 8px;
}

.dropdown-menu-noti {
    width: 360px;
    max-width: 90vw;
    padding: 0;
    overflow: hidden;
    background: var(--background-color-2, #1a1a1f);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu-noti .nnl-head {
    padding: 12px 16px 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu-noti .nnl-head .nav-link {
    position: relative;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.dropdown-menu-noti .nnl-head .nav-link.active {
    color: var(--accent-color, #ffbade);
    border-bottom: 2px solid var(--accent-color, #ffbade);
    background: transparent;
}

.noti-tab-badge {
    display: inline-block;
    margin-left: 6px;
    min-width: 15px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    color: var(--header-accent-text, #111);
    background: var(--accent-color, #ffbade);
    border-radius: 8px;
}

.new-noti-list {
    max-height: 380px;
    overflow-y: auto;
    width: 100%;
}

.dropdown-menu-noti .nnl-heading,
.noti-page .noti-page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
}

.dropdown-menu-noti .nnl-mark-read {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--accent-color);
    font-size: 12px;
    cursor: pointer;
}

.dropdown-menu-noti .nnl-mark-read:hover,
.dropdown-menu-noti .nnl-mark-read:focus-visible {
    text-decoration: underline;
}

.dropdown-menu-noti .nnl-tabs {
    display: flex;
    flex-wrap: wrap;
    float: none;
    margin: 8px 0 0;
}

.dropdown-menu-noti .nnl-item.text-center {
    color: rgba(255, 255, 255, 0.7);
}

.nnl-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nnl-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
}

.nnl-item.new {
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
}

.nnl-item.text-center {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 20px 16px;
}

.nnl-item strong {
    display: block;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}

.nnl-item p {
    margin: 2px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.nnl-item .time {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.nnl-item.with-poster .film-poster {
    flex: 0 0 40px;
    width: 40px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
}

.nnl-item.with-poster .film-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nnl-item.with-avatar .user-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.nnl-item.with-avatar .user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .dropdown-menu-noti {
        position: fixed !important;
        top: 60px !important;
        right: 8px !important;
        left: 8px !important;
        width: auto;
        transform: none !important;
    }
}

.noti-page .new-noti-list {
    max-height: none;
    overflow-y: visible;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
}

.noti-page .nnl-item {
    padding: 14px 20px;
}

.noti-page .nnl-item.text-center {
    padding: 40px 20px;
}

.noti-page .noti-page-mark-read {
    color: var(--accent-color);
    border: 1px solid currentColor;
    background: transparent;
}

.noti-page .noti-page-mark-read:hover,
.noti-page .noti-page-mark-read:focus-visible {
    color: var(--accent-color);
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.noti-page .nnl-item.text-center {
    color: rgba(255, 255, 255, 0.72);
}
