.notification-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.notification-bell {
    position: relative;
    width: 75px;
    height: 75px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Использование псевдоэлемента */
.notification-bell::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: url('/storage/images/notify.png') center/contain no-repeat;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.notification-bell.warning {
    background: #f39c12;
    animation: pulse 2s infinite;
}

.notification-bell.critical {
    background: #e74c3c;
    animation: shake 0.5s infinite;
}

/* Остальные стили без изменений */
.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #3c4de7;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 2; /* Важно: выше псевдоэлемента */
}

.notification-popup {
    position: absolute;
    bottom: 90px;
    right: 50px;
    width: 350px;
    max-height: 600px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f9f9f9;
}

.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.notification-message {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.notification-time {
    font-size: 12px;
    color: #95a5a6;
    text-align: right;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    font-weight: bold;
}

.notification-header button {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
}

.notification-header button:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 500px;
    overflow-y: auto;
}

.display_none {
    display: none;
}