.notification-container {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 380px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.notification-container.position-top-right {
    top: 20px;
    right: 20px;
}

.notification-container.position-top-left {
    top: 20px;
    left: 20px;
}

.notification-container.position-bottom-right {
    bottom: 20px;
    right: 20px;
}

.notification-container.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.notification-container.position-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.notification {
    background: #111827;
    color: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    pointer-events: auto;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid #4F46E5;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.notification::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.notification.hide {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s ease;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.notification-icon i {
    font-size: 1.25rem;
}

.notification-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notification-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.notification-message {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.4;
    font-weight: 400;
}

.notification-action {
    margin-top: 0.6rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.notification-action:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    margin-top: 2px;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.notification-success {
    border-left-color: #10B981;
}

.notification-success .notification-icon i {
    color: #10B981;
}

.notification-error {
    border-left-color: #EF4444;
}

.notification-error .notification-icon i {
    color: #EF4444;
}

.notification-warning {
    border-left-color: #F59E0B;
}

.notification-warning .notification-icon i {
    color: #F59E0B;
}

.notification-info {
    border-left-color: #4F46E5;
}

.notification-info .notification-icon i {
    color: #6366f1;
}

@media (max-width: 768px) {
    .notification-container {
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
        transform: none;
    }

    .notification-container.position-top-right,
    .notification-container.position-top-left,
    .notification-container.position-top-center {
        top: 1rem;
    }

    .notification-container.position-bottom-right,
    .notification-container.position-bottom-left {
        bottom: 1.5rem;
    }

    .notification {
        transform: translateY(-20px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        margin: 0 auto;
        width: 100%;
        backdrop-filter: blur(16px);
    }

    .notification.show {
        transform: translateY(0);
    }
}