.notifications-container {
    position: fixed;
    top: 72px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: 100%;
    pointer-events: auto;
}

.notification {
    background: rgba(19, 24, 32, 0.95);
    border-radius: var(--border-radius-md, 12px);
    border: 1px solid rgba(0, 255, 136, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    opacity: 0;
    transform: translateX(280px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: all;
    position: relative;
    overflow: hidden;
    color: var(--text-primary, #e6e6e6);
    backdrop-filter: blur(10px);
}

.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(280px);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.notification-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    width: 100%;
    height: 100%;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: inherit;
    word-wrap: break-word;
}

.notification-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    padding: 0;
    color: rgba(230, 230, 230, 0.8);
    transition: all 0.2s ease;
}

.notification-close-icon {
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(0, 255, 136, 0.12);
    color: #ffffff;
}

.notification-close svg {
    width: 16px;
    height: 16px;
}

.notification-success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(19, 24, 32, 0.95));
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.18);
}

.notification-success::before {
    background: #00ff88;
}

.notification-success .notification-message {
    color: #e6fff3;
}

.notification-success .notification-close {
    color: rgba(230, 255, 243, 0.85);
}

.notification-success .notification-close:hover {
    background: rgba(0, 255, 136, 0.18);
    color: #e6fff3;
}

.notification-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(19, 24, 32, 0.95));
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.2);
}

.notification-error::before {
    background: #ef4444;
}

.notification-error .notification-message {
    color: #ffecec;
}

.notification-error .notification-close {
    color: rgba(255, 236, 236, 0.85);
}

.notification-error .notification-close:hover {
    background: rgba(239, 68, 68, 0.18);
    color: #ffecec;
}

.notification-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(19, 24, 32, 0.95));
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.notification-warning::before {
    background: #f59e0b;
}

.notification-warning .notification-message {
    color: #fff4e1;
}

.notification-warning .notification-close {
    color: rgba(255, 244, 225, 0.85);
}

.notification-warning .notification-close:hover {
    background: rgba(245, 158, 11, 0.18);
    color: #fff4e1;
}

.notification-info {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(19, 24, 32, 0.95));
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.16);
}

.notification-info::before {
    background: #00ff88;
}

.notification-info .notification-message {
    color: #e6fff3;
}

.notification-info .notification-close {
    color: rgba(230, 255, 243, 0.85);
}

.notification-info .notification-close:hover {
    background: rgba(0, 255, 136, 0.18);
    color: #e6fff3;
}

@media (max-width: 768px) {
    .notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        padding: 14px 16px;
    }

    .notification-message {
        font-size: 13px;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(400px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(400px);
    }
}