/* 🔔 Bell */
.notif-bell {
    position: relative;
    display: flex;
    align-items: center;
}

.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.notif-icon svg {
    color: rgba(255,255,255,0.85);
    transition: 0.2s;
}

.notif-bell:hover .notif-icon {
    background: rgba(255,255,255,0.15);
}

.notif-bell:hover svg {
    color: #fff;
}

/* 🔔 dropdown контейнер */
.notif-dropdown {
    width: 360px;
    max-height: 420px;
    overflow-y: auto;
    border-radius: 14px;
    padding: 0;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #fff;
}

/* 🧠 header */
.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* кнопки */
.notif-header button {
    border: none;
    background: none;
    font-size: 13px;
    color: #7c3aed;
    cursor: pointer;
    margin-left: 10px;
}

/* 🔘 tabs */
.notif-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.notif-tabs div {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.notif-tabs .active {
    color: #7c3aed;
    font-weight: 600;
    border-bottom: 2px solid #7c3aed;
}

/* 📅 group */
.notif-group {
    font-size: 12px;
    color: #999;
    padding: 8px 14px 4px;
}

/* 📩 item */
.notif-item {
    padding: 12px 14px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

/* hover */
.notif-item:hover {
    background: #f8f7ff;
}

/* unread */
.notif-item.unread {
    background: #f3f0ff;
    font-weight: 500;
}

/* кнопка ✓ */
.notif-item span:last-child {
    opacity: 0;
    transition: 0.2s;
}

.notif-item:hover span:last-child {
    opacity: 1;
}

/*  badge */
.notif-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #7c3aed;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

/*  icon */
.notif-icon {
    color: #444;
    transition: 0.2s;
}

.notif-bell:hover .notif-icon {
    color: #7c3aed;
}

/* header */
.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.notif-header button {
    background: none;
    border: none;
    font-size: 12px;
    color: #6c757d;
    cursor: pointer;
}

/* items */
.notif-item {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: 0.2s;
}

.notif-item:hover {
    background: #f1f3f5;
}

.notif-item.unread {
    background: #eef2ff;
    font-weight: 600;
}

/* tabs */
.notif-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.notif-tabs button {
    border: none;
    background: none;
    font-size: 13px;
    color: #6c757d;
    cursor: pointer;
}

.notif-tabs button.active {
    color: #37155c;
    font-weight: 600;
}

/* group */
.notif-group {
    font-size: 12px;
    color: #999;
    margin: 10px 0 4px;
}

/* clickable */
.notif-item {
    cursor: pointer;
}

/*  badge pulse */
@keyframes notif-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.notif-badge.pulse {
    animation: notif-pulse 0.6s ease;
}

/* 🔔 bell shake */
@keyframes notif-shake {
    0% { transform: rotate(0); }
    25% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
    75% { transform: rotate(-8deg); }
    100% { transform: rotate(0); }
}

.notif-icon.shake {
    animation: notif-shake 0.5s ease;
}

/* mute button */
.notif-mute {
    font-size: 14px;
    cursor: pointer;
    opacity: 0.7;
}

.notif-mute.active {
    opacity: 1;
}