#notification-container {
    position: absolute;
    bottom: 5em; /* Above the tab bar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    width: 90%;
    max-width: 400px;
}

.notification-toast {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    pointer-events: all;
    animation: slideInUp 0.3s ease-out forwards;
    
    /* A neutral dark background that works with your theme */
    background-color: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(5px);

    /* Using border-left for emphasis */
    border: none;
    border-left: 5px solid var(--border-color); /* Default gray border */

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Notification Types with THEME-ALIGNED Colors --- */

/* Success: A complementary dark green that fits the sci-fi aesthetic */
.notification-toast.success {
    background-color: #1F3624;
    border-left-color: #2DA44E;
    color: #C9D1D9;
}

/* Info: Now uses your app's primary orange accent color */
.notification-toast.info {
    background-color: #180d02b4;
    border-left-color: var(--accent-color); /* Your theme's orange */
    color: #f0e6d9;
}

/* Error: Kept your original, well-suited red theme */
.notification-toast.error {
    background-color: #5d1b1b;
    border-left-color: #e15554;
    color: #f7d9d9;
}


@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


.notification-toast button.clear-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    line-height: 1;
    margin-left: 15px;
    padding: 0 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-toast button.clear-btn:hover {
    opacity: 1;
}