.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.notification-bell i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.notification-bell:hover {
    transform: scale(1.1);
}

.notification-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    display: none;
}

.notification-display {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slide-in 0.5s ease forwards;
    pointer-events: auto;
    max-width: 350px;
}

.notification-item.fade-out {
    animation: slide-out 0.5s ease forwards;
}

.notification-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.notifications-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    animation: fade-in 0.3s ease;
}

.notifications-content {
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.notifications-content h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notifications-list .notification-item {
    animation: none;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.notifications-list small {
    margin-left: auto;
    color: var(--light-text);
    font-size: 0.8rem;
}

.close-notifications {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.close-notifications:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}