.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    pointer-events: all;
    cursor: pointer;
    transform: translateX(420px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(420px);
    opacity: 0;
}

.notification-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), #4A90E2, var(--secondary-color));
    color: white;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
}

.notification.success .notification-icon {
    background: linear-gradient(135deg, var(--success-color), #28C76F);
}

.notification.error .notification-icon {
    background: linear-gradient(135deg, var(--error-color), #FF6B6B);
}

.notification.warning .notification-icon {
    background: linear-gradient(135deg, #FFB800, #FFA726);
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.notification-title {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.notification-message {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notification-close {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.notification-close svg {
    width: 16px;
    height: 16px;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 0 12px;
    transition: width linear;
}

.notification.success .notification-progress {
    background: linear-gradient(135deg, var(--success-color), #28C76F);
}

.notification.error .notification-progress {
    background: linear-gradient(135deg, var(--error-color), #FF6B6B);
}

.notification.warning .notification-progress {
    background: linear-gradient(135deg, #FFB800, #FFA726);
}

@media (max-width: 768px) {
    .notification-container {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }

    .notification {
        padding: 14px 16px;
    }

    .notification-icon {
        width: 36px;
        height: 36px;
    }

    .notification-icon svg {
        width: 18px;
        height: 18px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-message {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .notification-container {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .notification {
        padding: 12px 14px;
        gap: 10px;
    }

    .notification-icon {
        width: 32px;
        height: 32px;
    }

    .notification-icon svg {
        width: 16px;
        height: 16px;
    }

    .notification-close {
        width: 20px;
        height: 20px;
    }

    .notification-close svg {
        width: 14px;
        height: 14px;
    }
}

