.header-icon { position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;font-size: 19px; cursor: pointer; }
.header-icon:hover { opacity: 0.5;}
.header-icon__badge {
    position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-red, #ff5c57); color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 9px; line-height: 1; }
.header-notif { position: relative; }

.notif-pop {
    position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: 380px; max-width: 92vw;
    background: var(--card-bg, #242525); border: 1px solid var(--border-color, #3a3b3c);
    border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.5); overflow: hidden; }
.notif-pop[hidden] { display: none; }
.notif-pop__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.notif-pop__title { font-size: 22px; font-weight: 800; }
.notif-pop__menu { position: relative; }
.notif-pop__menu-btn { color: var(--color-muted, #8b90a0); font-size: 18px; cursor: pointer; padding: 4px 8px; }
.notif-pop__menu-btn:hover { color: var(--color-text, #dee2e6); }
.notif-pop__menu-drop {
    position: absolute; right: 0; top: calc(100% + 6px); width: 260px; z-index: 5;
    background: var(--card-bg, #242525); border: 1px solid var(--border-color, #3a3b3c);
    border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.45); padding: 6px; }
.notif-pop__menu-drop[hidden] { display: none; }
.notif-pop__menu-drop button {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    padding: 9px 12px; border-radius: 8px; color: var(--color-text, #dee2e6); font-size: 14px; cursor: pointer; }
.notif-pop__menu-drop button:hover { background: rgba(255,255,255,.06); }
.notif-pop__tabs { display: flex; gap: 8px; padding: 0 16px 10px; }
.notif-pop__tab {
    padding: 6px 12px; border-radius: 8px; background: none; border: 0;
    color: var(--color-muted, #8b90a0); font-size: 14px; cursor: pointer; }
.notif-pop__tab.is-active { background: var(--color-red, #ff5c57); color: #fff; }
.notif-pop__list { max-height: 360px; overflow-y: auto; }
.notif-pop__empty { padding: 26px 16px; text-align: center; color: var(--color-muted, #8b90a0); font-size: 14px; }
.notif-pop__all {
    display: block; text-align: center; padding: 14px; border-top: 1px solid var(--border-color, #3a3b3c);
    color: var(--color-text, #dee2e6); font-size: 15px; text-decoration: none; }
.notif-pop__all:hover { color: var(--color-red, #ff5c57); }

.notif-pop--page {
    position: static;
    width: auto;
    max-width: none;
    box-shadow: none;
}
.notif-pop--page .notif-pop__title { font-size: 28px; }
.notif-pop--page .notif-pop__list { max-height: none; }

.notif-item { display: flex; gap: 12px; padding: 12px 16px; position: relative; }
.notif-item.is-unread { background: rgba(255,92,87,.06); }
.notif-item__foto { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.notif-item__text { font-size: 14px; line-height: 1.35; }
.notif-item__ago { color: var(--color-muted, #8b90a0); font-size: 12px; margin-top: 3px; }
.notif-item__actions { display: flex; gap: 8px; margin-top: 10px; }
.notif-item__accept, .notif-item__decline {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
    border: 0; border-radius: 7px; font-size: 13px; cursor: pointer; }
.notif-item__accept { background: var(--color-red, #ff5c57); color: #fff; }
.notif-item__decline { color: var(--color-text, #dee2e6); }
.notif-item__del { position: absolute; right: 12px; top: 14px; color: var(--color-muted, #8b90a0); font-size: 13px; opacity: 0; cursor: pointer; }
.notif-item:hover .notif-item__del { opacity: 1; }
.notif-item__del:hover { color: var(--color-red, #ff5c57); }

.notif-item--ep .notif-item__foto { width: 48px; height: 68px; border-radius: 6px; }
.notif-item__title {
    display: block; font-weight: 600; font-size: 15px; line-height: 1.25;
    color: var(--color-text, #fff); margin-bottom: 3px; text-decoration: none;
}
.notif-item__title:hover { color: var(--color-red); }

.push-container {
    position: fixed; right: 20px; bottom: 20px; z-index: 3000;
    display: flex; flex-direction: column; gap: 10px;
    width: 340px; max-width: calc(100vw - 40px); pointer-events: none;
}
.push {
    pointer-events: auto; border-radius: var(--radius-md, 8px);
    background: var(--card-bg, #fff); color: var(--color-text, #212529);
    border: 1px solid var(--card-border, rgb(0 0 0 / 13%));
    border-left: 3px solid var(--color-red, #ff5c57);
    box-shadow: 0 12px 34px rgb(0 0 0 / 22%);
    opacity: 0; transform: translateY(12px);
    transition: opacity var(--transition-base, 160ms), transform var(--transition-base, 160ms);
}
.push.is-visible { opacity: 1; transform: translateY(0); }
.push__body { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; }
.push__icon { flex-shrink: 0; line-height: 0; color: var(--color-red, #ff5c57); }
.push__content { flex: 1; min-width: 0; }
.push__title { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.push__text { font-size: 13px; line-height: 1.4; color: var(--color-muted, #868e96); }
.push__text a { color: var(--color-red, #ff5c57); }
.push__close {
    flex-shrink: 0; font-size: 20px; line-height: 1; cursor: pointer;
    color: var(--color-muted, #868e96); background: none; border: 0; padding: 0 2px;
}
.push__close:hover { color: var(--color-text, #212529); }
.push--success { border-left-color: var(--color-green, #21c43b); }
.push--success .push__icon { color: var(--color-green, #21c43b); }
.push--warning { border-left-color: var(--color-yellow, #ffd400); }
.push--warning .push__icon { color: var(--color-yellow, #ffd400); }
