.notification-wrapper .fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.notification-wrapper .slide-in-stagger {
    animation: slideInStagger 0.4s ease-out both;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInStagger {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
}

.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
}

.notification-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 10;
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #30363d;
    padding-bottom: 15px;
}

.title-glow {
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
    letter-spacing: 3px;
    font-size: 1.5rem;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.clear-btn {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid #58a6ff;
    color: #58a6ff;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

    .clear-btn:hover {
        background: #58a6ff;
        color: white;
        box-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
    }

.delete-all-btn {
    background: rgba(218, 54, 51, 0.12);
    border-color: #f85149;
    color: #f85149;
}

    .delete-all-btn:hover {
        background: #da3633;
        color: white;
        box-shadow: 0 0 15px rgba(218, 54, 51, 0.5);
    }

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notif-item {
    background: #161b22;
    border: 1px solid #30363d;
    border-left: 4px solid #30363d;
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

    .notif-item:hover {
        transform: translateX(5px);
        background: #1f242c;
        border-color: #58a6ff;
        box-shadow: 0 0 20px rgba(0, 88, 255, 0.1);
    }

    .notif-item.unread {
        border-left-color: #58a6ff;
        background: linear-gradient(90deg, rgba(88, 166, 255, 0.1), transparent);
    }

    .notif-item.warning-item {
        border-left-color: #ff4444;
        background: linear-gradient(90deg, rgba(255, 68, 68, 0.1), transparent);
    }

.icon-area {
    font-size: 1.4rem;
    color: #8b949e;
}

.text-info {
    color: #58a6ff;
}

.text-warning {
    color: #ff4444;
}

.notif-content {
    flex-grow: 1;
    overflow: hidden;
}

.notif-message {
    color: #e6edf3;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 1rem;
}

.notif-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #8b949e;
    font-family: 'Consolas', monospace;
}

.hover-arrow {
    opacity: 0;
    color: #58a6ff;
    transition: opacity 0.2s;
    font-weight: bold;
}

.notif-item:hover .hover-arrow {
    opacity: 1;
}

.new-badge {
    background: linear-gradient(135deg, #ff4b4b, #da3633);
    color: white;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    box-shadow: 0 0 12px rgba(218, 54, 51, 0.6);
    letter-spacing: 1px;
}

.action-area {
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn {
    background: #da3633;
    border: 1px solid #f85149;
    cursor: pointer;
    transition: all 0.2s;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .delete-btn:hover {
        transform: scale(1.05);
        background: #b62324;
    }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 2px dashed #30363d;
    border-radius: 8px;
    color: #8b949e;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.empty-text {
    font-family: 'Consolas', monospace;
    letter-spacing: 2px;
}

[data-theme="light"] .notification-wrapper {
    background: transparent;
}

[data-theme="light"] .bg-decoration {
    background-image: radial-gradient(circle at 10% 10%, rgba(255, 100, 150, 0.1), transparent 40%), radial-gradient(circle at 90% 90%, rgba(0, 200, 255, 0.1), transparent 40%);
    background-size: 100% 100%;
}

[data-theme="light"] .notification-container {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 2px solid white !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    max-width: 900px !important;
}

[data-theme="light"] .header-area {
    border-bottom: 2px solid rgba(0,0,0,0.05) !important;
}

[data-theme="light"] .title-glow {
    background: linear-gradient(135deg, #00c6ff, #d53369) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    font-weight: 900 !important;
}

[data-theme="light"] .clear-btn {
    background: white !important;
    color: #d53369 !important;
    border: 2px solid #d53369 !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(213, 51, 105, 0.2) !important;
}

    [data-theme="light"] .clear-btn:hover {
        background: #d53369 !important;
        color: white !important;
    }

[data-theme="light"] .delete-all-btn {
    color: #ff4757 !important;
    border-color: #ff4757 !important;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2) !important;
}

    [data-theme="light"] .delete-all-btn:hover {
        background: #ff4757 !important;
        color: white !important;
    }

[data-theme="light"] .notif-item {
    background: white !important;
    border: 1px solid #eee !important;
    border-left: 5px solid #ddd !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
    border-radius: 12px !important;
    color: #333 !important;
}

    [data-theme="light"] .notif-item:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
        background: #fafafa !important;
    }

    [data-theme="light"] .notif-item.unread {
        border-left-color: #0072ff !important;
        background: linear-gradient(90deg, rgba(0, 114, 255, 0.05), white) !important;
    }

    [data-theme="light"] .notif-item.warning-item {
        border-left-color: #ff4757 !important;
        background: linear-gradient(90deg, rgba(255, 71, 87, 0.05), white) !important;
    }

[data-theme="light"] .notif-message {
    color: #333 !important;
}

[data-theme="light"] .notif-time,
[data-theme="light"] .notif-id {
    color: #888 !important;
    font-weight: bold !important;
}

[data-theme="light"] .empty-state {
    border: 2px dashed #ccc !important;
    color: #aaa !important;
    background: rgba(255,255,255,0.5) !important;
}

[data-theme="light"] .delete-btn {
    background: #ff4757 !important;
    border: 1px solid #ff6b81 !important;
}

    [data-theme="light"] .delete-btn:hover {
        background: #e03a49 !important;
    }

[data-theme="light"] .new-badge {
    background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3) !important;
    color: white !important;
}
